def resume(self):
        """
        Resumes this QEMU VM.
        """

        vm_status = yield from self._get_vm_status()
        if vm_status is None:
            raise QemuError("Resuming a QEMU VM is not supported")
        elif vm_status == "paused":
            yield from self._control_vm("cont")
            log.debug("QEMU VM has been resumed")
        else:
            log.info("QEMU VM is not paused to be resumed, current status is {}".format(vm_status))
def resume ( self ) : vm_status = yield from self . _get_vm_status ( ) if vm_status is None : raise QemuError ( "Resuming a QEMU VM is not supported" ) elif vm_status == "paused" : yield from self . _control_vm ( "cont" ) log . debug ( "QEMU VM has been resumed" ) else : log . info ( "QEMU VM is not paused to be resumed, current status is {}" . format ( vm_status ) )
Resumes this QEMU VM.