• D
    Don't autostart domains when reloading config · f81800cf
    Daniel P. Berrange 提交于
    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: NDaniel P. Berrange <berrange@redhat.com>
    (cherry picked from commit 95c2c19f)
    f81800cf
uml_driver.c 71.5 KB