diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2008-02-07 09:28:55 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2008-02-07 09:28:55 +0000 |
commit | e63b739dff28ed39ea67e6ef16a62aba326d35a1 (patch) | |
tree | e4e830ec2386b9f1d57ff10a460180f102a35983 /tools/examples | |
parent | c5b5f2e9ffe06cb9d967a0e7842df89e00f17818 (diff) | |
download | xen-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')
-rw-r--r-- | tools/examples/xmexample.hvm | 5 | ||||
-rw-r--r-- | tools/examples/xmexample1 | 5 | ||||
-rw-r--r-- | tools/examples/xmexample2 | 5 | ||||
-rw-r--r-- | tools/examples/xmexample3 | 5 |
4 files changed, 20 insertions, 0 deletions
diff --git a/tools/examples/xmexample.hvm b/tools/examples/xmexample.hvm index e040548186..a8153b279a 100644 --- a/tools/examples/xmexample.hvm +++ b/tools/examples/xmexample.hvm @@ -87,6 +87,11 @@ disk = [ 'file:/var/images/min-el3-i386.img,hda,w', ',hdc:cdrom,r' ] # "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' diff --git a/tools/examples/xmexample1 b/tools/examples/xmexample1 index 2fd24ab84f..a1b6edbe0c 100644 --- a/tools/examples/xmexample1 +++ b/tools/examples/xmexample1 @@ -155,6 +155,11 @@ extra = "4" # "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' diff --git a/tools/examples/xmexample2 b/tools/examples/xmexample2 index 4ccd61eec5..10eed663f7 100644 --- a/tools/examples/xmexample2 +++ b/tools/examples/xmexample2 @@ -191,6 +191,11 @@ extra = "4 VMID=%d usr=/dev/sda6" % 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' 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' |