hv.py: Make ^D exit the hypervisor, not cont

Signed-off-by: Hector Martin <marcan@marcan.st>
This commit is contained in:
Hector Martin 2021-05-05 00:46:53 +09:00
parent 4b3f527de9
commit 76b690e767

View file

@ -57,7 +57,7 @@ class HV:
ret = shell.run_shell(locals, "Entering debug shell", "Returning from exception")
if ret is None:
ret = EXC_RET.HANDLED
ret = EXC_RET.EXIT_GUEST
self.iface.writemem(info, ExcInfo.build(self.ctx))
self.p.exit(ret)