From: Gleb Natapov Subject: [PATCH 0/5] more VMX real mode emulation fixes Date: Tue, 18 Dec 2012 15:42:43 +0200 Message-ID: <1355838168-25832-1-git-send-email-gleb@redhat.com> Cc: mtosatti@redhat.com To: kvm@vger.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:60882 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754830Ab2LRNnB (ORCPT ); Tue, 18 Dec 2012 08:43:01 -0500 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qBIDh0kK018991 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 18 Dec 2012 08:43:00 -0500 Sender: kvm-owner@vger.kernel.org List-ID: 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. Gleb Natapov (5): KVM: emulator: drop RPL check from linearize() function KVM: emulator: implement fninit, fnstsw, fnstcw KVM: VMX: make rmode_segment_valid() more strict. KVM: VMX: fixing emulation of invalid guest state. KVM: VMX: Do not fix segment register during vcpu initialization. arch/x86/kvm/emulate.c | 133 +++++++++++++++++++++++++++++++++++++++++++++--- arch/x86/kvm/vmx.c | 121 +++++++++++++++++++++---------------------- 2 files changed, 185 insertions(+), 69 deletions(-) -- 1.7.10.4