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(a)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