Skip to contentSkip to conversation

Some questions about Xenstore&Xenbus

DISCUSSION 房海峰 1 participant 1 message Nov 5, 2009

lore
Share & tools
lore

房海峰

author
#0 lore raw

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
[email protected]
http://lists.xensource.com/xen-devel