background image

Vol. 3C 30-29

VMX INSTRUCTION REFERENCE

30.4 

VM INSTRUCTION ERROR NUMBERS

For certain error conditions, the VM-instruction error field is loaded with an error number to indicate the source of 
the error. Table 30-1 lists VM-instruction error numbers.

Table 30-1.  VM-Instruction Error Numbers

Error

Number Description
1

VMCALL executed in VMX root operation

2

VMCLEAR with invalid physical address

3

VMCLEAR with VMXON pointer

4

VMLAUNCH with non-clear VMCS

5

VMRESUME with non-launched VMCS

6

VMRESUME after VMXOFF (VMXOFF and VMXON between VMLAUNCH and VMRESUME)

a

NOTES:

a. Earlier versions of this manual described this error as “VMRESUME with a corrupted VMCS”.

7

VM entry with invalid control field(s)

b,c

b. VM-entry checks on control fields and host-state fields may be performed in any order. Thus, an indication by error number of one 

cause does not imply that there are not also other errors. Different processors may give different error numbers for the same VMCS.

c. Error number 7 is not used for VM entries that return from SMM that fail due to invalid VM-execution control fields in the executive 

VMCS. Error number 25 is used for these cases.

8

VM entry with invalid host-state field(s)

b

9

VMPTRLD with invalid physical address

10

VMPTRLD with VMXON pointer

11

VMPTRLD with incorrect VMCS revision identifier

12

VMREAD/VMWRITE from/to unsupported VMCS component

13

VMWRITE to read-only VMCS component

15

VMXON executed in VMX root operation

16

VM entry with invalid executive-VMCS pointer

b

17

VM entry with non-launched executive VMCS

b

18

VM entry with executive-VMCS pointer not VMXON pointer (when attempting to deactivate the dual-monitor treatment of 

SMIs and SMM)

b

19

VMCALL with non-clear VMCS (when attempting to activate the dual-monitor treatment of SMIs and SMM)

20

VMCALL with invalid VM-exit control fields

22

VMCALL with incorrect MSEG revision identifier (when attempting to activate the dual-monitor treatment of SMIs and SMM)

23

VMXOFF under dual-monitor treatment of SMIs and SMM

24

VMCALL with invalid SMM-monitor features (when attempting to activate the dual-monitor treatment of SMIs and SMM)

25

VM entry with invalid VM-execution control fields in executive VMCS (when attempting to return from SMM)

b,c

26

VM entry with events blocked by MOV SS.

28

Invalid operand to INVEPT/INVVPID.