qemu: Fix job usage in virDomainGetBlockIoTune
authorJiri Denemark <jdenemar@redhat.com>
Fri, 20 Dec 2013 14:41:04 +0000 (15:41 +0100)
committerEric Blake <eblake@redhat.com>
Wed, 15 Jan 2014 19:39:45 +0000 (12:39 -0700)
commitf59d02c487659e9d9f8e152673a0fe4d612172b2
tree394facdd34d0ccfdae82850df1373f03d2b2a151
parent95836cb26b1d91b8e9eba0c4764bc24cccc78684
qemu: Fix job usage in virDomainGetBlockIoTune

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 3b56425938e2f97208d5918263efa0d6439e4ecd)

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