freebsd-nq/sys/x86
Eric Badger fdb6320d45 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).

Differential revision:	https://reviews.freebsd.org/D7172
Sponsored by:	Dell Inc.
Approved by:	kib (mentor), vangyzen (mentor)
Reviewed by:	alc
MFC after:	4 weeks
2016-07-13 19:19:18 +00:00
..
acpica Use M_NOWAIT when allocating memory for the ACPI wakeup handler. 2016-06-23 19:24:38 +00:00
bios
cpufreq Cleanup unnecessary semicolons from the kernel. 2016-04-10 23:07:00 +00:00
include Implement _ALIGN() using internal integer types. 2016-05-31 13:31:19 +00:00
iommu sys: use our roundup2/rounddown2() macros when param.h is available. 2016-04-21 19:57:40 +00:00
isa Add an EARLY_AP_STARTUP option to start APs earlier during boot. 2016-05-14 18:22:52 +00:00
pci Convert rman to use rman_res_t instead of u_long 2016-01-27 02:23:54 +00:00
x86 Add explicit detection of KVM hypervisor 2016-07-13 19:19:18 +00:00
xen xen: automatically disable MSI-X interrupt migration 2016-07-12 08:43:09 +00:00