[libvirt] [PATCH v4 07/13] qemu: simplify getting completed job stats