Capture QEMU serial port output
This commit is contained in:
parent
ce3e2c55df
commit
4e46b98efc
@ -195,7 +195,14 @@ task "run", desc: "Run HOS in QEMU" do
|
||||
if File.exist?("/usr/share/edk2/x64/OVMF.fd")
|
||||
ovmf = "/usr/share/edk2/x64/OVMF.fd"
|
||||
end
|
||||
sh %W[qemu-system-x86_64 -cpu max -bios #{ovmf} -drive file=qemu/HOS.img,format=raw -device qemu-xhci -device usb-tablet]
|
||||
sh %W[
|
||||
qemu-system-x86_64
|
||||
-cpu max
|
||||
-serial file:qemu/serial.out
|
||||
-bios #{ovmf}
|
||||
-drive file=qemu/HOS.img,format=raw
|
||||
-device qemu-xhci
|
||||
-device usb-tablet]
|
||||
end
|
||||
|
||||
# See README.md for how to set up VirtualBox for HOS.
|
||||
|
Loading…
x
Reference in New Issue
Block a user