[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] XenStore communication


  • To: "Hayawardh V" <hayawardh@xxxxxxxxx>
  • From: Tej <bewith.tej@xxxxxxxxx>
  • Date: Mon, 4 Aug 2008 14:27:56 +0530
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Mon, 04 Aug 2008 01:59:52 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=Rvr+F9Mky+if7kIICKmomLeK5gf0Aj5xR0vUehhi0rlwnrNp0yfWE/lurJ+/EPhFQX 7obB9c1nLAVCcGSWS8NjdQyKtVbuvV0jB+WcomJc6i4tOlykLCsyZoNhBIPsYwestOfN 7dKahub14GvCVUEOCvKJs/MSJxvpH7UPVFzWQ=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.