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 13:58:01 +0000 (06:58 -0700)
commit51d13311b89fe9709df0efef8054010d7e539600
treea4887d52a90a56796c7cbd5fc6ca3aa35a842d69
parent571629b2dfd2eeb8001efddac2569b12621d1db3
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