Skip to contentSkip to conversation

Lifecycle Patches 5/7

RFC New Ewan Mellor 1 participant 1 message Jul 14, 2006

lore
Share & tools
lore
#0 lore raw

RFC 1/1 Lifecycle Patches 5/7

Xend lifecycle autostart examples.

 xmexample.hvm |   11 +++++++++++
 xmexample1    |   11 +++++++++++
 xmexample2    |   11 +++++++++++
 xmexample3    |   11 +++++++++++
 4 files changed, 44 insertions(+)
tools/examples/xmexample1 +11 -0
Index: xen/tools/examples/xmexample1
===================================================================
@@ -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.
 
tools/examples/xmexample2 +11 -0
Index: xen/tools/examples/xmexample2
===================================================================
@@ -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.
 
tools/examples/xmexample3 +11 -0
Index: xen/tools/examples/xmexample3
===================================================================
@@ -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.
 
tools/examples/xmexample.hvm +11 -0
Index: xen/tools/examples/xmexample.hvm
===================================================================
@@ -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

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel