[libvirt] [PATCH 4/4] snapshot: Make virDomainSnapshotDef a virObject

Peter Krempa pkrempa at redhat.com
Thu May 9 13:14:04 UTC 2019


On Wed, May 08, 2019 at 17:24:12 -0500, Eric Blake wrote:
> This brings about a couple of benefits:
> - use of VIR_AUTOUNREF() simplifies several callers
> - Fixes a todo about virDomainMomentObjList not being polymorphic enough
> 
> Signed-off-by: Eric Blake <eblake at redhat.com>
> ---
>  src/conf/moment_conf.h            |  5 ++++-
>  src/conf/snapshot_conf.h          |  1 -
>  cfg.mk                            |  2 --
>  src/conf/moment_conf.c            | 28 ++++++++++++++++++++++++-
>  src/conf/snapshot_conf.c          | 34 ++++++++++++++++++++++---------
>  src/conf/virdomainmomentobjlist.c |  3 +--
>  src/esx/esx_driver.c              |  3 +--
>  src/libvirt_private.syms          |  1 -
>  src/qemu/qemu_driver.c            |  5 ++---
>  src/test/test_driver.c            |  5 ++---
>  src/vbox/vbox_common.c            |  6 ++----
>  src/vz/vz_driver.c                |  3 +--
>  tests/domainsnapshotxml2xmltest.c |  3 +--
>  13 files changed, 65 insertions(+), 34 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/20190509/a02d7c5d/attachment-0001.sig>


More information about the libvir-list mailing list