HomeFreeBSD

MFC r302783:

Description

MFC r302783:

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.

Also, fix a conditional checking if we're running in a VM which caught only
the generic VM case, but not more specific VMs (KVM, VMWare, etc.).  (Spotted
by: vangyzen).

Sponsored by:	Dell Inc.
Approved by:	vangyzen (mentor)

Details

Provenance
badgerAuthored on
Parents
rS304428: MFC r304146:
Branches
Unknown
Tags
Unknown