]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuDomainGetBlockJobInfo: Move info translation into separate func
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 2 Sep 2016 06:38:19 +0000 (08:38 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 14 Sep 2016 10:44:42 +0000 (12:44 +0200)
commit5d213b34de442490c66ee54b17d15e68cfeb2174
treece4a218bc5b7caefc5ade647a85ebbc365b533a5
parente043ecc82d161028c04061da71597b2127651c77
qemuDomainGetBlockJobInfo: Move info translation into separate func

Even though we merely just pass to users whatever qemu provided
on the monitor, we still do some translation. For instance we
turn bytes into mebibytes, or fix job type if needed. However, in
the future there is more fixing to be done so this code deserves
its own function.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_driver.c