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

Re: [Xen-devel] [PATCH] add domain creation/shutdown script execution su

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] [PATCH] add domain creation/shutdown script execution support.
From: Steve Kemp <steve@xxxxxxxxxxxx>
Date: Wed, 7 Mar 2007 09:37:48 +0000
Cc: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Delivery-date: Wed, 07 Mar 2007 01:40:51 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200703070050.39420.mark.williamson@xxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20070306135628.GA14559@xxxxxxxxxxxx> <200703061539.38596.mark.williamson@xxxxxxxxxxxx> <20070306154939.GA21594@xxxxxxxxxxxx> <200703070050.39420.mark.williamson@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.13 (2006-08-11)
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