Re: [PATCH v6 5/8] snapshot: Break out virDomainSnapshotObjList into its own file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
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@xxxxxxxxxx>

Jano

Attachment: signature.asc
Description: Digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux