Xen Test Framework
x86-vmx.h
Go to the documentation of this file.
1
6#ifndef XTF_X86_X86_VMX_H
7#define XTF_X86_X86_VMX_H
8
9/* VMX Instruction Error codes. */
10#define VMERR_VMCALL_IN_ROOT 1
11#define VMERR_VMCLEAR_BAD_PADDR 2
12#define VMERR_VMCLEAR_WITH_VMXON_PTR 3
13#define VMERR_VMLAUNCH_NONCLEAR_VMCS 4
14#define VMERR_VMRESUME_NONLAUNCHED_VMCS 5
15#define VMERR_VMRESUME_AFTER_VMXOFF 6
16#define VMERR_INVALID_CONTROL_STATE 7
17#define VMERR_INVALID_HOST_STATE 8
18#define VMERR_VMPTRLD_BAD_PADDR 9
19#define VMERR_VMPTRLD_WITH_VMXON_PTR 10
20#define VMERR_VMPTRLD_BAD_REVID 11
21#define VMERR_UNSUPPORTED_VMCS_FIELD 12
22#define VMERR_VMWRITE_READONLY_FIELD 13
23/* 14 not specified. */
24#define VMERR_VMXON_IN_ROOT 15
25#define VMERR_VMENTRY_BAD_EXECUTIVE 16
26#define VMERR_VMENTRY_NONLAUNCHED_EXECUTIVE 17
27#define VMERR_VMENTRY_WITHOUT_VMXON_PTR 18
28#define VMERR_VMCALL_NONCLEAR_VMCS 19
29#define VMERR_VMCALL_BAD_CONTROL_STATE 20
30/* 21 not specified. */
31#define VMERR_VMCALL_BAD_MSEG_REVID 22
32#define VMERR_VMXOFF_UNDER_DUAL 23
33#define VMERR_VMCALL_BAD_SMM_MONITOR 24
34#define VMERR_BAD_EXECUTIVE_STATE 25
35#define VMERR_VMENTRY_MOVSS 26
36/* 27 not specified. */
37#define VMERR_BAD_INV_OPERAND 28
38
39
40/* VMCS field encodings. */
41#define VMCS_VM_INSN_ERR 0x4400
42
43#endif /* XTF_X86_X86_VMX_H */
44
45/*
46 * Local variables:
47 * mode: C
48 * c-file-style: "BSD"
49 * c-basic-offset: 4
50 * tab-width: 4
51 * indent-tabs-mode: nil
52 * End:
53 */