From: Avi Kivity Subject: [PATCH 00/14] More instruction emulations Date: Sun, 22 Aug 2010 15:18:12 +0300 Message-ID: <1282479506-3740-1-git-send-email-avi@redhat.com> To: Marcelo Tosatti , kvm@vger.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:62025 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752137Ab0HVMS2 (ORCPT ); Sun, 22 Aug 2010 08:18:28 -0400 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o7MCISpK022220 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sun, 22 Aug 2010 08:18:28 -0400 Received: from cleopatra.tlv.redhat.com (cleopatra.tlv.redhat.com [10.35.255.11]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o7MCIRtF027654 for ; Sun, 22 Aug 2010 08:18:27 -0400 Sender: kvm-owner@vger.kernel.org List-ID: Add a bunch of instructions to the emulator. These are sufficient to make the BIOS boot. Avi Kivity (14): KVM: x86 emulator: pass destination type to ____emulate_2op() KVM: x86 emulator: Use a register for ____emulate_2op() destination KVM: x86 emulator: implement DAS (opcode 2F) KVM: x86 emulator: implement CALL FAR (FF /3) KVM: x86 emulator: add SrcImmU16 operand type KVM: x86 emulator: implement RET imm16 (opcode C2) KVM: x86 emulator: implement IMUL REG, R/M, imm8 (opcode 6B) KVM: x86 emulator: implement IMUL REG, R/M (opcode 0F AF) KVM: x86 emulator: remove SrcImplicit KVM: x86 emulator: implement RDTSC (opcode 0F 31) KVM: x86 emulator: consolidate immediate decode into a function KVM: x86 emulator: add Src2Imm decoding KVM: x86 emulator: implement IMUL REG, R/M, IMM (opcode 69) KVM: x86 emulator: implement CWD (opcode 99) arch/x86/kvm/emulate.c | 277 ++++++++++++++++++++++++++++++++++++++---------- 1 files changed, 220 insertions(+), 57 deletions(-)