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:37:00 +0000 (21:37 -0700)
commit94256e697b60ac8514ad9b437e4f6ac5dc369939
tree67fbdfd809bb68dfddbfff5ab8edbae4084cbbbc
parent36c1691c6d61aa5a0d9a65d64bc3af3e15692d62
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