From: Mohammed Gamal Subject: [PATCH 2/2] VMX: Add constant for invalid guest state exit reason Date: Mon, 24 May 2010 01:01:04 +0300 Message-ID: <1274652064-8267-2-git-send-email-m.gamal005@gmail.com> References: <1274652064-8267-1-git-send-email-m.gamal005@gmail.com> Cc: mtosatti@redhat.com, kvm@vger.kernel.org, Mohammed Gamal To: avi@redhat.com Return-path: Received: from mail-ww0-f46.google.com ([74.125.82.46]:37782 "EHLO mail-ww0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754305Ab0EWWCZ (ORCPT ); Sun, 23 May 2010 18:02:25 -0400 Received: by wwe15 with SMTP id 15so116531wwe.19 for ; Sun, 23 May 2010 15:02:23 -0700 (PDT) In-Reply-To: <1274652064-8267-1-git-send-email-m.gamal005@gmail.com> Sender: kvm-owner@vger.kernel.org List-ID: For the sake of completeness, this patch adds a symbolic constant for VMX exit reason 0x21 (invalid guest state). Signed-off-by: Mohammed Gamal --- arch/x86/include/asm/vmx.h | 1 + 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 -- 1.7.0.4