From patchwork Sun May 23 22:01:04 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mohammed Gamal X-Patchwork-Id: 101781 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o4NM2RYR002434 for ; Sun, 23 May 2010 22:02:28 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755352Ab0EWWCZ (ORCPT ); Sun, 23 May 2010 18:02:25 -0400 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer:in-reply-to:references; bh=tQWQnN9O1n9+HPIeqwa82L1OX1aexnHJqb7Okge6FZc=; b=w4nS+JG5eOL1YNsBsiEKuqS2h6cn0ihYSlu3QKX3TIrTf7rXZIO17Gc3Td3zX3Xjv0 KRSH4UKXYJETsjjQNeeezIS/wf9W9YOV2NH3iTYQjYTbGQMNLztmkx9eWC6cCBTAKekn IpLG2IXk/Pl0Y6s0b+w9wW4O0FG/KFjDY7Q7w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=AzQNof0ckgtwwdOUR4z/hGZMFcYdSkPoA62UQJoauMX8RKV+35QAe8RrqhQar4Cb+4 kAgnSJa9qoXIxuyv4VuTLWZzmcMuvChKLHwrZC8fc/0cEBqxfshdCDGhQ6tRhCCPQHAU 3xoA2cRgWdoEtexoO7WG2dp+HnVndDR8jAaEk= Received: by 10.227.133.65 with SMTP id e1mr4622393wbt.76.1274652143560; Sun, 23 May 2010 15:02:23 -0700 (PDT) Received: from localhost ([41.239.65.235]) by mx.google.com with ESMTPS id h22sm26543502wbh.15.2010.05.23.15.02.21 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 23 May 2010 15:02:22 -0700 (PDT) From: Mohammed Gamal To: avi@redhat.com Cc: mtosatti@redhat.com, kvm@vger.kernel.org, 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> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: <1274652064-8267-1-git-send-email-m.gamal005@gmail.com> References: <1274652064-8267-1-git-send-email-m.gamal005@gmail.com> Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Sun, 23 May 2010 22:02:28 +0000 (UTC) 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