Peter rightly complained that my attempt to leave a todo in
virdomainmomentobjlist.c about not being polymorphic enough gives no
incentive to get it fixed later once incremental backups are in, so
instead fix it now. My v9 backup patches will be changed similarly to
the changes to snapshot shown here.
Eric Blake (4):
snapshot: s/parent/parent_name/ as prep for virObject
snapshot: s/current/parent/ as prep for virObject
snapshot: Add virDomainSnapshotDefNew
snapshot: Make virDomainSnapshotDef a virObject
src/conf/moment_conf.h | 7 +-
src/conf/snapshot_conf.h | 4 +-
cfg.mk | 2 -
src/conf/moment_conf.c | 30 ++++-
src/conf/snapshot_conf.c | 164 ++++++++++++++++------------
src/conf/virdomainmomentobjlist.c | 7 +-
src/conf/virdomainsnapshotobjlist.c | 2 +-
src/esx/esx_driver.c | 19 ++--
src/libvirt_private.syms | 2 +-
src/qemu/qemu_domain.c | 10 +-
src/qemu/qemu_driver.c | 29 +++--
src/test/test_driver.c | 25 ++---
src/vbox/vbox_common.c | 95 ++++++++--------
src/vz/vz_driver.c | 5 +-
src/vz/vz_sdk.c | 10 +-
tests/domainsnapshotxml2xmltest.c | 3 +-
16 files changed, 230 insertions(+), 184 deletions(-)
--
2.20.1