]> xenbits.xensource.com Git - libvirt.git/commit
driver: add option to make missing drivers a fatal problem
authorDaniel P. Berrangé <berrange@redhat.com>
Thu, 19 Apr 2018 15:50:56 +0000 (16:50 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Tue, 24 Apr 2018 16:01:48 +0000 (17:01 +0100)
commit8a062f5fe3cd4c66a6b1681b4b31803ada10cbc2
tree6c7c36e1b7297c81a01c2be7214216447812983a
parent078d168d15a14ad339a38362afcbe8f7a0eccc4f
driver: add option to make missing drivers a fatal problem

Currently the driver module loading code does not report an error if the
driver module is physically missing on disk. This is useful for distro
packaging optional pieces. When the daemons are split up into one daemon
per driver, we will expect module loading to always succeed. If a driver
is not desired, the entire daemon should not be installed.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
src/driver.c
src/driver.h
src/remote/remote_daemon.c
src/security/virt-aa-helper.c
src/storage/storage_backend.c
tests/virdrivermoduletest.c