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

Re: [Xen-users] Running scripts on domU create/shutdown?

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Running scripts on domU create/shutdown?
From: Steve Kemp <steve@xxxxxxxxxxxx>
Date: Tue, 6 Mar 2007 10:38:48 +0000
Cc: Tim Post <tim.post@xxxxxxxxxxxxxxx>
Delivery-date: Tue, 06 Mar 2007 02:38:04 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1173149154.6470.935.camel@xxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <20070305214528.GA17051@xxxxxxxxxxxx> <1173149154.6470.935.camel@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.13 (2006-08-11)
On Tue, Mar 06, 2007 at 10:45:54AM +0800, Tim Post wrote:

> Positively. For a couple of reasons :

  Cool.

> Lack of a reply by dom-0 in xx minutes indicates a problem. So see, in
> this case, you really can document and use a negative. 

  Agreed.

>  I'd be likely to use the patch even if it was rejected.

  Attached to this mail.

  Two quick comments - I'm not sure if "run-parts" is available
 in non-Debian distributions, so if it isn't that needs to be
 replaced with a simple glob and execute loop, probably in 
 xen-script-common.sh.
  Secondly vif-common.sh really isn't the best place to put
 the code since it isn't really related to vifs - it was just
 a convenient place to hang the test, since it is included in
 vif-bridge, vif-nat, and vif-route.

Steve
-- 
http://www.steve.org.uk/

Attachment: vif-common.diff
Description: Text Data

Attachment: signature.asc
Description: Digital signature

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