qemuDomainGetBlockJobInfo: Move info translation into separate func
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 <83d82aaba2eed257f4814b0c239c260c4caaadf0@redhat.com>

fabianfreyer/libvirt,andreabolognani/libvirt,jfehlig/libvirt,jardasgit/libvirt,datto/libvirt,eskultety/libvirt,taget/libvirt,fabianfreyer/libvirt,nertpinx/libvirt,fabianfreyer/libvirt,nertpinx/libvirt,datto/libvirt,jfehlig/libvirt,eskultety/libvirt,jardasgit/libvirt,olafhering/libvirt,andreabolognani/libvirt,olafhering/libvirt,taget/libvirt,andreabolognani/libvirt,eskultety/libvirt,VenkatDatta/libvirt,zippy2/libvirt,libvirt/libvirt,olafhering/libvirt,libvirt/libvirt,VenkatDatta/libvirt,andreabolognani/libvirt,libvirt/libvirt,taget/libvirt,jardasgit/libvirt,datto/libvirt,crobinso/libvirt,crobinso/libvirt,andreabolognani/libvirt,taget/libvirt,VenkatDatta/libvirt,libvirt/libvirt,eskultety/libvirt,zippy2/libvirt,taget/libvirt,zippy2/libvirt,fabianfreyer/libvirt,nertpinx/libvirt,nertpinx/libvirt,jfehlig/libvirt,crobinso/libvirt,VenkatDatta/libvirt,datto/libvirt,jardasgit/libvirt,jfehlig/libvirt,olafhering/libvirt,fabianfreyer/libvirt,datto/libvirt,nertpinx/libvirt,zippy2/libvirt,jardasgit/libvirt,VenkatDatta/libvirt,eskultety/libvirt,crobinso/libvirt