From: Ewan Mellor Subject: [RFC] [XEND] Lifecycle Patches 5/7 Date: Fri, 14 Jul 2006 15:32:45 +0100 Message-ID: <20060714143245.GI4683@leeni.uk.xensource.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="itqfrb9Qq3wY07cp" Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Xen-devel List-Id: xen-devel@lists.xenproject.org --itqfrb9Qq3wY07cp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Xend lifecycle autostart examples. xmexample.hvm | 11 +++++++++++ xmexample1 | 11 +++++++++++ xmexample2 | 11 +++++++++++ xmexample3 | 11 +++++++++++ 4 files changed, 44 insertions(+) --itqfrb9Qq3wY07cp Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=lifecycle-autostart-docs Index: xen/tools/examples/xmexample1 =================================================================== --- xen.orig/tools/examples/xmexample1 2006-05-18 23:08:26.000000000 +0100 +++ xen/tools/examples/xmexample1 2006-07-14 14:39:58.000000000 +0100 @@ -38,6 +38,17 @@ # Number of Virtual CPUS to use, default is 1 #vcpus = 1 +# --------------------------------------------------------------------------- +# Behaviour for persistent domains: +# +# Should domain be started (if not already) when Xend starts and stops. +# By default, Xend does not start or stop domains. +# autostart = 0 +# autostop = 0 + +# Action to take when xend is stopped: 'shutdown', 'suspend' +# on_xend_stop = 'shutdown' + #---------------------------------------------------------------------------- # Define network interfaces. Index: xen/tools/examples/xmexample2 =================================================================== --- xen.orig/tools/examples/xmexample2 2006-05-18 23:08:26.000000000 +0100 +++ xen/tools/examples/xmexample2 2006-07-14 14:39:58.000000000 +0100 @@ -69,6 +69,17 @@ #vcpus = 1 vcpus = 4 # make your domain a 4-way +# --------------------------------------------------------------------------- +# Behaviour for persistent domains: +# +# Should domain be started (if not already) when Xend starts and stops. +# By default, Xend does not start or stop domains. +# autostart = 0 +# autostop = 0 + +# Action to take when xend is stopped: 'shutdown', 'suspend' +# on_xend_stop = 'shutdown' + #---------------------------------------------------------------------------- # Define network interfaces. Index: xen/tools/examples/xmexample3 =================================================================== --- xen.orig/tools/examples/xmexample3 2006-05-18 23:08:26.000000000 +0100 +++ xen/tools/examples/xmexample3 2006-07-14 14:39:58.000000000 +0100 @@ -65,6 +65,17 @@ #cpus = "0-3,5,^1" # run on cpus 0,2,3,5 cpus = "%s" % vmid # set based on vmid (mod number of CPUs) +# --------------------------------------------------------------------------- +# Behaviour for persistent domains: +# +# Should domain be started (if not already) when Xend starts and stops. +# By default, Xend does not start or stop domains. +# autostart = 0 +# autostop = 0 + +# Action to take when xend is stopped: 'shutdown', 'suspend' +# on_xend_stop = 'shutdown' + #---------------------------------------------------------------------------- # Define network interfaces. Index: xen/tools/examples/xmexample.hvm =================================================================== --- xen.orig/tools/examples/xmexample.hvm 2006-07-14 14:15:26.000000000 +0100 +++ xen/tools/examples/xmexample.hvm 2006-07-14 14:39:58.000000000 +0100 @@ -34,6 +34,17 @@ # on each call to 'xm create'. #uuid = "06ed00fe-1162-4fc4-b5d8-11993ee4a8b9" +# --------------------------------------------------------------------------- +# Behaviour for persistent domains: +# +# Should domain be started (if not already) when Xend starts and stops. +# By default, Xend does not start or stop domains. +# autostart = 0 +# autostop = 0 + +# Action to take when xend is stopped: 'shutdown', 'suspend' +# on_xend_stop = 'shutdown' + #----------------------------------------------------------------------------- # the number of cpus guest platform has, default=1 #vcpus=1 --itqfrb9Qq3wY07cp Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --itqfrb9Qq3wY07cp--