WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] XenStore communication

To: "Hayawardh V" <hayawardh@xxxxxxxxx>
Subject: Re: [Xen-users] XenStore communication
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=YNBgtxNBYnyOqDtXmku6UWW3ovl0z1LpyBMPJsZmQFk=; b=d89OjWT88GXuPb9wzMY9Sv3Qmd86/Frnxp+3VQPXnjgz3svKGa+3N3jRWewUj5LdkA 2fkFtyHR8AL5DL6FZd+m8CNB+mwwQUT18dejjxsG506pHun1ie0EyRZ61iyl2Fw35yK9 iNqyhuJtjifP8byIoEtQJ1dBPnZuBXUK/EYrA=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <68f1f87c0808021327s7cb00135g3f96b44cf33cd2b2@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <68f1f87c0808021327s7cb00135g3f96b44cf33cd2b2@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>