From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo Tosatti Subject: Re: [PATCH 0/2] Introduce segmented addresses to the emulator Date: Thu, 18 Nov 2010 14:00:45 -0200 Message-ID: <20101118160045.GH14327@amt.cnet> References: <1289994060-15862-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]:30269 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757269Ab0KRQP4 (ORCPT ); Thu, 18 Nov 2010 11:15:56 -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.13.8/8.13.8) with ESMTP id oAIGFufm001161 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 18 Nov 2010 11:15:56 -0500 Content-Disposition: inline In-Reply-To: <1289994060-15862-1-git-send-email-avi@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Wed, Nov 17, 2010 at 01:40:58PM +0200, Avi Kivity wrote: > Currently we lose segment information associated with memory operands. This > prevents us from doing proper segment checks. > > This patchset prepares the way by remembering which segment is associated > with a memory operand. > > Avi Kivity (2): > KVM: x86 emulator: preserve an operand's segment identity > KVM: x86 emulator: do not perform address calculations on linear > addresses > > arch/x86/include/asm/kvm_emulate.h | 5 ++- > arch/x86/kvm/emulate.c | 103 ++++++++++++++++++------------------ > 2 files changed, 55 insertions(+), 53 deletions(-) Applied, thanks.