summaryrefslogtreecommitdiff
path: root/debug.sh
diff options
context:
space:
mode:
authorAda Christine <adachristine18@gmail.com>2021-03-17 14:39:08 +0000
committerAda Christine <adachristine18@gmail.com>2021-03-17 14:39:08 +0000
commiteed4b007c173509f60358881a5c0e4aab2f80c6d (patch)
tree5582b9b15a89e9e9bfd392a91a5f4a21ae65c3d4 /debug.sh
parent241b783ca5acc256393febf6fe6ad8efecc39d7b (diff)
serial console logging
Diffstat (limited to 'debug.sh')
-rwxr-xr-xdebug.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/debug.sh b/debug.sh
index 1ce95b7..52c0cba 100755
--- a/debug.sh
+++ b/debug.sh
@@ -8,5 +8,5 @@ make -C kernel &&
qemu-system-x86_64 -cpu qemu64 \
-drive if=pflash,format=raw,unit=0,file=/usr/share/ovmf/x64/OVMF_CODE.fd,readonly=on \
-drive if=pflash,format=raw,unit=1,file=OVMF_VARS.fd \
- -net none -drive file=uefi.img,if=ide -monitor stdio -vga none
+ -net none -drive file=uefi.img,if=ide -serial file:sophia.log -monitor stdio