From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo Tosatti Subject: Re: [PATCH 0/2] Fix vmx real-mode state leakage Date: Fri, 7 Jan 2011 07:47:08 -0200 Message-ID: <20110107094708.GA9354@amt.cnet> References: <1294057732-11364-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]:24606 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754553Ab1AGJs0 (ORCPT ); Fri, 7 Jan 2011 04:48:26 -0500 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id p079mPU5024517 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 7 Jan 2011 04:48:26 -0500 Content-Disposition: inline In-Reply-To: <1294057732-11364-1-git-send-email-avi@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Mon, Jan 03, 2011 at 02:28:50PM +0200, Avi Kivity wrote: > When emulating real mode, we fake some segment state to conform with vm86 > mode. Unfortunately, we allow the guest to see this fake state if we live > migrate when this state is in effect. This patchset corrects the problem. > > Avi Kivity (2): > KVM: VMX: Save and restore tr selector across mode switches > KVM: VMX: Avoid leaking fake realmode state to userspace > > arch/x86/kvm/vmx.c | 45 ++++++++++++++++++++++++++++++++++++++------- > 1 files changed, 38 insertions(+), 7 deletions(-) Applied, thanks.