
On 03/29/14 22:05, Eric Blake wrote:
Move some functions out of domain_conf for use in the next patch where snapshot starts to directly use structs in virstoragefile.
* src/conf/domain_conf.c (virDomainDiskDefFree) (virDomainDiskSourcePoolDefParse): Adjust callers. (virDomainDiskSourceDefClear, virDomainDiskSourcePoolDefFree) (virDomainDiskAuthClear): Move... * src/util/virstoragefile.c (virStorageSourceClear) (virStorageSourcePoolDefFree, virStorageSourceAuthClear): ...and rename. * src/conf/domain_conf.h (virDomainDiskAuthClear): Drop declaration. * src/qemu/qemu_conf.c (qemuTranslateDiskSourcePool): Adjust caller. * src/util/virstoragefile.h: Declare them. * src/libvirt_private.syms (virstoragefile.h): Export them.
Signed-off-by: Eric Blake <eblake@redhat.com> --- src/conf/domain_conf.c | 52 ++--------------------------------------------- src/conf/domain_conf.h | 1 - src/libvirt_private.syms | 4 +++- src/qemu/qemu_conf.c | 2 +- src/util/virstoragefile.c | 49 ++++++++++++++++++++++++++++++++++++++++++++ src/util/virstoragefile.h | 3 +++ 6 files changed, 58 insertions(+), 53 deletions(-)
ACK, Peter