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

Re: [Xen-devel] Re: sharing memory between dom0 and domU



At 03:54 -0700 on 27 Jun (1309146866), eli wrote:
> On Mon, Jun 27, 2011 at 01:51:10AM -0700, Tim Deegan-4 [via Xen] wrote:
> > 
> > What you need is the grant-table mechanism; I believe that using the
> > gntdev code you can even do it from user-space.
> > 
> Thanks Tim. I only need this for kernel space. Does it mean that I
> don't need "gntdev" for that? Can you give a pointer to some usage
> case or just tell what APIs are involved?

If you're in linux, have a look at the blkfront and blkback drivers for
examples of how to use them.  The linux interface is in
include/xen/grant_table.h.

Tim.

-- 
Tim Deegan <Tim.Deegan@xxxxxxxxxx>
Principal Software Engineer, Xen Platform Team
Citrix Systems UK Ltd.  (Company #02937203, SL9 0BG)

_______________________________________________
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®.