From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gleb Natapov Subject: [PATCH 0/7] Fix emulate_invalid_guest_state=0 part 2 Date: Wed, 12 Dec 2012 19:10:48 +0200 Message-ID: <1355332255-26612-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]:56193 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754245Ab2LLRLD (ORCPT ); Wed, 12 Dec 2012 12:11:03 -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.14.4/8.14.4) with ESMTP id qBCHB3Hn028096 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 12 Dec 2012 12:11:03 -0500 Sender: kvm-owner@vger.kernel.org List-ID: emulate_invalid_guest_state=0 still does not work since last patch of my previous series was not applied. It causes kvm to emulate code that previously kvm managed to run in vm86 and this, in turn, causes emulation errors for instructions kvm does not know how to emulate. Patch 2 of the series should fix that. Patch 3 is exactly same as 4/4 from previous series. Other patches are clean-ups. Gleb Natapov (7): KVM: VMX: cleanup rmode_segment_valid() KVM: VMX: relax check for CS register in rmode_segment_valid() KVM: VMX: return correct segment limit and flags for CS/SS registers in real mode KVM: VMX: use fix_rmode_seg() to fix all code/data segments KVM: VMX: remove redundant code from vmx_set_segment() KVM: VMX: clean-up vmx_set_segment() KVM: VMX: remove unneeded temporary variable from vmx_set_segment() arch/x86/kvm/vmx.c | 73 ++++++++++++++-------------------------------------- 1 file changed, 19 insertions(+), 54 deletions(-) -- 1.7.10.4