Fix issue when calling reset_console with running VPCS and Qemu nodes. Ref #1619

This commit is contained in:
grossmj committed 2022-12-30 20:54:37 +08:00
1 parent 85679aaa94
commit 1148dbc48e
5 files changed
+34 -10

No files matched your search

+9
View File
@@ -344,6 +344,15 @@ class VPCSVM(BaseNode):
return True
return False
async def reset_console(self):
"""
Reset console
"""
await self.stop_wrap_console()
if self.is_running():
await self.start_wrap_console()
@BaseNode.console_type.setter
def console_type(self, new_console_type):
"""