From: "Ky Srinivasan" Subject: Re: PV drivers for HVM (PAE) guests Date: Thu, 19 Oct 2006 08:15:08 -0600 Message-ID: <45374FEF.E57C.0030.0@novell.com> 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: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Thanks. I will send you a patch. Regards, K. Y >>> On Thu, Oct 19, 2006 at 10:12 AM, in message , Keir Fraser wrote: > > > 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