WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] question about relationship between /var/lib/xenstored/tdb a

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] question about relationship between /var/lib/xenstored/tdb and xenstore_domain_interface
From: zhao bao <baozhao@xxxxxxxxx>
Date: Sun, 23 Oct 2011 17:13:41 +0800
Delivery-date: Sun, 23 Oct 2011 02:14:28 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=aVMZLFmmwD18V161WkGJ1GNFWJoxHnR0BbcKsFft2rM=; b=G7qofaMAKVvLZsG/8CrlmlMLFVKSSrowAr0IzzdRYc7nd2tk7yW2hJHwKLDo7rtKas etNkQqEwHI9rthhImGJ8NEiSDq2SywATVEQhKY2m31agdoPoA9uuP+Epp9MTVAf5ZCWo ElQAd7ckRmy4MuixacJ9d1s8CIb7EyImxHU8U=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
  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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>