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 04:30:50 +0000 (21:30 -0700)
commit26ff7d4c6ebc934c8881b93b526abb957738ed1d
treeb43cd8ccd3edcb12b6e3d58444bb9328d8de515b
parent4d8c603ca2cb1fb70c0e0d2e0d51d1fe3261c7b9
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