From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Thibault Subject: Who uses xc_gnttab_map_grant_refs? Date: Wed, 16 Jul 2008 15:40:39 +0100 Message-ID: <20080716144039.GA14133@implementation.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: 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: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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