Sorry for my bad english lol
1. What do KVM=off and CPU: hidden=1 stand for?
2. If KVM=off is enabled, will KVM=off leads to a downgrading of performance?
Many thankss!!
1. What do KVM=off and CPU: hidden=1 stand for?
For KVM=off, I have found some information about it from https://bbs.archlinux.org/viewtopic.php?id=162768, it says
kvm=off will hide the kvm hypervisor signature, this is required for NVIDIA cards, since its driver will refuse to work on an hypervisor and result in Code 43 on windows (unless you're using a QUADRO)
Then, for CPU: hidden=1, does it mean the CPU will be hidden from the VM? I cannot find too much information about it.
2. If KVM=off is enabled, will KVM=off leads to a downgrading of performance?
I have read some info that supports the statement:
Whole post
do you really need to add kvm=off ? that kind of kills all performance in the VM
and some info that against the statement:
You really don't want to have kvm=off, which disables hardware acceleration completely and slows everything down. Yet, this often yields in a working setup for a lot of stuff because you emulate really everything - including stuff that would normally not be there.
kvm=off don't touch kvm acceleration, just changes visibility of KVM to guests.
Oh ... you're right. My mistake.
Which of them is true/more accurate? Or the effect of KVM=off depends on different situations?
3. What does the statement CPU: host, hidden=1
means?I have read some info here: PCI passthrough via OVMF
Nvidia guest drivers prior to version 465 exhibited a similar behaviour which resulted in a generic error 43 in the card's device manager status. Systems using these older drivers therefore also need the above modification. In addition, they also require hiding the KVM CPU leaf:$ virsh edit vmname
...
<features>
...
<kvm>
<hidden state='on'/>
</kvm>
...
</features>
...
Note that the above steps do not equate 'hiding' the virtual machine from Windows or any drivers/programs running in the VM.
Also, various other issues not related to any detection mechanism referred to here can also trigger error 43.
By reading Proxmox wiki, I can know that CPU: host is about
Usually you should select for your VM a processor type which closely matches the CPU of the host system, as it means that the host CPU features (also called CPU flags ) will be available in your VMs. If you want an exact match, you can set the CPU type to host in which case the VM will have exactly the same CPU flags as your host system.
That means if I do not add "hidden=1", and "CPU=host" is the only statement,
Proxmox will still let the VM knows it is performing under a virtual environment?
But "Note that the above steps do not equate 'hiding' the virtual machine from Windows or any drivers/programs running in the VM." really makes me confuse about the meaning of "hidden" in this situation...
4. What is the difference between "KVM=off" and "hidden=1" ? Is there any relationships?Many thankss!!