[libvirt] [PATCH 11/n] conf: move common disk source functions
Peter Krempa
pkrempa at redhat.com
Mon Mar 31 08:33:08 UTC 2014
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 at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 901 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140331/027f3e43/attachment-0001.sig>
More information about the libvir-list
mailing list