mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-25 16:10:16 +00:00
run_guest: Implement going to sleep
Getting back from sleep is left as an exercise to the reverse engineer... Signed-off-by: Hector Martin <marcan@marcan.st>
This commit is contained in:
parent
bd63b119ec
commit
a81314fe77
1 changed files with 5 additions and 0 deletions
|
@ -113,3 +113,8 @@ if args.shell:
|
|||
run_shell(hv.shell_locals, "Entering hypervisor shell. Type ^D to start the guest.")
|
||||
|
||||
hv.start()
|
||||
|
||||
run_shell(hv.shell_locals, "Hypervisor exited. Entering shell.")
|
||||
|
||||
p.smp_stop_secondaries(True)
|
||||
p.sleep(True)
|
||||
|
|
Loading…
Reference in a new issue