aboutsummaryrefslogtreecommitdiffstats
path: root/tools/examples/xmexample3
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2008-02-07 09:28:55 +0000
committerKeir Fraser <keir.fraser@citrix.com>2008-02-07 09:28:55 +0000
commite63b739dff28ed39ea67e6ef16a62aba326d35a1 (patch)
treee4e830ec2386b9f1d57ff10a460180f102a35983 /tools/examples/xmexample3
parentc5b5f2e9ffe06cb9d967a0e7842df89e00f17818 (diff)
downloadxen-e63b739dff28ed39ea67e6ef16a62aba326d35a1.tar.gz
xen-e63b739dff28ed39ea67e6ef16a62aba326d35a1.tar.bz2
xen-e63b739dff28ed39ea67e6ef16a62aba326d35a1.zip
Add 'coredump-destroy' and 'coredump-restart' actions for crashed domains.
Xen-API already specifies these actions for the 'on_crash' domain exit event. This patch makes them available for use in traditional domU config files and through the xm tool as well. Signed-off-by: Jim Fehlig <jfehlig@novell.com>
Diffstat (limited to 'tools/examples/xmexample3')
-rw-r--r--tools/examples/xmexample35
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/examples/xmexample3 b/tools/examples/xmexample3
index dd442d642b..dc57e031b9 100644
--- a/tools/examples/xmexample3
+++ b/tools/examples/xmexample3
@@ -177,6 +177,11 @@ extra = "4 VMID=%d" % vmid
# "rename-restart", meaning that the old domain is not cleaned up, but is
# renamed and a new domain started in its place.
#
+# In the event a domain stops due to a crash, you have the additional options:
+#
+# "coredump-destroy", meaning dump the crashed domain's core and then destroy;
+# "coredump-restart', meaning dump the crashed domain's core and the restart.
+#
# The default is
#
# on_poweroff = 'destroy'