Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757214AbXIQIru (ORCPT ); Mon, 17 Sep 2007 04:47:50 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754409AbXIQIdJ (ORCPT ); Mon, 17 Sep 2007 04:33:09 -0400 Received: from il.qumranet.com ([82.166.9.18]:45264 "EHLO il.qumranet.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754290AbXIQIcc (ORCPT ); Mon, 17 Sep 2007 04:32:32 -0400 From: Avi Kivity To: kvm-devel@lists.sourceforge.net Cc: linux-kernel@vger.kernel.org, Izik Eidus Subject: [PATCH 060/104] KVM: VMX: allow rmode_tss_base() to work with >2G of guest memory Date: Mon, 17 Sep 2007 10:31:42 +0200 Message-Id: <11900179481990-git-send-email-avi@qumranet.com> X-Mailer: git-send-email 1.5.3 In-Reply-To: <11900179463203-git-send-email-avi@qumranet.com> References: <11900179463203-git-send-email-avi@qumranet.com> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 916 Lines: 29 From: Izik Eidus Signed-off-by: Izik Eidus Signed-off-by: Avi Kivity --- drivers/kvm/vmx.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/kvm/vmx.c b/drivers/kvm/vmx.c index cd999c0..b400668 100644 --- a/drivers/kvm/vmx.c +++ b/drivers/kvm/vmx.c @@ -1030,7 +1030,7 @@ static void enter_pmode(struct kvm_vcpu *vcpu) vmcs_write32(GUEST_CS_AR_BYTES, 0x9b); } -static int rmode_tss_base(struct kvm* kvm) +static gva_t rmode_tss_base(struct kvm* kvm) { gfn_t base_gfn = kvm->memslots[0].base_gfn + kvm->memslots[0].npages - 3; return base_gfn << PAGE_SHIFT; -- 1.5.3 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/