[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Grant tables



Carlo Bertoldi, le Fri 04 Apr 2008 18:56:06 +0200, a écrit :
> 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?

To my knowledge, there is no user interface for that yet, you need to do
it from the Linux kernel.

Samuel

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.