]> xenbits.xensource.com Git - libvirt.git/commit
util: Introduce function for allocating virStorageSource
authorPeter Krempa <pkrempa@redhat.com>
Thu, 14 Feb 2019 15:20:25 +0000 (16:20 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 18 Feb 2019 09:27:30 +0000 (10:27 +0100)
commitdcda2bf4c11071b2f9d68806a7f800d059dafaf4
treeae36004d162f2f45767a5150cc92272ef3cdfdb8
parent84966103bedae06fc1a26d1b485bf12ba7667f2e
util: Introduce function for allocating virStorageSource

Add virStorageSourceNew and refactor places allocating that structure to
use the helper.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Erik Skultety <eskultet@redhat.com>
14 files changed:
src/conf/domain_conf.c
src/conf/snapshot_conf.c
src/conf/storage_conf.c
src/libvirt_private.syms
src/qemu/qemu_domain.c
src/qemu/qemu_driver.c
src/qemu/qemu_migration.c
src/storage/storage_backend_gluster.c
src/storage/storage_backend_logical.c
src/storage/storage_util.c
src/util/virstoragefile.c
src/util/virstoragefile.h
tests/qemublocktest.c
tests/virstoragetest.c