On Fri, Mar 15, 2019 at 12:02:30AM -0500, Eric Blake wrote:
snapshot_conf.h was mixing three separate types: the snapshot
definition, the snapshot object, and the snapshot object list.
Separate out the snapshot object list code into its own file, and
update includes for affected clients.
This is just code motion, but done in preparation of sharing a lot of
the object list code with checkpoints.
Signed-off-by: Eric Blake <eblake(a)redhat.com>
---
src/conf/snapshot_conf.h | 43 ---
src/conf/virdomainsnapshotobjlist.h | 74 ++++
src/conf/Makefile.inc.am | 2 +
src/conf/domain_conf.c | 1 +
src/conf/snapshot_conf.c | 519 +-------------------------
src/conf/virdomainobjlist.c | 1 +
src/conf/virdomainsnapshotobj.c | 1 +
src/conf/virdomainsnapshotobjlist.c | 553 ++++++++++++++++++++++++++++
src/libvirt_private.syms | 27 +-
src/qemu/qemu_command.c | 1 +
src/qemu/qemu_domain.c | 1 +
src/qemu/qemu_driver.c | 1 +
src/qemu/qemu_migration.c | 1 +
src/test/test_driver.c | 1 +
14 files changed, 653 insertions(+), 573 deletions(-)
create mode 100644 src/conf/virdomainsnapshotobjlist.h
create mode 100644 src/conf/virdomainsnapshotobjlist.c
Reviewed-by: Ján Tomko <jtomko(a)redhat.com>
Jano