]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Don't autostart domains when reloading config
authorDaniel P. Berrange <berrange@redhat.com>
Fri, 13 Jul 2012 11:49:55 +0000 (12:49 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Thu, 19 Jul 2012 09:18:26 +0000 (10:18 +0100)
commit95c2c19f06298a6e93849d9a5da8161460c33f43
tree1f55b7c688d54deefcc13ba1528370d81f50b2a8
parent678da4a57cd055892386d5a7d130def175e1fef0
Don't autostart domains when reloading config

When sending SIGHUP to libvirtd, it will trigger the virStateDriver
reload operation. This is intended to reload the configuration files
for guests. For unknown historical reasons this is also triggering
autostart of all guests. Autostart is generally expected to be
something that happens on OS startup. Starting VMs on SIGHUP will
violate that expectation and potentially cause dangerous scenarios
if the admin has explicitly shutdown a misbehaving VM that has
been marked as autostart

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/lxc/lxc_driver.c
src/qemu/qemu_driver.c
src/uml/uml_driver.c