operating-system-in-1000-lines icon indicating copy to clipboard operation
operating-system-in-1000-lines copied to clipboard

QEMU monitor in a separate terminal

Open tuangu opened this issue 8 months ago • 1 comments

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

tuangu avatar Feb 15 '25 03:02 tuangu