From patchwork Wed Jun 17 13:50:32 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andre Przywara X-Patchwork-Id: 30877 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n5HDlWKE005199 for ; Wed, 17 Jun 2009 13:47:33 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759891AbZFQNr2 (ORCPT ); Wed, 17 Jun 2009 09:47:28 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757704AbZFQNr2 (ORCPT ); Wed, 17 Jun 2009 09:47:28 -0400 Received: from va3ehsobe001.messaging.microsoft.com ([216.32.180.11]:57446 "EHLO VA3EHSOBE001.bigfish.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1757677AbZFQNr1 (ORCPT ); Wed, 17 Jun 2009 09:47:27 -0400 Received: from mail78-va3-R.bigfish.com (10.7.14.244) by VA3EHSOBE001.bigfish.com (10.7.40.21) with Microsoft SMTP Server id 8.1.340.0; Wed, 17 Jun 2009 13:47:26 +0000 Received: from mail78-va3 (localhost.localdomain [127.0.0.1]) by mail78-va3-R.bigfish.com (Postfix) with ESMTP id 37B5218585DF; Wed, 17 Jun 2009 13:47:27 +0000 (UTC) X-SpamScore: 1 X-BigFish: VPS1(zzzz1202hzzz32i17ch62h) X-Spam-TCS-SCL: 1:0 Received: by mail78-va3 (MessageSwitch) id 1245246445939694_18411; Wed, 17 Jun 2009 13:47:25 +0000 (UCT) Received: from ausb3extmailp02.amd.com (ausb3extmailp02.amd.com [163.181.251.22]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail78-va3.bigfish.com (Postfix) with ESMTP id B20A2164805D; Wed, 17 Jun 2009 13:47:25 +0000 (UTC) Received: from ausb3twp02.amd.com ([163.181.250.38]) by ausb3extmailp02.amd.com (Switch-3.2.7/Switch-3.2.7) with ESMTP id n5HDlLHV016175; Wed, 17 Jun 2009 08:47:24 -0500 X-WSS-ID: 0KLDYAP-02-MGD-01 Received: from sausexbh2.amd.com (SAUSEXBH2.amd.com [163.181.22.102]) by ausb3twp02.amd.com (Tumbleweed MailGate 3.5.1) with ESMTP id 2CB721234005; Wed, 17 Jun 2009 08:47:13 -0500 (CDT) Received: from SAUSEXMB3.amd.com ([163.181.22.202]) by sausexbh2.amd.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 17 Jun 2009 08:47:21 -0500 Received: from SDRSEXMB1.amd.com ([172.20.3.116]) by SAUSEXMB3.amd.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 17 Jun 2009 08:47:20 -0500 Received: from localhost.localdomain ([165.204.15.42]) by SDRSEXMB1.amd.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 17 Jun 2009 15:47:06 +0200 From: Andre Przywara To: avi@redhat.com CC: kvm@vger.kernel.org, Andre Przywara , Christoph Egger , Amit Shah Subject: [PATCH 2/6] add missing EFLAGS bit definitions Date: Wed, 17 Jun 2009 15:50:32 +0200 Message-ID: <1245246636-30760-3-git-send-email-andre.przywara@amd.com> X-Mailer: git-send-email 1.6.1.3 In-Reply-To: <1245246636-30760-1-git-send-email-andre.przywara@amd.com> References: <1245246636-30760-1-git-send-email-andre.przywara@amd.com> X-OriginalArrivalTime: 17 Jun 2009 13:47:06.0584 (UTC) FILETIME=[1A634580:01C9EF52] MIME-Version: 1.0 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org Signed-off-by: Christoph Egger Signed-off-by: Amit Shah Signed-off-by: Andre Przywara --- arch/x86/kvm/x86_emulate.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/x86/kvm/x86_emulate.c b/arch/x86/kvm/x86_emulate.c index 22c765d..e387c83 100644 --- a/arch/x86/kvm/x86_emulate.c +++ b/arch/x86/kvm/x86_emulate.c @@ -320,8 +320,11 @@ static u32 group2_table[] = { }; /* EFLAGS bit definitions. */ +#define EFLG_VM (1<<17) +#define EFLG_RF (1<<16) #define EFLG_OF (1<<11) #define EFLG_DF (1<<10) +#define EFLG_IF (1<<9) #define EFLG_SF (1<<7) #define EFLG_ZF (1<<6) #define EFLG_AF (1<<4)