On Wed, Mar 27, 2019 at 05:07:14AM -0500, Eric Blake wrote:
> Use the common base class virDomainMoment for iterator callbacks
> related to snapshots from the qemu code, so that when checkpoint
> operations are introduced, they can share the same callbacks.
> 
> Simplify the code for qemuDomainSnapshotCurrent by better utilizing
> virDomainMoment helpers.
> 
> Signed-off-by: Eric Blake <[email protected]>
> ---
>  src/qemu/qemu_domain.h | 20 +++++++++-------
>  src/qemu/qemu_domain.c | 33 +++++++++++++-------------
>  src/qemu/qemu_driver.c | 53 +++++++++++++++++++++++-------------------
>  3 files changed, 57 insertions(+), 49 deletions(-)

Reviewed-by: Daniel P. Berrangé <[email protected]>


Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|

--
libvir-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to