Intel 64 and IA-32 Architectures Software Developers Manual Volume 3B, System Programming Guide Part 2

Table Of Contents
20-26 Vol. 3
VIRTUAL-MACHINE CONTROL STRUCTURES
SGDT; SIDT; SLDT; STR; VMCLEAR; VMPTRLD; VMPTRST; VMREAD; VMWRITE;
VMXON; control-register accesses; MOV DR; I/O instructions; and MWAIT. The
format of the field depends on the cause of the VM exit. See Section 23.2.1 for
details.
Guest-linear address (64 bits; 32 bits on processors that do not support
Intel 64 architecture). This field is used in the following cases:
VM exits due to attempts to execute LMSW with a memory operand.
VM exits due to attempts to execute INS or OUTS.
VM exits due to system-management interrupts (SMIs) that arrive
immediately after retirement of I/O instructions.
Certain VM exits due to EPT violations
See Section 23.2.1 and Section 25.15.2.3 for details of when and how this field is
used.
Guest-physical address (64 bits). This field is used VM exits due to EPT
violations and EPT misconfigurations. See Section 23.2.1 for details of when and
how this field is used.
20.9.2 Information for VM Exits Due to Vectored Events
Event-specific information is provided for VM exits due to the following vectored
events: exceptions (including those generated by the instructions INT3, INTO,
BOUND, and UD2); external interrupts that occur while the “acknowledge interrupt
on exit” VM-exit control is 1; and non-maskable interrupts (NMIs). This information
is provided in the following fields:
VM-exit interruption information (32 bits). This field receives basic
information associated with the event causing the VM exit. Table 20-14 describes
this field.
Table 20-14. Format of the VM-Exit Interruption-Information Field
Bit Position(s) Content
7:0 Vector of interrupt or exception
10:8 Interruption type:
0: External interrupt
1: Not used
2: Non-maskable interrupt (NMI)
3: Hardware exception
4–5: Not used
6: Software exception
7: Not used
11 Error code valid (0 = invalid; 1 = valid)
12 NMI unblocking due to IRET