From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: [PATCH 0/2] Introduce segmented addresses to the emulator Date: Wed, 17 Nov 2010 13:40:58 +0200 Message-ID: <1289994060-15862-1-git-send-email-avi@redhat.com> To: Marcelo Tosatti , kvm@vger.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:10405 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933652Ab0KQLlC (ORCPT ); Wed, 17 Nov 2010 06:41:02 -0500 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id oAHBf2xQ002522 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 17 Nov 2010 06:41:02 -0500 Received: from cleopatra.tlv.redhat.com (cleopatra.tlv.redhat.com [10.35.255.11]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id oAHBf1Yo024961 for ; Wed, 17 Nov 2010 06:41:01 -0500 Sender: kvm-owner@vger.kernel.org List-ID: 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(-) -- 1.7.3.1