]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: snapshot: Remove unnecessary 'do_transaction' logic in qemuDomainSnapshotCreate...
authorPeter Krempa <pkrempa@redhat.com>
Wed, 5 Jun 2019 13:42:39 +0000 (15:42 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 10 Jun 2019 12:01:09 +0000 (14:01 +0200)
commit143c2de1136fd6ef30f683372f9ae8516007bae8
treec0a34472cb32e35774f89787771b20817a983753
parent0491128f2a508a8b234e711be9ddbdd89768678f
qemu: snapshot: Remove unnecessary 'do_transaction' logic in qemuDomainSnapshotCreateDiskActive

Now that we never get to the actual snapshot code if there's nothing to
do we can remove the variable and surrounding logic.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_driver.c