From: Keir Fraser Subject: Re: PV drivers for HVM (PAE) guests Date: Thu, 19 Oct 2006 15:12:53 +0100 Message-ID: References: <45374DD2.E57C.0030.0@novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <45374DD2.E57C.0030.0@novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ky Srinivasan , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 19/10/06 15:06, "Ky Srinivasan" 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