From: Keir Fraser Subject: Re: grant table interface addition? Date: Fri, 31 Oct 2008 16:03:01 +0000 Message-ID: References: <490B37E3.76E4.0078.0@novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <490B37E3.76E4.0078.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: Jan Beulich Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 31/10/08 15:52, "Jan Beulich" wrote: > Looking at that code I see some other potential issue, though: > GRANT_PTE_FLAGS include PAGE_USER for x86-64, but the generated > pte is passed through adjust_guest_l1e(), so without > GNTMAP_application_map we'd get global kernel mappings. Am I wrong > here? GRANT_PTE_FLAGS should include _PAGE_GUEST_KERNEL then? > Plus I would think that GRANT_PTE_FLAGS really should include PAGE_NX. Yeah, makes sense. -- Keir