Hi Folks, Is there any documentation about xenbus/xenstore, their architecture and how they work? One particular thing that I am interested in is: how does writing to xenstore using xstransact.Write function trigger the creation of a device as commented in <xen_root>/tools/python/xen/xend/server/DevController.py:writeDetails function? Thanks, Sanjay _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On Tue, Nov 15, 2005 at 12:21:01PM -0500, sanjay kumar wrote:> Hi Folks, > Is there any documentation about xenbus/xenstore, their architecture and > how they work? > One particular thing that I am interested in is: > how does writing to xenstore using xstransact.Write function trigger the > creation of a device as commented in > <xen_root>/tools/python/xen/xend/server/DevController.py:writeDetails > function?I sent out a little bit of documentation yesterday. It''s attached. Basically, you have a device driver running in domain 0 and the guest and these drivers register watches on the appropriate nodes in the store (see xenbus_probe.c:xenbus_probe). When this watch fires, the driver iterates over all the entries in the store (xenbus_probe.c:dev_changed) and if any new devices are found, the appropriate device_register and device_create_file calls are made (xenbus_probe.c:xenbus_probe_node). Ewan. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Hi, 1) You might find some answers in my XenIntro Wiki Page http://wiki.xensource.com/xenwiki/XenIntro 2) Anthony Liguori wrote a XenStore Reference wiki page in: http://wiki.xensource.com/xenwiki/XenStoreReference Regards, Rami Rosen On 11/15/05, sanjay kumar <sanjay.kushwaha@gmail.com> wrote:> > Hi Folks, > Is there any documentation about xenbus/xenstore, their architecture and > how they work? > One particular thing that I am interested in is: > how does writing to xenstore using xstransact.Write function trigger the > creation of a device as commented in > <xen_root>/tools/python/xen/xend/server/DevController.py:writeDetails > function? > > Thanks, > Sanjay > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel > > >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel