[libvirt] [PATCH 08/19] qemu: snapshot: Fold formatting of snapshot transaction into prepare func

Eric Blake eblake at redhat.com
Thu Dec 12 19:16:02 UTC 2019


On 12/12/19 11:18 AM, Peter Krempa wrote:
> qemuDomainSnapshotDiskPrepareOne is already called for each disk which
> is member of the snapshot so we don't need to iterate through the
> snapshot list again to generate members of the 'transaction' command for
> each snapshot.
> 
> Signed-off-by: Peter Krempa <pkrempa at redhat.com>
> ---
>   src/qemu/qemu_driver.c | 45 +++++++++++++++++-------------------------
>   1 file changed, 18 insertions(+), 27 deletions(-)
> 

Reviewed-by: Eric Blake <eblake at redhat.com>

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3226
Virtualization:  qemu.org | libvirt.org




More information about the libvir-list mailing list