Skip to content

Commit

Permalink
run_guest: Implement going to sleep
Browse files Browse the repository at this point in the history
Getting back from sleep is left as an exercise to the reverse
engineer...

Signed-off-by: Hector Martin <[email protected]>
  • Loading branch information
marcan committed Apr 18, 2023
1 parent bd63b11 commit a81314f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions proxyclient/tools/run_guest.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,3 +113,8 @@ def volumespec(s):
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)

0 comments on commit a81314f

Please sign in to comment.