mirror of
https://github.com/GNS3/gns3-server.git
synced 2024-12-19 04:47:54 +00:00
Fix issue when resuming Qemu VM. Fixes https://github.com/GNS3/gns3-gui/issues/3027
This commit is contained in:
parent
5305117a75
commit
2bf625e000
@ -1295,6 +1295,7 @@ class QemuVM(BaseNode):
|
|||||||
raise QemuError("Resuming a QEMU VM is not supported")
|
raise QemuError("Resuming a QEMU VM is not supported")
|
||||||
elif vm_status == "paused":
|
elif vm_status == "paused":
|
||||||
await self._control_vm("cont")
|
await self._control_vm("cont")
|
||||||
|
self.status = "started"
|
||||||
log.debug("QEMU VM has been resumed")
|
log.debug("QEMU VM has been resumed")
|
||||||
else:
|
else:
|
||||||
log.info("QEMU VM is not paused to be resumed, current status is {}".format(vm_status))
|
log.info("QEMU VM is not paused to be resumed, current status is {}".format(vm_status))
|
||||||
|
Loading…
Reference in New Issue
Block a user