zhao bao
2011-Oct-23 09:13 UTC
[Xen-devel] question about relationship between /var/lib/xenstored/tdb and xenstore_domain_interface
Hi, when I read following link, http://wiki.xen.org/xenwiki/XenIntro , then I browsed some Xen 3.1 code. A question puzzles me. As we know "The physical xenstore resides in one file: /var/lib/xenstored/tdb. " , but drives(frontend/backend) visit Xenstore by Xenbus. The data structure manipulated by Xenbus is xenstore_domain_interface, not tdb. while tdb file is visited by Xenstored daemon. I cann''t figure out the relationship between tdb and xenstore_domain_interface. For example, if Xenbus sends a XS_DIRECTORY query message , where does the reply message come from? Thanks in advance! _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Ian Jackson
2011-Oct-25 17:48 UTC
Re: [Xen-devel] question about relationship between /var/lib/xenstored/tdb and xenstore_domain_interface
zhao bao writes ("[Xen-devel] question about relationship between /var/lib/xenstored/tdb and xenstore_domain_interface"):> Hi, when I read following link, > http://wiki.xen.org/xenwiki/XenIntro > , then I browsed some Xen 3.1 code. A question puzzles me. > As we know "The physical xenstore resides in one file: > /var/lib/xenstored/tdb. " , but drives(frontend/backend) visit > Xenstore by Xenbus. The data structure manipulated by Xenbus is > xenstore_domain_interface, not tdb. while tdb file is visited by > Xenstored daemon.Please see docs/misc/xenstore.txt xen/include/public/io/xs_wire.h tools/xenstore/ in the Xen source tree. Ian. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel