Do not start QEMU console if QEMU process is not started. Fixes https://github.com/GNS3/gns3-gui/issues/2712

pull/1597/head
grossmj 5 years ago
parent a86f881d83
commit 3b87a19979

@ -972,7 +972,8 @@ class QemuVM(BaseNode):
await self._control_vm_commands(set_link_commands)
try:
await self.start_wrap_console()
if self.is_running():
await self.start_wrap_console()
except OSError as e:
raise QemuError("Could not start Telnet QEMU console {}\n".format(e))

Loading…
Cancel
Save