operating-system-in-1000-lines
operating-system-in-1000-lines copied to clipboard
QEMU monitor in a separate terminal
First of all, thanks for the great tutorial. This is actually not an issue, but will help, at least for myself, easier to view registers/memory info, without overlapping with the kernel output.
# run.sh: add --monitor options
$QEMU -machine virt -bios default -nographic \
-serial mon:stdio --monitor tcp:127.0.0.1:4321,server,nowait \
--no-reboot \
-d unimp,guest_errors,int,cpu_reset -D qemu.log \
-kernel kernel.elf
# open another terminal
nc localhost 4321