diff options
author | Zhigang Wang <zhigang.x.wang@oracle.com> | 2011-06-21 17:48:00 +0100 |
---|---|---|
committer | Zhigang Wang <zhigang.x.wang@oracle.com> | 2011-06-21 17:48:00 +0100 |
commit | 1f2591ba3532ccc1118bf93e59fd64541c6897c3 (patch) | |
tree | 879ae35ac2871f5c853fc8b33fb6407093cbdc73 /tools/hotplug | |
parent | ef75d430425944107b943ef2394311974b336df2 (diff) | |
download | xen-1f2591ba3532ccc1118bf93e59fd64541c6897c3.tar.gz xen-1f2591ba3532ccc1118bf93e59fd64541c6897c3.tar.bz2 xen-1f2591ba3532ccc1118bf93e59fd64541c6897c3.zip |
make xendomains service save/migrate vms under /etc/xen/auto only
Currently, xendomains service will save or migrate all the running domains in
the host on stop.
Change XENDOMAINS_AUTO_ONLY=true. Then on service stop, it will only
save or migrate all VMs under XENDOMAINS_AUTO (/etc/xen/auto), but always
shutdown all the running VMs.
It's a way to cleanly shutdown all the running VMs on system reboot. If you
want to save/migrate a VM, create a link to /etc/xen/auto.
Signed-off-by: Zhigang Wang <zhigang.x.wang@oracle.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'tools/hotplug')
-rw-r--r-- | tools/hotplug/Linux/init.d/sysconfig.xendomains | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/hotplug/Linux/init.d/sysconfig.xendomains b/tools/hotplug/Linux/init.d/sysconfig.xendomains index e93b1a40b9..e590d3fd06 100644 --- a/tools/hotplug/Linux/init.d/sysconfig.xendomains +++ b/tools/hotplug/Linux/init.d/sysconfig.xendomains @@ -103,7 +103,7 @@ XENDOMAINS_RESTORE=true XENDOMAINS_AUTO=/etc/xen/auto ## Type: boolean -## Default: false +## Default: true # # If this variable is set to "true", only the domains started via config # files in XENDOMAINS_AUTO will be treated according to XENDOMAINS_SYSRQ, @@ -111,7 +111,7 @@ XENDOMAINS_AUTO=/etc/xen/auto # all running domains will be. # Note that the name matching is somewhat fuzzy. # -XENDOMAINS_AUTO_ONLY=false +XENDOMAINS_AUTO_ONLY=true ## Type: integer ## Default: 300 |