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 04:41:51 +0000 (21:41 -0700)
commita7844b9ec2718dad9f5e5316cc0673e95098d812
treef450deaa989ff414934d598543ddbd59ae94553d
parent0c4822c17b6cdcce812fb9201f19d30232b3812d
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)
src/qemu/qemu_driver.c