From: "Jan Beulich" Subject: Re: grant table interface addition? Date: Fri, 31 Oct 2008 16:23:36 +0000 Message-ID: <490B3F18.76E4.0078.0@novell.com> References: <490B3CAC.76E4.0078.0@novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable 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 Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org >>> Keir Fraser 31.10.08 17:17 >>> >On 31/10/08 16:13, "Jan Beulich" wrote: > >>> GRANT_PTE_FLAGS should include _PAGE_GUEST_KERNEL then? >>=20 >> No, it should uniformly include neither _PAGE_USER nor _PAGE_GUEST_KERNE= L. >> _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. Both create_grant_pte_mapping() and create_grant_va_mapping() do afaics. Jan