[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] PV drivers for HVM (PAE) guests

  • To: Ky Srinivasan <ksrinivasan@xxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • 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
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcbziKqa6OZIEl97EdulKgAX8io7RQ==
  • Thread-topic: [Xen-devel] PV drivers for HVM (PAE) guests

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



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.