]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: end the job when try to blockcopy to non-file destination
authorShanzhi Yu <shyu@redhat.com>
Fri, 27 Mar 2015 09:16:41 +0000 (17:16 +0800)
committerCole Robinson <crobinso@redhat.com>
Tue, 28 Apr 2015 15:06:44 +0000 (11:06 -0400)
commit52ef86afbeadf1f51675e44bbdce6486a4b12b9a
tree91fdfade05988b716f879d8fd11ff4f82de3a80c
parentcb4fd344b4af51c468325c37d593f6069bcfbcf2
qemu: end the job when try to blockcopy to non-file destination

Blockcopy to non-file destination is not supported according the code,
but a 'goto endjob' is missed after checking the destination.

This leads to calling drive-mirror with wrong parameters.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1206406
Signed-off-by: Shanzhi Yu <shyu@redhat.com>
Signed-off-by: Ján Tomko <jtomko@redhat.com>
(cherry picked from commit c5fbad66234b1b1a9afc36ef2fe3a3d903886386)
src/qemu/qemu_driver.c