Split up the storage driver backends into loadable modules so that
binary distributions don't have to compromise on shipping the storage
driver with all backends which may pull in too many dependencies.
Peter Krempa (11):
configure: Fix configure output for RBD storage backend
tests: storagepoolxml2xml: Remove compile conditionals
tests: drivermodule: Drop unused macro arguments
driver: Split/refactor driver module loading
daemon: Refactor connection driver module loading
storage: backend: Refactor registration of the backend drivers
storage: Turn driver backends into (static) modules
storage: Turn storage backends into dynamic modules
tests: drivermodule: Make sure that all compiled storage backends can
be loaded
spec: Modularize the storage driver
news: Mention storage driver split
daemon/libvirtd.c | 136 +++++++++-------------
docs/news.xml | 10 ++
libvirt.spec.in | 185 +++++++++++++++++++++++++-----
m4/virt-storage-rbd.m4 | 2 +-
src/Makefile.am | 199 ++++++++++++++++++++++++++++++---
src/driver.c | 136 ++++++++++++++--------
src/driver.h | 6 +-
src/libvirt_driver_modules.syms | 1 +
src/storage/storage_backend.c | 151 +++++++++++++++++++------
src/storage/storage_backend.h | 5 +
src/storage/storage_backend_disk.c | 7 ++
src/storage/storage_backend_disk.h | 4 +-
src/storage/storage_backend_fs.c | 27 +++++
src/storage/storage_backend_fs.h | 11 +-
src/storage/storage_backend_gluster.c | 13 ++-
src/storage/storage_backend_gluster.h | 5 +-
src/storage/storage_backend_iscsi.c | 7 ++
src/storage/storage_backend_iscsi.h | 4 +-
src/storage/storage_backend_logical.c | 7 ++
src/storage/storage_backend_logical.h | 4 +-
src/storage/storage_backend_mpath.c | 8 ++
src/storage/storage_backend_mpath.h | 4 +-
src/storage/storage_backend_rbd.c | 7 ++
src/storage/storage_backend_rbd.h | 4 +-
src/storage/storage_backend_scsi.c | 7 ++
src/storage/storage_backend_scsi.h | 4 +-
src/storage/storage_backend_sheepdog.c | 7 ++
src/storage/storage_backend_sheepdog.h | 4 +-
src/storage/storage_backend_vstorage.c | 7 ++
src/storage/storage_backend_vstorage.h | 4 +-
src/storage/storage_backend_zfs.c | 7 ++
src/storage/storage_backend_zfs.h | 4 +-
src/storage/storage_driver.c | 19 +++-
src/storage/storage_driver.h | 1 +
tests/Makefile.am | 4 +-
tests/storagepoolxml2xmltest.c | 6 -
tests/virdrivermoduletest.c | 52 +++++----
tests/virstoragetest.c | 4 +
38 files changed, 788 insertions(+), 285 deletions(-)
--
2.11.0