KVM: VMX: Add constant for invalid guest state exit reason
authorMohammed Gamal <m.gamal005@gmail.com>
Sun, 23 May 2010 22:01:04 +0000 (01:01 +0300)
committerAvi Kivity <avi@redhat.com>
Sun, 1 Aug 2010 07:35:52 +0000 (10:35 +0300)
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>
arch/x86/include/asm/vmx.h

index 9e6779f..104cf86 100644 (file)
@@ -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