Looking for information on xen bus
Hi,
This is my first post to the xen dev forums. I am new to the linux world and I am looking for some documentation or information on xen bus. If this is not the right mailing list, can someone point me to the right one?
I am trying to build something that needs a communication channel between 2 domU partitions.
Does xen bus support communication between domUs or does it only support communication between dom0 and domU?
Are there any windows implementation for xenbus on the domU side?
Thanks,
Parag
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Quoted 4 lines · Parag Chakraborty
I am trying to build something that needs a communication channel between 2 domU partitions.
Does xen bus support communication between domUs or does it only support communication between dom0 and domU?
Well according to my copy of "The Definitive Guide to the Xen Hypervisor", xenbus is "an informal protocol built on top of the xenstore, which provides a way of enumerating the (virtual) devices available to a given domain, and connecting to them". So it's really for setup info, not inter-dom communication.
You probably want your domUs to share pages. One of your domUs can advertise where the page it has shared is (grant ref#, domid) via xenbus and then the other domU can read xenbus to get the gref and domid, and map that page.
Quoted 1 line
Are there any windows implementation for xenbus on the domU side?
Yes, check out http://xenbits.xensource.com/ext/win-pvdrivers.hg . For the moment you'll have to compile it yourself.
Regards -- Andy
Quoted 12 lines · Parag Chakraborty
Quoted 4 lines
I am trying to build something that needs a communication channel between 2 domU partitions.
Does xen bus support communication between domUs or does it only support communication between dom0 and domU?Well according to my copy of "The Definitive Guide to the Xen Hypervisor", xenbus is "an informal protocol built on top of the xenstore, which provides a way of enumerating the (virtual) devices available to a given domain, and connecting to them". So it's really for setup info, not inter-dom communication.
Quoted 4 lines
You probably want your domUs to share pages. One of your domUs can advertise where the page it has shared is (grant ref#, domid) via xenbus and then the other domU can read xenbus to get the gref and domid, and map that page.
Earlier versions of Xen don't allow domUs to share pages directly using grant tables. I think in more recent versions of Xen this is possible, although the initial support was buggy. The code in xen-unstable / Xen 3.2 probably does this all right, I think. I'm not sure off the top of my head what the status was for previous versions.
Parag: like Andy says, XenBus is basically just a mechanism for determining what virtual devices you have got and for doing the "handshaking" required to establish shared memory and event channels. The bulk of the work of a PV virtual device is then done using this shared memory and event channels.
Xenbus is "control plane", and the shared memory and event channels are the "fast path" which handles the actual IO.
Cheers,
Mark
Quoted 12 lines
Quoted 1 line
Are there any windows implementation for xenbus on the domU side?
Yes, check out http://xenbits.xensource.com/ext/win-pvdrivers.hg . For the moment you'll have to compile it yourself.
Regards -- Andy
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Signature · 4 lines
Dave: Just a question. What use is a unicyle with no seat? And no pedals! Mark: To answer a question with a question: What use is a skateboard? Dave: Skateboards have wheels. Mark: My wheel has a wheel!