]> git.ipfire.org Git - thirdparty/libvirt.git/commit
remote: in per-driver daemons ensure that state initialize succeeds
authorDaniel P. Berrangé <berrange@redhat.com>
Tue, 23 Jul 2019 12:05:18 +0000 (13:05 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Fri, 9 Aug 2019 13:06:31 +0000 (14:06 +0100)
commit4ce29411fcbdf653a67b194307f213a828eec05c
tree870f507b4c6bba6853dba5c765f9330080b163b3
parent808b0d2d94711329afad39ce441f625c3be9c60b
remote: in per-driver daemons ensure that state initialize succeeds

When running in libvirtd, we are happy for any of the drivers to simply
skip their initialization in virStateInitialize, as other drivers are
still potentially useful.

When running in per-driver daemons though, we want the daemon to abort
startup if the driver cannot initialize itself, as the daemon will be
useless without it.

Reviewed-by: Andrea Bolognani <abologna@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
18 files changed:
src/bhyve/bhyve_driver.c
src/driver-state.h
src/interface/interface_backend_netcf.c
src/interface/interface_backend_udev.c
src/libvirt.c
src/libvirt_internal.h
src/libxl/libxl_driver.c
src/lxc/lxc_driver.c
src/network/bridge_driver.c
src/node_device/node_device_hal.c
src/node_device/node_device_udev.c
src/nwfilter/nwfilter_driver.c
src/qemu/qemu_driver.c
src/remote/remote_daemon.c
src/remote/remote_driver.c
src/secret/secret_driver.c
src/storage/storage_driver.c
src/vz/vz_driver.c