]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: blockcommit: Fix placement of qemuDomainDiskBlockJobIsSupported
authorPeter Krempa <pkrempa@redhat.com>
Fri, 5 Jun 2020 10:19:29 +0000 (12:19 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 9 Jun 2020 07:28:12 +0000 (09:28 +0200)
commitf225f37a8a49cedb847488599cf30c08567ba279
tree319e6bdfff72c554b5f833131f93597bfab4a7ce
parent2f82fe467f7a67d11500a566054b403e9d6d0a9c
qemu: blockcommit: Fix placement of qemuDomainDiskBlockJobIsSupported

Commit b50a8354f6d added call to qemuDomainDiskBlockJobIsSupported prior
to filling the 'disk' variable resulting in a crash when attempting a
block commit.

https://gitlab.com/libvirt/libvirt/-/issues/31

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