]> git.ipfire.org Git - thirdparty/libvirt.git/commit
storage: util: Pass pool type to virStorageBackendFindGlusterPoolSources
authorPeter Krempa <pkrempa@redhat.com>
Thu, 30 Mar 2017 13:08:06 +0000 (15:08 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 4 Apr 2017 14:30:45 +0000 (16:30 +0200)
commita92160dbd5416b093c0d99991afe300b9b8572c4
tree437ed6816cbf4248b531baa6f0a73ce3179c18ba
parent609cc5a8807f321f5805ca41fc16b56637e2bc66
storage: util: Pass pool type to virStorageBackendFindGlusterPoolSources

The native gluster pool source list data differs from the data used for
attaching gluster volumes as netfs pools. Currently the only difference
was the format. Since native pools don't use it and later there will be
more differences add a more deterministic way to switch between the
types instead.
src/storage/storage_backend_fs.c
src/storage/storage_backend_gluster.c
src/storage/storage_util.c
src/storage/storage_util.h