]> git.ipfire.org Git - thirdparty/libvirt.git/commit
storage: backend: Refactor registration of the backend drivers
authorPeter Krempa <pkrempa@redhat.com>
Fri, 13 Jan 2017 15:50:11 +0000 (16:50 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 21 Feb 2017 08:34:30 +0000 (09:34 +0100)
commitf813fe810fc3f0ce839f450e662e0173d40a5ce1
treeb206dacf6a674373747be68bc38cfd7321cbc3ea
parent633b7592d68060352b2b02fd809d517f9ad0284f
storage: backend: Refactor registration of the backend drivers

Add APIs that allow to dynamically register driver backends so that the
list of available drivers does not need to be known during compile time.

This will allow us to modularize the storage driver on runtime.
26 files changed:
src/storage/storage_backend.c
src/storage/storage_backend.h
src/storage/storage_backend_disk.c
src/storage/storage_backend_disk.h
src/storage/storage_backend_fs.c
src/storage/storage_backend_fs.h
src/storage/storage_backend_gluster.c
src/storage/storage_backend_gluster.h
src/storage/storage_backend_iscsi.c
src/storage/storage_backend_iscsi.h
src/storage/storage_backend_logical.c
src/storage/storage_backend_logical.h
src/storage/storage_backend_mpath.c
src/storage/storage_backend_mpath.h
src/storage/storage_backend_rbd.c
src/storage/storage_backend_rbd.h
src/storage/storage_backend_scsi.c
src/storage/storage_backend_scsi.h
src/storage/storage_backend_sheepdog.c
src/storage/storage_backend_sheepdog.h
src/storage/storage_backend_vstorage.c
src/storage/storage_backend_vstorage.h
src/storage/storage_backend_zfs.c
src/storage/storage_backend_zfs.h
src/storage/storage_driver.c
tests/virstoragetest.c