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

Re: [Xen-devel] What's XenBus and what's its relation with XenStore



> > Xenstore is a "registry"-like hierarchical store of domain configuration
> > data. It's used to do various stuff, including negotiating connections to
> > device drivers at start-up time, asking a domain to adjust its memory
> > footprint or shutdown, etc.  It's not a static store of information -
> > domains can watch for changes to it and respond accordingly.
> >
> > Xenbus is a Linux interface to Xenstore.  This looks like a kind of "bus"
> > to Linux, which can be "scanned" to reveal what virtual devices are
> > available. It provides an API for paravirtualised drivers to receive
> > notification and information from Xenstore and to write data back to it.
>
> Can we say that (XEN bus + Xenstore) is an alternative way to ( XEND +
> xm ) to find the information regarding the virtulised XEN environment.

That's part of it.

Xenstore is the way Xend configures domains and communicates with them once 
they're running.  It's a central place for co-ordinating operations involving 
domains, getting information from them and asking them to do things.

The tools, the backend drivers in dom0 and the domUs themselves use Xenstore 
to share configuration information.

If you want to access this information, you could indeed get it out of 
Xenstore instead of using xm / xend.

There are some command-line tools (xenstore-*) which can be useful for 
exploring Xenstore yourself.  There's also a PyQt app called xsview, which 
might be useful (although I wouldn't particularly recommend editing Xenstore 
using it unless you're sure know what you're doing - or if you're using a 
test system, that is).

Cheers,
Mark

-- 
Push Me Pull You - Distributed SCM tool (http://www.cl.cam.ac.uk/~maw48/pmpu/)

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