]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: storage: Modify return value of virStorageSourceNewFromBacking
authorPeter Krempa <pkrempa@redhat.com>
Thu, 15 Aug 2019 12:49:49 +0000 (14:49 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 26 Aug 2019 11:49:16 +0000 (13:49 +0200)
commit36cde667083d381eb247dcd5581e84b51d9e9fba
tree54d79fe588565391723362453b05cf4113356411
parentffabad75725f70eb35d9b7422f19122a6b5174b0
util: storage: Modify return value of virStorageSourceNewFromBacking

Return the storage source definition via a pointer in the arguments and
document the returned values. This will simplify the possibility to
ignore certain backing store types which are not representable by
libvirt.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/storage/storage_util.c
src/util/virstoragefile.c
src/util/virstoragefile.h