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

Re: [Xen-users] Xen 4.2.2 /etc/init.d/xendomains save and restore of domains does not work



On Tue, 2013-07-02 at 09:09 -0500, David Sutton wrote:

>   The "Don't parse JSON in shell" concept is why I tried the
> experiment of changing xendomains over to using xenstore commands
> instead; it seemed that the majority of the data needed was available
> there

You'd also want to be sure that you were only accessing keys which were
part of the over ABI and not some toolstack internal thing, i.e. by
comparing with docs/misc/xenstore-paths.markdown.

For libxl we have a policy of never requiring toolstacks to need to go
and frob with xenstore directly, instead we provide an API over the top.
I think the same should probably apply to toolstack "consumers" such as
the xendomains script.

> (the state information being the only part missing).

Right, this changes too dynamically to be in xenstore.

Ian.



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

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