]> git.ipfire.org Git - thirdparty/libvirt.git/commit
snapshot: Switch type of virDomainSnapshotObj.def
authorEric Blake <eblake@redhat.com>
Fri, 22 Mar 2019 04:44:33 +0000 (23:44 -0500)
committerEric Blake <eblake@redhat.com>
Fri, 22 Mar 2019 06:18:34 +0000 (01:18 -0500)
commit1ab05da2288158b6d521b30251ea7863b93761e2
tree4dbd591cff029a3fe43fbb0586e823405fdb500a
parentffc0fbebe2e4651c70eeb7a472ea64abe9327e90
snapshot: Switch type of virDomainSnapshotObj.def

Another step towards making the object list reusable for both
snapshots and checkpoints: the list code only ever needs items that
are in the common virDomainMomentDef base type. This undoes a lot of
the churn in accessing common members added in the previous patch, and
the bulk of the patch is mechanical. But there was one spot where I
had to unroll a VIR_STEAL_PTR to work around changed types.

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
src/conf/snapshot_conf.c
src/conf/virdomainsnapshotobj.c
src/conf/virdomainsnapshotobj.h
src/conf/virdomainsnapshotobjlist.c
src/conf/virdomainsnapshotobjlist.h
src/qemu/qemu_command.c
src/qemu/qemu_domain.c
src/qemu/qemu_driver.c
src/test/test_driver.c