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-tools

Re: [Xen-tools] [PATCH] Xenstore mkdir/write implicitly create directori

On Thu, Aug 25, 2005 at 01:06:26PM +1000, Rusty Russell wrote:
> On Wed, 2005-08-24 at 09:15 +0100, Christian Limpach wrote:
> > Hi Rusty!
> > 
> > >   I'm working on making the xenstore init/restart more robust.  My idea
> > > is to introduce a "--init" option which means "blow away any data in the
> > > store, we're starting fresh" for use at boot time, and a "--restart"
> > > which shuts down the old xenstored and gracefully takes over (upgrades).
> > 
> > Sounds good, although wouldn't it be just as easy (and maybe a little
> > more flexible) to implement the --init option in a seperate tool?
> 
> It's tempting, but that means exporting knowledge about the
> representation the store uses, which I'd prefer not to do.  And we
> already have the code to destroy directories, so it's not at all
> difficult.

That's why the cleanup tool should talk to xenstored to do the cleanup.

    christian


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