From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo Tosatti Subject: Re: [PATCHv2 0/6] more VMX real mode emulation fixes Date: Thu, 3 Jan 2013 10:53:51 -0200 Message-ID: <20130103125351.GA26580@amt.cnet> References: <1356015467-32607-1-git-send-email-gleb@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvm@vger.kernel.org To: Gleb Natapov Return-path: Received: from mx1.redhat.com ([209.132.183.28]:41930 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753035Ab3ACPN6 (ORCPT ); Thu, 3 Jan 2013 10:13:58 -0500 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r03FDw7J002971 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 3 Jan 2013 10:13:58 -0500 Content-Disposition: inline In-Reply-To: <1356015467-32607-1-git-send-email-gleb@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Thu, Dec 20, 2012 at 04:57:41PM +0200, Gleb Natapov wrote: > This series goes on top of my previous one: "Fix > emulate_invalid_guest_state=0 part 2". It does not only fixes bugs, > but also does a nice cleanup of VMX real mode emulation. All real mode > segment register mangling is now contained in fix_rmode_seg() function. > > Changelog: > v1 -> v2: > - emulate_invalid_guest_state=0 broke again. Fix it. > - additional patch to handle IO during emulation caused by #GP > > Gleb Natapov (6): > KVM: emulator: drop RPL check from linearize() function > KVM: emulator: implement fninit, fnstsw, fnstcw > KVM: VMX: make rmode_segment_valid() more strict. > KVM: VMX: fix emulation of invalid guest state. > KVM: VMX: Do not fix segment register during vcpu initialization. > KVM: VMX: handle IO when emulation is due to #GP in real mode. > > arch/x86/kvm/emulate.c | 133 +++++++++++++++++++++++++++-- > arch/x86/kvm/vmx.c | 219 +++++++++++++++++++++++++----------------------- > 2 files changed, 241 insertions(+), 111 deletions(-) > > -- > 1.7.10.4 Applied, thanks.