mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-23 15:13:02 +00:00
m1n1.hv: Use hv.run_shell() everywhere
Signed-off-by: Hector Martin <marcan@marcan.st>
This commit is contained in:
parent
8eeb7966aa
commit
7c5d47ff85
1 changed files with 2 additions and 2 deletions
|
@ -371,7 +371,7 @@ class HV(Reloadable):
|
|||
|
||||
self.shell_locals["skip"] = lambda: do_exit(1)
|
||||
self.shell_locals["cont"] = lambda: do_exit(0)
|
||||
ret = shell.run_shell(self.shell_locals, "Entering debug shell", "Returning to tracer")
|
||||
ret = self.run_shell("Entering debug shell", "Returning to tracer")
|
||||
self.shell_locals["skip"] = self.skip
|
||||
self.shell_locals["cont"] = self.cont
|
||||
|
||||
|
@ -898,7 +898,7 @@ class HV(Reloadable):
|
|||
self._sigint_pending = False
|
||||
|
||||
signal.signal(signal.SIGINT, self.default_sigint)
|
||||
ret = shell.run_shell(self.shell_locals, "Entering panic shell", "Exiting")
|
||||
ret = self.run_shell("Entering panic shell", "Exiting")
|
||||
signal.signal(signal.SIGINT, self._handle_sigint)
|
||||
|
||||
self.p.exit(0)
|
||||
|
|
Loading…
Reference in a new issue