hv.py: Shut down fb before entering guest

Signed-off-by: Hector Martin <marcan@marcan.st>
This commit is contained in:
Hector Martin 2021-05-08 03:43:59 +09:00
parent 0203aa6d3d
commit f58a9774d2

View file

@ -180,6 +180,9 @@ class HV:
print(f" - {iodev!s}") print(f" - {iodev!s}")
self.p.iodev_set_usage(iodev, 0) self.p.iodev_set_usage(iodev, 0)
print(f"Shutting down framebuffer...")
self.p.fb_shutdown()
print(f"Jumping to entrypoint at 0x{self.entry:x}") print(f"Jumping to entrypoint at 0x{self.entry:x}")
self.iface.dev.timeout = None self.iface.dev.timeout = None