All of lore.kernel.org
 help / color / mirror / Atom feed
* What's XenBus and what's its relation with XenStore
@ 2008-07-10  8:14 Tom Creck
  2008-07-10  9:19 ` Samuel Thibault
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Tom Creck @ 2008-07-10  8:14 UTC (permalink / raw)
  To: xen-devel


Hello, I'm a new comer to understanding Xen internals.

I want to know what is XenBus.
I wonder where can I find materials explaining the internal of XenBus.
Does it relate to XenStore?
-- 
View this message in context: http://www.nabble.com/What%27s-XenBus-and-what%27s-its-relation-with-XenStore-tp18377624p18377624.html
Sent from the Xen - Dev mailing list archive at Nabble.com.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: What's XenBus and what's its relation with XenStore
  2008-07-10  8:14 What's XenBus and what's its relation with XenStore Tom Creck
@ 2008-07-10  9:19 ` Samuel Thibault
  2008-07-10 16:35 ` Tej Parkash
  2008-07-11 15:09 ` Mark Williamson
  2 siblings, 0 replies; 6+ messages in thread
From: Samuel Thibault @ 2008-07-10  9:19 UTC (permalink / raw)
  To: Tom Creck; +Cc: xen-devel

Tom Creck, le Thu 10 Jul 2008 01:14:26 -0700, a écrit :
> Hello, I'm a new comer to understanding Xen internals.
> 
> I want to know what is XenBus.
> I wonder where can I find materials explaining the internal of XenBus.
> Does it relate to XenStore?

It's the protocol domains use to talk with XenStore. See the
interface.pdf doc.

Samuel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: What's XenBus and what's its relation with XenStore
  2008-07-10  8:14 What's XenBus and what's its relation with XenStore Tom Creck
  2008-07-10  9:19 ` Samuel Thibault
@ 2008-07-10 16:35 ` Tej Parkash
  2008-07-11 15:09 ` Mark Williamson
  2 siblings, 0 replies; 6+ messages in thread
From: Tej Parkash @ 2008-07-10 16:35 UTC (permalink / raw)
  To: Tom Creck; +Cc: xen-devel

[-- Attachment #1: Type: text/plain, Size: 784 bytes --]

On Thu, Jul 10, 2008 at 1:44 PM, Tom Creck <tom-xen@hotmail.com> wrote:
>
> Hello, I'm a new comer to understanding Xen internals.
>
> I want to know what is XenBus.
> I wonder where can I find materials explaining the internal of XenBus.
> Does it relate to XenStore?

yes Xen Bus is related to Xen Store from domU prespective.

attached Xen internal PDF could be useful for understanding the
internal of XEN.

HTH

thanks
TEJ


> --
> View this message in context: http://www.nabble.com/What%27s-XenBus-and-what%27s-its-relation-with-XenStore-tp18377624p18377624.html
> Sent from the Xen - Dev mailing list archive at Nabble.com.
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
>

[-- Attachment #2: xen_internal.pdf --]
[-- Type: application/pdf, Size: 2371180 bytes --]

[-- Attachment #3: 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] 6+ messages in thread

* Re: What's XenBus and what's its relation with XenStore
  2008-07-10  8:14 What's XenBus and what's its relation with XenStore Tom Creck
  2008-07-10  9:19 ` Samuel Thibault
  2008-07-10 16:35 ` Tej Parkash
@ 2008-07-11 15:09 ` Mark Williamson
  2008-07-13  5:32   ` Tej Parkash
  2 siblings, 1 reply; 6+ messages in thread
From: Mark Williamson @ 2008-07-11 15:09 UTC (permalink / raw)
  To: xen-devel; +Cc: Tom Creck

On Thursday 10 July 2008, Tom Creck wrote:
> Hello, I'm a new comer to understanding Xen internals.
>
> I want to know what is XenBus.
> I wonder where can I find materials explaining the internal of XenBus.
> Does it relate to XenStore?

Xenstore is a "registry"-like hierarchical store of domain configuration data.  
It's used to do various stuff, including negotiating connections to device 
drivers at start-up time, asking a domain to adjust its memory footprint or 
shutdown, etc.  It's not a static store of information - domains can watch 
for changes to it and respond accordingly.

Xenbus is a Linux interface to Xenstore.  This looks like a kind of "bus" to 
Linux, which can be "scanned" to reveal what virtual devices are available.  
It provides an API for paravirtualised drivers to receive notification and 
information from Xenstore and to write data back to it.

Cheers,
Mark

-- 
Push Me Pull You - Distributed SCM tool (http://www.cl.cam.ac.uk/~maw48/pmpu/)

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: What's XenBus and what's its relation with XenStore
  2008-07-11 15:09 ` Mark Williamson
@ 2008-07-13  5:32   ` Tej Parkash
  2008-07-13 17:11     ` Mark Williamson
  0 siblings, 1 reply; 6+ messages in thread
From: Tej Parkash @ 2008-07-13  5:32 UTC (permalink / raw)
  To: Mark Williamson; +Cc: xen-devel, Tom Creck

On Fri, Jul 11, 2008 at 8:39 PM, Mark Williamson
<mark.williamson@cl.cam.ac.uk> wrote:
> On Thursday 10 July 2008, Tom Creck wrote:
>> Hello, I'm a new comer to understanding Xen internals.
>>
>> I want to know what is XenBus.
>> I wonder where can I find materials explaining the internal of XenBus.
>> Does it relate to XenStore?
>
> Xenstore is a "registry"-like hierarchical store of domain configuration data.
> It's used to do various stuff, including negotiating connections to device
> drivers at start-up time, asking a domain to adjust its memory footprint or
> shutdown, etc.  It's not a static store of information - domains can watch
> for changes to it and respond accordingly.
>
> Xenbus is a Linux interface to Xenstore.  This looks like a kind of "bus" to
> Linux, which can be "scanned" to reveal what virtual devices are available.
> It provides an API for paravirtualised drivers to receive notification and
> information from Xenstore and to write data back to it.

Can we say that (XEN bus + Xenstore) is an alternative way to ( XEND +
xm ) to find the information regarding the virtulised XEN environment.


>
> Cheers,
> Mark
>
> --
> Push Me Pull You - Distributed SCM tool (http://www.cl.cam.ac.uk/~maw48/pmpu/)
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: What's XenBus and what's its relation with XenStore
  2008-07-13  5:32   ` Tej Parkash
@ 2008-07-13 17:11     ` Mark Williamson
  0 siblings, 0 replies; 6+ messages in thread
From: Mark Williamson @ 2008-07-13 17:11 UTC (permalink / raw)
  To: Tej Parkash; +Cc: xen-devel, Tom Creck

> > Xenstore is a "registry"-like hierarchical store of domain configuration
> > data. It's used to do various stuff, including negotiating connections to
> > device drivers at start-up time, asking a domain to adjust its memory
> > footprint or shutdown, etc.  It's not a static store of information -
> > domains can watch for changes to it and respond accordingly.
> >
> > Xenbus is a Linux interface to Xenstore.  This looks like a kind of "bus"
> > to Linux, which can be "scanned" to reveal what virtual devices are
> > available. It provides an API for paravirtualised drivers to receive
> > notification and information from Xenstore and to write data back to it.
>
> Can we say that (XEN bus + Xenstore) is an alternative way to ( XEND +
> xm ) to find the information regarding the virtulised XEN environment.

That's part of it.

Xenstore is the way Xend configures domains and communicates with them once 
they're running.  It's a central place for co-ordinating operations involving 
domains, getting information from them and asking them to do things.

The tools, the backend drivers in dom0 and the domUs themselves use Xenstore 
to share configuration information.

If you want to access this information, you could indeed get it out of 
Xenstore instead of using xm / xend.

There are some command-line tools (xenstore-*) which can be useful for 
exploring Xenstore yourself.  There's also a PyQt app called xsview, which 
might be useful (although I wouldn't particularly recommend editing Xenstore 
using it unless you're sure know what you're doing - or if you're using a 
test system, that is).

Cheers,
Mark

-- 
Push Me Pull You - Distributed SCM tool (http://www.cl.cam.ac.uk/~maw48/pmpu/)

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-07-13 17:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-10  8:14 What's XenBus and what's its relation with XenStore Tom Creck
2008-07-10  9:19 ` Samuel Thibault
2008-07-10 16:35 ` Tej Parkash
2008-07-11 15:09 ` Mark Williamson
2008-07-13  5:32   ` Tej Parkash
2008-07-13 17:11     ` 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.