* Looking for information on xen bus
@ 2007-12-17 22:25 Parag Chakraborty
2007-12-18 0:14 ` Andy Grover
0 siblings, 1 reply; 3+ messages in thread
From: Parag Chakraborty @ 2007-12-17 22:25 UTC (permalink / raw)
To: xen-devel
[-- Attachment #1.1: Type: text/plain, Size: 524 bytes --]
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
[-- Attachment #1.2: Type: text/html, Size: 2518 bytes --]
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Looking for information on xen bus
2007-12-17 22:25 Looking for information on xen bus Parag Chakraborty
@ 2007-12-18 0:14 ` Andy Grover
2008-01-04 18:26 ` Mark Williamson
0 siblings, 1 reply; 3+ messages in thread
From: Andy Grover @ 2007-12-18 0:14 UTC (permalink / raw)
To: Parag Chakraborty; +Cc: xen-devel
On Mon, 2007-12-17 at 14:25 -0800, Parag Chakraborty wrote:
> 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.
> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Looking for information on xen bus
2007-12-18 0:14 ` Andy Grover
@ 2008-01-04 18:26 ` Mark Williamson
0 siblings, 0 replies; 3+ messages in thread
From: Mark Williamson @ 2008-01-04 18:26 UTC (permalink / raw)
To: xen-devel; +Cc: Andy Grover, Parag Chakraborty
> On Mon, 2007-12-17 at 14:25 -0800, Parag Chakraborty wrote:
> > 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.
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
> > 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
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
--
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!
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-01-04 18:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-17 22:25 Looking for information on xen bus Parag Chakraborty
2007-12-18 0:14 ` Andy Grover
2008-01-04 18:26 ` Mark Williamson
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.