From: Keir Fraser Subject: Re: grant table interface addition? Date: Fri, 31 Oct 2008 16:17:18 +0000 Message-ID: References: <490B3CAC.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: <490B3CAC.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 16:13, "Jan Beulich" wrote: >> GRANT_PTE_FLAGS should include _PAGE_GUEST_KERNEL then? > > No, it should uniformly include neither _PAGE_USER nor _PAGE_GUEST_KERNEL. > _PAGE_USER gets set when GNTMAP_application_map is specified, and > based on this setting of _PAGE_USER, adjust_guest_l1e() will set either > _PAGE_GUEST_KERNEL or _PAGE_GLOBAL. The grant code doesn't use adjust_l1e() though. -- Keir