qemu: Fix job usage in qemuDomainBlockCopy
authorJiri Denemark <jdenemar@redhat.com>
Fri, 20 Dec 2013 14:08:06 +0000 (15:08 +0100)
committerEric Blake <eblake@redhat.com>
Wed, 15 Jan 2014 16:00:38 +0000 (09:00 -0700)
commitebac034d4dafd1774f4b075f7b2b0fa52736c22e
tree29fa9c86673875a4cf87cd8c9df229af2cd353c9
parent1478ebf2bcadbaf3b66d9e91086bcca39a41bb65
qemu: Fix job usage in qemuDomainBlockCopy

Every API that is going to begin a job should do that before fetching
data from vm->def.

(cherry picked from commit ff5f30b6bfa317f2a4c33f69289baf4e887eb048)
src/qemu/qemu_driver.c