WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] P2M Top Level Page Table

To: "Huang2, Wei" <Wei.Huang2@xxxxxxx>, Keir Fraser <keir@xxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>, Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] P2M Top Level Page Table
From: Keir Fraser <keir@xxxxxxxxxxxxx>
Date: Thu, 29 Mar 2007 18:39:41 +0100
Delivery-date: Thu, 29 Mar 2007 18:41:22 +0100
Envelope-to: Keir.Fraser@xxxxxxxxxxxx
In-reply-to: <7D748C767B7FA541A8AC5504A4C89A23015685FF@xxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcdyHBl6ROin1Ah6Tnm0i91fEIxX9gABQ2wVAAAJnUAAAftPBw==
Thread-topic: [Xen-devel] P2M Top Level Page Table
User-agent: Microsoft-Entourage/11.2.5.060620
On 29/3/07 17:46, "Huang2, Wei" <Wei.Huang2@xxxxxxx> wrote:

My question is about h_cr3 in VMCB under hap mode. It points to the top level of P2M table, which might be located in memory space beyond 4GB. It can cause problem potentially.

Sounds like you’ll need to fix it then. =)

There are several ‘lowmem pae top-level caches’ tucked away in vcpu->arch, so you could reuse one of those. Or allocate/reallocate the P2M root using alloc_domheap_pages with a limited address mask, or use xmalloc.

 -- Keir
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>