From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carlo Bertoldi Subject: Re: Grant tables Date: Fri, 04 Apr 2008 18:56:06 +0200 Message-ID: <47F65DA6.3000007@tiscali.it> References: <47F648A6.3000104@tiscali.it> <20080404153106.GK4075@implementation> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Return-path: In-Reply-To: <20080404153106.GK4075@implementation> 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 Samuel Thibault wrote, on the 04/04/2008 17.31: Thanks, for the prompt answer. > See tools/fs-back/fs-ops.c for instance (xc_gnttab* functions). > Ok, so I found this: buf = xc_gnttab_map_grant_ref(mount->gnth, mount->dom_id, req->u.fwrite.gref, PROT_READ); it's fine, except that I don't understand how to obtain the gref. IOW how can I build a grant reference from a domain? Carlo -- È molto più bello sapere qualcosa di tutto, che sapere tutto di una cosa. Blaise Pascal