Add explicit detection of KVM hypervisor
Set vm_guest to a new enum value (VM_GUEST_KVM) when kvm is detected and
use vm_guest in conditionals testing for KVM.
Differential D7172
Add explicit detection of KVM hypervisor badger on Jul 10 2016, 7:06 PM. Authored by Tags None Referenced Files
Details
Add explicit detection of KVM hypervisor Set vm_guest to a new enum value (VM_GUEST_KVM) when kvm is detected and
Diff Detail
Event TimelineComment Actions On line 797 of sys/amd64/amd64/pmap.c, we currently test vm_guest == VM_GUEST_VM. Should we test for != VM_GUEST_NO instead? That code seems to apply to all hypervisors. (Ditto for the i386 equivalent.) Comment Actions Good catch. Reading through the commit message, that certainly seems to be the intent. |