1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-01 04:38:12 +00:00

Fix issue when resuming Qemu VM. Fixes https://github.com/GNS3/gns3-gui/issues/3027

This commit is contained in:
grossmj 2020-09-04 18:02:21 +09:30
parent 5305117a75
commit 2bf625e000

View File

@ -1295,6 +1295,7 @@ class QemuVM(BaseNode):
raise QemuError("Resuming a QEMU VM is not supported")
elif vm_status == "paused":
await self._control_vm("cont")
self.status = "started"
log.debug("QEMU VM has been resumed")
else:
log.info("QEMU VM is not paused to be resumed, current status is {}".format(vm_status))