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

[Xen-devel] Who uses xc_gnttab_map_grant_refs?

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Who uses xc_gnttab_map_grant_refs?
From: Samuel Thibault <samuel.thibault@xxxxxxxxxxxxx>
Date: Wed, 16 Jul 2008 15:40:39 +0100
Delivery-date: Wed, 16 Jul 2008 07:41:06 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Mail-followup-to: Samuel Thibault <samuel.thibault@xxxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.12-2006-07-14
Hello,

I wanted to map several grants at a time, and I found that
xc_gnttab_map_grant_refs permits that, but it requires you to fill a
domid array with the domids of each page.  Isn't just usually the same?
Or put another way, in which case would you want to contiguously map
pages from different domains?  It looks to me like the interface puts
burden on 99% usage case for little reason...

Samuel

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