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] Some questions about Xenstore&Xenbus

To: "Keir Fraser" <keir.fraser@xxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Some questions about Xenstore&Xenbus
From: "房海峰" <fhf25@xxxxxxx>
Date: Thu, 5 Nov 2009 17:52:44 +0800
Cc:
Delivery-date: Thu, 05 Nov 2009 01:53:26 -0800
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, Keir:
 
Now i am studying the source code of Xenbus (version 3.1).
 
I found that, in "xenbus_init()", it seems the xenbus need allocate a page for xen_store_mfn in Dom0, while in DomU the value of xen_store_mfn can be obtained from "xen_store_info". So, i guess that every domain has a machine page for xenstore-ring-buffer, that is xen_store_mfn. But, i am puzzled as follows:
 
  • if xenbus is the client, is xenstored in Dom0 the server, and is xen_store_mfn the communication channel between them?
  • where can i find the allocation for xen_store_mfn?
  • is the xen_store_mfn different for per domain?
  • can i switch off the communication between xenbus and xenstored after i successfully logined into the DomainU?
 
thanks a lot!
 
Haifeng Fang
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] Some questions about Xenstore&Xenbus, 房海峰 <=