freebsd-skq/sys/amd64/vmm/io
neel 3e0732cf3e Add support for x2APIC virtualization assist in Intel VT-x.
The vlapic.ops handler 'enable_x2apic_mode' is called when the vlapic mode
is switched to x2APIC. The VT-x implementation of this handler turns off the
APIC-access virtualization and enables the x2APIC virtualization in the VMCS.

The x2APIC virtualization is done by allowing guest read access to a subset
of MSRs in the x2APIC range. In non-root operation the processor will satisfy
an 'rdmsr' access to these MSRs by reading from the virtual APIC page instead.

The guest is also given write access to TPR, EOI and SELF_IPI MSRs which
get special treatment in non-root operation. This is documented in the
Intel SDM section titled "Virtualizing MSR-Based APIC Accesses".

Enforce that APIC-write and APIC-access VM-exits are handled only if
APIC-access virtualization is enabled. The one exception to this is
SELF_IPI virtualization which may result in an APIC-write VM-exit.
2014-02-21 06:03:54 +00:00
..
iommu.c There is no need to initialize the IOMMU if no passthru devices have been 2014-01-21 03:01:34 +00:00
iommu.h Allocate memory pages for the guest from the host's free page queue. 2012-10-08 23:41:26 +00:00
ppt.c There is no need to initialize the IOMMU if no passthru devices have been 2014-01-21 03:01:34 +00:00
ppt.h There is no need to initialize the IOMMU if no passthru devices have been 2014-01-21 03:01:34 +00:00
vhpet.c Fix a bug in the HPET emulation where a timer interrupt could be lost when the 2014-01-03 19:25:52 +00:00
vhpet.h Add HPET device emulation to bhyve. 2013-11-25 19:04:51 +00:00
vioapic.c Use spinlocks to lock accesses to the vioapic. 2014-02-17 22:57:51 +00:00
vioapic.h Add support for level triggered interrupt pins on the vioapic. Prior to this 2013-11-27 22:18:08 +00:00
vlapic_priv.h Add support for x2APIC virtualization assist in Intel VT-x. 2014-02-21 06:03:54 +00:00
vlapic.c Add support for x2APIC virtualization assist in Intel VT-x. 2014-02-21 06:03:54 +00:00
vlapic.h Add support for x2APIC virtualization assist in Intel VT-x. 2014-02-21 06:03:54 +00:00