Fix reset console. Fixes #1619

This commit is contained in:
grossmj
2022-12-31 09:43:17 +08:00
parent 2d6b260188
commit b3a6b9173b
4 changed files with 26 additions and 9 deletions

View File

@ -1572,9 +1572,8 @@ class QemuVM(BaseNode):
Reset console
"""
await self.stop_wrap_console()
if self.is_running():
await self.start_wrap_console()
await self.reset_wrap_console()
def command(self):
"""