]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: snapshot: Fold formatting of snapshot transaction into prepare func
authorPeter Krempa <pkrempa@redhat.com>
Thu, 28 Nov 2019 14:01:14 +0000 (15:01 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 13 Dec 2019 12:22:55 +0000 (13:22 +0100)
commit19464852079b34691740b24459cd33f7042f4559
treec89a20c0d788100f4d87039006597681da2f1378
parent4258eba6ed3adf1a8f7c4126cf18575527255fab
qemu: snapshot: Fold formatting of snapshot transaction into prepare func

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@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
src/qemu/qemu_driver.c