mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-24 17:28:08 +00:00
Do not start QEMU console if QEMU process is not started. Fixes https://github.com/GNS3/gns3-gui/issues/2712
This commit is contained in:
parent
a86f881d83
commit
3b87a19979
@ -972,7 +972,8 @@ class QemuVM(BaseNode):
|
|||||||
await self._control_vm_commands(set_link_commands)
|
await self._control_vm_commands(set_link_commands)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
await self.start_wrap_console()
|
if self.is_running():
|
||||||
|
await self.start_wrap_console()
|
||||||
except OSError as e:
|
except OSError as e:
|
||||||
raise QemuError("Could not start Telnet QEMU console {}\n".format(e))
|
raise QemuError("Could not start Telnet QEMU console {}\n".format(e))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user