]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/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)
committerJán Tomko <jtomko@redhat.com>
Fri, 27 Mar 2015 09:30:50 +0000 (10:30 +0100)
commitc5fbad66234b1b1a9afc36ef2fe3a3d903886386
tree4f5546f8b01c76cbd744600258ef447066ef36dc
parentc13de016916c826ad4d35157ee6a52baee87ac22
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>
src/qemu/qemu_driver.c