[libvirt] [PATCH v8 10/21] conf: Add parameter to virDomainDiskSourceFormat

Peter Krempa pkrempa at redhat.com
Thu Apr 25 12:46:48 UTC 2019


On Wed, Apr 17, 2019 at 09:09:10 -0500, Eric Blake wrote:
> Commits 4bc42986 and 218c81ea removed virDomainStorageSourceFormat on
> the grounds that there were no external callers; however, the upcoming
> backup code wants to output a <target> (push mode) or <scratch> (pull
> mode) element that is in all other respects identical to a domain's
> <source> element, where the previous virDomainStorageSourceFormat fit
> the bill nicely. But rather than reverting the commits, it's easier to
> just add an additional parameter for the element name to use, and
> update all callers.
> 
> Signed-off-by: Eric Blake <eblake at redhat.com>
> ---
>  src/conf/domain_conf.h   |  1 +
>  src/conf/domain_conf.c   | 14 +++++++++-----
>  src/conf/snapshot_conf.c |  3 ++-
>  src/qemu/qemu_domain.c   |  2 +-
>  tests/qemublocktest.c    |  3 ++-
>  tests/virstoragetest.c   |  2 +-
>  6 files changed, 16 insertions(+), 9 deletions(-)

ACK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20190425/88abd866/attachment-0001.sig>


More information about the libvir-list mailing list