'Returns information about job currently running
:returns: BlockDeviceJobInfo, or None if no job exists
:raises: libvirt.libvirtError on error fetching block job info'

def get_job_info(self):

    status = self._guest._domain.blockJobInfo(self._disk, flags=0)
    if (not status):
        return None
    return BlockDeviceJobInfo(job=status['type'], bandwidth=status['bandwidth'], cur=status['cur'], end=status['end'])
