def get_job_info(self):
        status = self._guest._domain.blockJobInfo(self._disk, flags=0)
        if status != -1:
            return BlockDeviceJobInfo(
                job=status.get("type", 0),
                bandwidth=status.get("bandwidth", 0),
                cur=status.get("cur", 0),
                end=status.get("end", 0))
Render a single ``FileUpload`` model instance using the
dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/virt/libvirt/guest.py/BlockDevice.get_job_info--crossover with--dataset/ETHPy150Open carljm/django-adminfiles/adminfiles/templatetags/adminfiles_tags.py/render_upload