summaryrefslogtreecommitdiffstats
path: root/sys/modules
diff options
context:
space:
mode:
authorgibbs <gibbs@FreeBSD.org>2013-10-18 23:19:27 +0000
committergibbs <gibbs@FreeBSD.org>2013-10-18 23:19:27 +0000
commitecdcee0674e19d97166a740fe724d6b340d47e28 (patch)
treef2776e9445ea4f032f2610c3d3e497f5b1288d49 /sys/modules
parent084ebbef83ad0a31d7aa6099c1eedad33eba707d (diff)
downloadFreeBSD-src-ecdcee0674e19d97166a740fe724d6b340d47e28.zip
FreeBSD-src-ecdcee0674e19d97166a740fe724d6b340d47e28.tar.gz
MFC r256425:
Centralize the detection logic for the Hyper-V hypervisor. Submitted by: Roger Pau Monné Sponsored by: Citrix Systems R&D Reviewed by: gibbs, grehan Approved by: re (gjb) sys/sys/systm.h: * Add a new VM_GUEST type, VM_GUEST_HV (HyperV guest). sys/dev/hyperv/vmbus/hv_vmbus_drv_freebsd.c: sys/dev/hyperv/vmbus/hv_hv.c: sys/dev/hyperv/stordisengage/hv_ata_pci_disengage.c: * Set vm_guest to VM_GUEST_HV and use that on other HyperV related devices instead of cloning the cpuid hypervisor check. * Cleanup the vmbus_identify function. ------------------------------------------------------------------------
Diffstat (limited to 'sys/modules')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud