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

Ján Tomko jtomko at redhat.com
Fri Mar 15 13:15:58 UTC 2019


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 at 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 at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20190315/3f94b354/attachment-0001.sig>


More information about the libvir-list mailing list