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] PV drivers for HVM (PAE) guests

To: Ky Srinivasan <ksrinivasan@xxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] PV drivers for HVM (PAE) guests
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Thu, 19 Oct 2006 15:12:53 +0100
Delivery-date: Thu, 19 Oct 2006 07:13:28 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <45374DD2.E57C.0030.0@xxxxxxxxxx>
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: AcbziKqa6OZIEl97EdulKgAX8io7RQ==
Thread-topic: [Xen-devel] PV drivers for HVM (PAE) guests
User-agent: Microsoft-Entourage/11.2.5.060620


On 19/10/06 15:06, "Ky Srinivasan" <ksrinivasan@xxxxxxxxxx> wrote:

> We have a build issue when building for PAE guests - the kernel symbol
> __supported_pte_mask is not exported on any of the kernels of interest (2.6.5,
> 2.6.9, 2.6.16..) and is used in the function:  pfn_pte_ma (maddr.h) . In this
> scenario, this function is used only by the front-end drivers that are running
> within the unmodified guests.  Would it make sense to have an implementation
> of the function pfn_pte_ma() only for consumption by the PV front-end driver
> modules that does not depend on the __supported_pte_mask variable.

Sounds like the only option. I suggest a module-private version of the
pte_mask which defaults to only a limited subset of PTE flags. Optionally
you could add in _PAGE_NX if CPUID/EFER allows it.

 -- Keir



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>