WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] grant table interface addition?

To: "Keir Fraser" <keir.fraser@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] grant table interface addition?
From: "Jan Beulich" <jbeulich@xxxxxxxxxx>
Date: Fri, 31 Oct 2008 16:23:36 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 31 Oct 2008 09:23:37 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C530E00E.28A38%keir.fraser@xxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <490B3CAC.76E4.0078.0@xxxxxxxxxx> <C530E00E.28A38%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
>>> Keir Fraser <keir.fraser@xxxxxxxxxxxxx> 31.10.08 17:17 >>>
>On 31/10/08 16:13, "Jan Beulich" <jbeulich@xxxxxxxxxx> 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.

Both create_grant_pte_mapping() and create_grant_va_mapping() do
afaics.

Jan



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel