|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] XenStore communication
On 8/3/08, Hayawardh V <hayawardh@xxxxxxxxx> wrote:
> Hi,
>
> I want to know how everything communicates with XenStore.
on domU there are standard set of Xenstore API. Or we can write our
own python/c scripts to communicate with xenstore.
>
> Do domUs use the front-end/back-end driver to dom0 and then the back-end
> driver contacts xenstored?
domU uses xen bus (virtual) to communicate with xenstore. infact
during VM boot time the xenstore sharded info page gets mapped to
Guest Address Space Area, which then used by xenbus interface to get
all the information in domU.
Basic interface to the store consists of two ring buffers, one for
each direction. Requests to update the store or for information about
the current contents are placed into one ring. Responses and
asynchronous notifications of changes are inserted into the other
ring. The first ring is written to by domU guests and read from by
dom0; the other ring is written to by dom0 and read from by domU
>
> In particular, how do the xenstore-* commands work on a dom0 and domU?
> And when should unix-domain sockets be used to communicate with xenstored?
this mostly a xend stuff.
HTH
>
> Thanks,
> Hayawardh
>
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|