Download virtual-machine extensions (VMX)

Transcript
VM ENTRIES
— If the “virtualize APIC accesses” VM-execution control is 1, the bytes are
cleared.
— If the VM entry fails, the any clearing of the bytes may or may not occur. This
is true either if the failure causes control to pass to the instruction following
the VM-entry instruction or if it cause processor state to be loaded from the
host-state area of the VMCS. Behavior may be implementation-specific.
•
If the “use TPR shadow” VM-execution control is 1, bits 31:4 of the TPR threshold
VM-execution control field must be 0.
•
The following check is performed if the “use TPR shadow” VM-execution control is
1 and the “virtualize APIC accesses” VM-execution control is 0: the value of
bits 3:0 of the TPR threshold VM-execution control field should not be greater
than the value of bits 7:4 in byte 80H on the virtual-APIC page (see Section
21.6.8).
•
If the “NMI exiting” VM-execution control is 0, the “virtual NMIs” VM-execution
control must be 0.
•
If the “virtual NMIs” VM-execution control is 0, the “NMI-window exiting” VMexecution control must be 0.
•
If the “virtualize APIC-accesses” VM-execution control is 1, the APIC-access
address must satisfy the following checks:
— Bits 11:0 of the address must be 0.
— The address should not set any bits beyond the processor’s physical-address
width.1
•
If the “virtualize x2APIC mode” VM-execution control is 1, the “use TPR shadow”
VM-execution control must be 1 and the “virtualize APIC accesses” VM-execution
control must be 0.2
•
If the “enable VPID” VM-execution control is 1, the value of the VPID VMexecution control field must not be 0000H.
•
If the “enable EPT” VM-execution control is 1, the EPTP VM-execution control field
(see Table 21-8 in Section 21.6.11) must satisfy the following checks:3
5. “Virtualize APIC accesses” is a secondary processor-based VM-execution control. If bit 31 of the
primary processor-based VM-execution controls is 0, VM entry functions as if the “virtualize APIC
accesses” VM-execution control were 0. See Section 21.6.2.
1. If IA32_VMX_BASIC[48] is read as 1, this address must not set any bits in the range 63:32; see
Appendix G.1.
2. “Virtualize APIC accesses” and “virtualize x2APIC mode” are both secondary processor-based VMexecution controls. If bit 31 of the primary processor-based VM-execution controls is 0, VM entry
functions as if both these controls were 0. See Section 21.6.2.
3. “Enable EPT” is a secondary processor-based VM-execution control. If bit 31 of the primary processor-based VM-execution controls is 0, VM entry functions as if the “enable EPT” VM-execution control were 0. See Section 21.6.2.
Vol. 3B 23-5