From: Marcelo Tosatti Subject: Re: [PATCH 0/4] Vendor specific instructions and the emulator Date: Fri, 7 Jan 2011 07:49:28 -0200 Message-ID: <20110107094928.GB9354@amt.cnet> References: <1294146884-6253-1-git-send-email-avi@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvm@vger.kernel.org To: Avi Kivity Return-path: Received: from mx1.redhat.com ([209.132.183.28]:5807 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751899Ab1AGLXw (ORCPT ); Fri, 7 Jan 2011 06:23:52 -0500 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id p07BNqIS029455 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 7 Jan 2011 06:23:52 -0500 Content-Disposition: inline In-Reply-To: <1294146884-6253-1-git-send-email-avi@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Tue, Jan 04, 2011 at 03:14:40PM +0200, Avi Kivity wrote: > Currently we have some ad-hoc code in x86.c to restrict #UD emulation to > expected instructions (that is, vendor specific instructions). This patchset > replaces the ad-hoc code with proper emulator support using decode tables. > > Avi Kivity (4): > KVM: Fix x86_decode_insn() return code check > KVM: Simplify exit path on decode failure > KVM: x86 emulator: vendor specific instructions > KVM: Drop ad-hoc vendor specific instruction restriction > > arch/x86/include/asm/kvm_emulate.h | 1 + > arch/x86/kvm/emulate.c | 12 +++++++++--- > arch/x86/kvm/x86.c | 35 +++++------------------------------ > 3 files changed, 15 insertions(+), 33 deletions(-) Applied, thanks.