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

Re: [Xen-devel] xenstore documentation


  • To: rolf.neugebauer@xxxxxxxxx
  • From: NAHieu <nahieu@xxxxxxxxx>
  • Date: Wed, 5 Oct 2005 02:24:59 +0900
  • Cc: Rami Rosen <rosenrami@xxxxxxxxx>, harry <harry@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>, Jacob Gorm Hansen <jacobg@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Tue, 04 Oct 2005 17:22:32 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=lG5HGB8iUJgcTF2tyluapP8cShvNoM83eYG09e1a37ARqfJ3iQA8MyBiQV1U4MZ5dnud3ih7Eb8JyfgIv2o+BEjA2De7sNsiwcSub3JbtdSSV1A7fz8xdKVQV/hr+tfxEXpsKON6Ww4jaVx93YvKDrV5QoPj9+eKR5LtoppX/VM=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

On 10/4/05, Rolf Neugebauer <rolf.neugebauer@xxxxxxxxx> wrote:
> On Tue, 2005-10-04 at 14:25, harry wrote:
> > On Tue, 2005-10-04 at 21:55 +0900, NAHieu wrote:
> > > On 10/4/05, harry <harry@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
> > > > If you look at writeDetails in
> > > > tools/python/xen/xend/server/DevController.py you'll see the
> > > > transactions which cause the back and front ends to get probed.
> > > >
> > > > The transactions contain extra fields as provided by the derived class
> > > > specific to the device type and are written into the store in the
> > > > locations constructed in the frontendPath and backendPath functions in
> > > > DevController.py.  These paths contain the device id string as specified
> > > > when you registered your xenbus drivers.
> > > >
> > >
> > > Does that mean if I want to write a new split device, I must patch
> > > xend to let it aware of the new type of device?
> >
> > Yes.  You have to add a new class in python/xen/xend/server (see
> > blkif.py as an example) and then hook this class into xend in
> > XendDomainInfo.py and xm/create.py to get the config parameters passed
> > correctly.
>
> or no ;) depending on what you want to do. so for example if you only
> ever have one backend in the system then you "could" store that under a
> well known name in the store and the frontends can simply read that.
> you'll also need a place for the BE to watch for FE updates in a similar
> fashion.
>

Rolf, I am really suprised here: how can BE watch for FE updates? BE
and FE are in different domain, so they cannot access each other
xenstore tree. (??)

So exactly what did you mean?

Thanks.
Hieu

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

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