qemu: Fix job usage in qemuDomainBlockJobImpl
authorJiri Denemark <jdenemar@redhat.com>
Fri, 20 Dec 2013 14:04:09 +0000 (15:04 +0100)
committerEric Blake <eblake@redhat.com>
Wed, 15 Jan 2014 18:44:38 +0000 (11:44 -0700)
commitc973eb035ee0d8863d0f2ed25f0523e3e7fee433
treec8254d7ab30330028bb89ef1b8e28753746774eb
parent324279f2c867f404712c659adc4f399f8d343eda
qemu: Fix job usage in qemuDomainBlockJobImpl

CVE-2013-6458

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

(cherry picked from commit f93d2caa070f6197ab50d372d286018b0ba6bbd8)

Conflicts:
src/qemu/qemu_driver.c - older style BeginJobWithDriver
src/qemu/qemu_driver.c