]> git.ipfire.org Git - thirdparty/libvirt.git/commit
storage: Turn storage backends into dynamic modules
authorPeter Krempa <pkrempa@redhat.com>
Tue, 7 Feb 2017 18:40:29 +0000 (19:40 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 22 Feb 2017 08:31:33 +0000 (09:31 +0100)
commit0a6d3e51b40cfd0628649f985975b0d2be00b8f7
tree3f1ca1fe44090d7bbb6432d13f9c969d0e35cf9a
parent4fb105f681aee6ddae994410b1bc23de29124d6c
storage: Turn storage backends into dynamic modules

If driver modules are enabled turn storage driver backends into
dynamically loadable objects. This will allow greater modularity for
binary distributions, where heavyweight dependencies as rbd and gluster
can be avoided by selecting only a subset of drivers if the rest is not
necessary.

The storage modules are installed into 'LIBDIR/libvirt/storage-backend/'
and users can override the location by using
'LIBVIRT_STORAGE_BACKEND_DIR' environment variable.

rpm based distros will at this point install all the backends when
libvirt-daemon-driver-storage package is installed.
libvirt.spec.in
src/Makefile.am
src/storage/storage_backend.c
tests/Makefile.am