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 18:47:00 +0000 (11:47 -0700)
commitd0a4e2498d7d3b1cf1683b0720b9bc6edabcd364
treeb45fa43b46b2e0ed05832707be6924b66191b12e
parentc5683680576aa624b7bc29a9c927dc9d5253fe44
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