]> git.ipfire.org Git - thirdparty/libvirt.git/commit
snapshot: Create new virDomainMomentObjList type
authorEric Blake <eblake@redhat.com>
Fri, 22 Mar 2019 05:39:02 +0000 (00:39 -0500)
committerEric Blake <eblake@redhat.com>
Fri, 22 Mar 2019 06:18:34 +0000 (01:18 -0500)
commitdc8d3dc6cdf85292630eb7c31ba8fb58b836fb02
treecdf560a0f0473ed24e8508298350dda50dde5474
parent5d23cd1c524727479f0c5a56a013ec72b7099bdd
snapshot: Create new virDomainMomentObjList type

The new code here very heavily resembles the code in
virDomainSnapshotObjList. There are still a couple of spots that are
tied a little too heavily to snapshots (the free function lacks a
polymorphic cleanup until we refactor code to use virObject; and an
upcoming patch will add internal VIR_DOMAIN_MOMENT_LIST flags to
replace the snapshot flag bits), but in general this is fairly close
to the state needed to add checkpoint lists.

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
src/conf/virconftypes.h
src/conf/virdomainmomentobjlist.c
src/conf/virdomainmomentobjlist.h