summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/vmx.h
diff options
context:
space:
mode:
authorMohammed Gamal <m.gamal005@gmail.com>2010-05-24 01:01:04 +0300
committerAvi Kivity <avi@redhat.com>2010-08-01 10:35:52 +0300
commitc8174f7b35b3018c4c7b3237ed1c792e454fd5c3 (patch)
treea1157eee6d93f7a18af047f8a2d3529f64c617bb /arch/x86/include/asm/vmx.h
parent9f1a122f970dbef5ba3496587f39df5c1853083f (diff)
downloadop-kernel-dev-c8174f7b35b3018c4c7b3237ed1c792e454fd5c3.zip
op-kernel-dev-c8174f7b35b3018c4c7b3237ed1c792e454fd5c3.tar.gz
KVM: VMX: Add constant for invalid guest state exit reason
For the sake of completeness, this patch adds a symbolic constant for VMX exit reason 0x21 (invalid guest state). Signed-off-by: Mohammed Gamal <m.gamal005@gmail.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/include/asm/vmx.h')
-rw-r--r--arch/x86/include/asm/vmx.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/vmx.h b/arch/x86/include/asm/vmx.h
index 9e6779f..104cf86 100644
--- a/arch/x86/include/asm/vmx.h
+++ b/arch/x86/include/asm/vmx.h
@@ -257,6 +257,7 @@ enum vmcs_field {
#define EXIT_REASON_IO_INSTRUCTION 30
#define EXIT_REASON_MSR_READ 31
#define EXIT_REASON_MSR_WRITE 32
+#define EXIT_REASON_INVALID_STATE 33
#define EXIT_REASON_MWAIT_INSTRUCTION 36
#define EXIT_REASON_MONITOR_INSTRUCTION 39
#define EXIT_REASON_PAUSE_INSTRUCTION 40
OpenPOWER on IntegriCloud