|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] [PATCH] add domain creation/shutdown script execution su
On Wed, Mar 07, 2007 at 12:50:39AM +0000, Mark Williamson wrote:
> In fact, what I really meant was that the only reason I'm not recommending
> they go in straight away (subject to a bit of clean up) is that it would be
> nice to avoid changing the basic infrastructure in this area of the tools
> later on if we want a more general mechanism.
Understandable.
> I'm really glad you've taken the initiative on this, it has the potential to
> give us some very powerful functionality quite cheaply.
I will endeavor to find some free time over the weekend to have a
play with the xenstored code, and see if I can watch events from it.
No promises at all, but if I get anywhere I'll post an update.
Right now I can use "xenstore-ls" to get a snapshot, and I guess
I could do that every five seconds or so to be able to detect newly
created domains, and existing ones which have been shutdown.
That's not ideal, but for a first pass should let me get something working.
Downside is I'd probably have to write the daemon in python to
get it into the core, right?
> There's some information on it in the Wiki. Essentially it gives you a
> hierarchical namespace describing the state of the management tools and the
> domains running. This namespace is populated by (largely) human-readable
> name=value pairs.
Great.
> I'll continue thinking about how best to accomplish it in the meantime...
:)
> It'll be interesting to see where we can go with this...
Agreed.
Steve
--
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|