]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: snapshot: Skip 'transaction' command when no disks are selected
authorPeter Krempa <pkrempa@redhat.com>
Wed, 6 Jan 2016 12:56:47 +0000 (13:56 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 7 Jan 2016 07:26:35 +0000 (08:26 +0100)
commit5f7df346118ba227ecd3ea4413d31e142f0bf513
tree94a1bc146d0182aab72dfe26537a9c2fbd752697
parent6343018faca842b0c4c1805f9d2345f6e20fda60
qemu: snapshot: Skip 'transaction' command when no disks are selected

When doing a memory-only snapshot libvirt would still issue the
'transaction' command without any disk. Skip it if it isn't necessary.
src/qemu/qemu_driver.c