From: Avi Kivity Subject: [PATCH v2 0/3] Emulator INTn and SCAS fixes Date: Tue, 17 Aug 2010 19:44:17 +0300 Message-ID: <1282063460-20478-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]:18200 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754520Ab0HQQoW (ORCPT ); Tue, 17 Aug 2010 12:44:22 -0400 Received: from int-mx08.intmail.prod.int.phx2.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o7HGiL2v019621 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 17 Aug 2010 12:44:21 -0400 Received: from cleopatra.tlv.redhat.com (cleopatra.tlv.redhat.com [10.35.255.11]) by int-mx08.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o7HGiKDf031897 for ; Tue, 17 Aug 2010 12:44:21 -0400 Sender: kvm-owner@vger.kernel.org List-ID: The following patchset makes INTn work and implements SCAS (used by vgabios). With the patchset, vgabios is able to display its splash screen but gets confused shortly afterwards. Based on the non-atomic-injection branch. Avi Kivity (4): KVM: Initialize operand and address sizes before emulating interrupts - dropped - doesn't apply to mainline yet KVM: x86 emulator: fix INTn emulation not pushing EFLAGS and CS KVM: x86 emulator: implement SCAS (opcodes AE, AF) KVM: x86 emulator: fix REPZ/REPNZ termination condition - drop new unused variable - if ZF test succeeds, avoid following test arch/x86/kvm/emulate.c | 56 +++++++++++++++++++++++++++-------------------- 1 files changed, 32 insertions(+), 24 deletions(-)