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

Re: [Xen-devel] Block front and back connection

On Mon, Aug 08, 2011 at 11:17:52PM +0900, Daniel Castro wrote:
> Hello,
> I am trying to make my frontend block driver connect to xen block
> backend. I have the ring and gref, yet I do not know where in xenstore
> should I write the keys to tell the backend to connect to my frontend.

You can find some clues in libxl_devices.c .

The frontend path is


The backend path is


Often the BACKEND_DOMID is 0.

And looking into Linux kernel's xen-{blkfront,blkback} helps you a

Then you can switch xenbus state after proper values are in place, so
that frontend and backend can connect to each other.


Xen-devel mailing list



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