aboutsummaryrefslogtreecommitdiff
path: root/libexec/Makefile
diff options
context:
space:
mode:
authorNeel Natu <neel@FreeBSD.org>2014-02-21 06:03:54 +0000
committerNeel Natu <neel@FreeBSD.org>2014-02-21 06:03:54 +0000
commit159dd56f947fb0d05692ca13ca4fcc389fd52dca (patch)
tree90eb2ada0a24718e6467dab8de706c8e0893b543 /libexec/Makefile
parent86a5575402ddb08376142ad762127debd1f76011 (diff)
downloadsrc-159dd56f947fb0d05692ca13ca4fcc389fd52dca.tar.gz
src-159dd56f947fb0d05692ca13ca4fcc389fd52dca.zip
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.
Notes
Notes: svn path=/head/; revision=262281
Diffstat (limited to 'libexec/Makefile')
0 files changed, 0 insertions, 0 deletions