diff options
author | emellor@ewan <emellor@ewan> | 2005-09-30 13:59:28 +0100 |
---|---|---|
committer | emellor@ewan <emellor@ewan> | 2005-09-30 13:59:28 +0100 |
commit | 8a3d95851034b4e1d582380fae08e8c6f4f1192c (patch) | |
tree | 8aa6e850c6d4f065822b9c2de3e3a635ddcc6fba /tools/examples/xmexample3 | |
parent | 3ee0160603a578c49506899d4e76b4b07902757c (diff) | |
download | xen-8a3d95851034b4e1d582380fae08e8c6f4f1192c.tar.gz xen-8a3d95851034b4e1d582380fae08e8c6f4f1192c.tar.bz2 xen-8a3d95851034b4e1d582380fae08e8c6f4f1192c.zip |
Change rebooting specification so that we can have domains crash and stay
around to be debugged, for example.
Fix problem in XendDomainInfo.eventChannel caused by a mis-merge.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Diffstat (limited to 'tools/examples/xmexample3')
-rw-r--r-- | tools/examples/xmexample3 | 34 |
1 files changed, 29 insertions, 5 deletions
diff --git a/tools/examples/xmexample3 b/tools/examples/xmexample3 index 1fa80cb2e3..e0e1775589 100644 --- a/tools/examples/xmexample3 +++ b/tools/examples/xmexample3 @@ -124,11 +124,35 @@ root = "/dev/hda1 ro" extra = "4 VMID=%d" % vmid #---------------------------------------------------------------------------- -# Set according to whether you want the domain restarted when it exits. -# The default is 'onreboot', which restarts the domain when it shuts down -# with exit code reboot. -# Other values are 'always', and 'never'. +# Configure the behaviour when a domain exits. There are three 'reasons' +# for a domain to stop: poweroff, reboot, and crash. For each of these you +# may specify "destroy", meaning that the domain is cleaned up as normal, +# "restart", meaning that a new domain is started in place of the old one, or +# "preserve", meaning that no clean-up is done until the domain is manually +# destroyed (using xm destroy, for example). +# +# The default is +# +# on_poweroff = 'destroy' +# on_reboot = 'restart' +# on_crash = 'restart' +# +# For backwards compatibility we also support the deprecated option restart +# +# restart = 'onreboot' means on_poweroff = 'destroy' +# on_reboot = 'restart' +# on_crash = 'destroy' +# +# restart = 'always' means on_poweroff = 'restart' +# on_reboot = 'restart' +# on_crash = 'restart' +# +# restart = 'never' means on_poweroff = 'destroy' +# on_reboot = 'destroy' +# on_crash = 'destroy' -#restart = 'onreboot' +#on_poweroff = 'destroy' +#on_reboot = 'restart' +#on_crash = 'restart' #============================================================================ |