From patchwork Sun Apr 12 10:36:20 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gleb Natapov X-Patchwork-Id: 17795 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 n3CAaP6M003385 for ; Sun, 12 Apr 2009 10:36:25 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759358AbZDLKgX (ORCPT ); Sun, 12 Apr 2009 06:36:23 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757972AbZDLKgX (ORCPT ); Sun, 12 Apr 2009 06:36:23 -0400 Received: from mx2.redhat.com ([66.187.237.31]:44985 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759438AbZDLKgW (ORCPT ); Sun, 12 Apr 2009 06:36:22 -0400 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n3CAaLsk025017 for ; Sun, 12 Apr 2009 06:36:21 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n3CAaNLq032635; Sun, 12 Apr 2009 06:36:23 -0400 Received: from dhcp-1-237.tlv.redhat.com (dhcp-1-237.tlv.redhat.com [10.35.1.237]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n3CAaLlC025491; Sun, 12 Apr 2009 06:36:21 -0400 Received: from trex.usersys.redhat.com (localhost [127.0.0.1]) by dhcp-1-237.tlv.redhat.com (Postfix) with ESMTP id 4339218D41C; Sun, 12 Apr 2009 13:36:20 +0300 (IDT) From: Gleb Natapov Subject: [PATCH v3 02/10] Add lcall decoding. To: avi@redhat.com Cc: kvm@vger.kernel.org Date: Sun, 12 Apr 2009 13:36:20 +0300 Message-ID: <20090412103619.16966.26706.stgit@trex.usersys.redhat.com> In-Reply-To: <20090412103614.16966.89723.stgit@trex.usersys.redhat.com> References: <20090412103614.16966.89723.stgit@trex.usersys.redhat.com> User-Agent: StGIT/0.14.2 MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.58 on 172.16.27.26 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org No emulation yet. Signed-off-by: Gleb Natapov --- arch/x86/kvm/x86_emulate.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/x86/kvm/x86_emulate.c b/arch/x86/kvm/x86_emulate.c index c015063..71b4bee 100644 --- a/arch/x86/kvm/x86_emulate.c +++ b/arch/x86/kvm/x86_emulate.c @@ -154,7 +154,8 @@ static u32 opcode_table[256] = { /* 0x90 - 0x97 */ DstReg, DstReg, DstReg, DstReg, DstReg, DstReg, DstReg, DstReg, /* 0x98 - 0x9F */ - 0, 0, 0, 0, ImplicitOps | Stack, ImplicitOps | Stack, 0, 0, + 0, 0, SrcImm | Src2Imm16, 0, + ImplicitOps | Stack, ImplicitOps | Stack, 0, 0, /* 0xA0 - 0xA7 */ ByteOp | DstReg | SrcMem | Mov | MemAbs, DstReg | SrcMem | Mov | MemAbs, ByteOp | DstMem | SrcReg | Mov | MemAbs, DstMem | SrcReg | Mov | MemAbs,