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] Who uses xc_gnttab_map_grant_refs?

To: "Samuel Thibault" <samuel.thibault@xxxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] Who uses xc_gnttab_map_grant_refs?
From: "Derek Murray" <Derek.Murray@xxxxxxxxxxxx>
Date: Wed, 16 Jul 2008 15:51:18 +0100
Cc:
Delivery-date: Wed, 16 Jul 2008 07:51:55 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :sender:to:subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references :x-google-sender-auth; bh=kC95frNs0NlM6yyh6/P9DKKdLGigv7DwWk3PKuFe7cA=; b=LsGTQKHvQ3MPzbzedXK+9SexJyRlA79CgnXITkjrGd4/GA6JtHs8QVDdHODqNZ/DY6 ZW4G0IvGzv+Ja8q9MALIdnbLqVDxDufjtH/6y+O/GpL6KJ4LieFNLyYXYWhXwhdF9Uaj 7AZo17PEY4Bc5Ct1TZnjUt7BeqC3B2522zDVQ=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:sender:to:subject:in-reply-to :mime-version:content-type:content-transfer-encoding :content-disposition:references:x-google-sender-auth; b=h2Ami8BCijIxwnJZitVL7tbkrr5SZi7lROmteCoVrFcv8xeoOgwBd37uidhwMTg2tF k3wtBTopSegaS4qodmNs0Lw3JiBmqjxHToshlBUEvH3cOUdZT710nUXDdhSWQsmeEOr7 ZvQ11BvPN7fEaI64kx4NNUsE+9oGqJWZrOBmE=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20080716144039.GA14133@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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: <20080716144039.GA14133@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Reply-to: Derek.Murray@xxxxxxxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Mea culpa for that bit of API. I think this is a case where the
underlying implementation makes it possible, so I decided to make it
available through the user API. No particular reason for it, so I have
no objection to it being simplified (or wrapped by an additional API
function).

Regards,

Derek Murray.

On Wed, Jul 16, 2008 at 3:40 PM, Samuel Thibault
<samuel.thibault@xxxxxxxxxxxxx> wrote:
> 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
>

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