From 2d4bb204d80c828ffbcd0e3b8ce03d9573dfbbca Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Thu, 3 Oct 2019 13:40:13 -0600 Subject: [PATCH] Fix qemu script --- scripts/qemu.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/qemu.sh b/scripts/qemu.sh index a4dc7d4..9d52b3c 100755 --- a/scripts/qemu.sh +++ b/scripts/qemu.sh @@ -20,11 +20,11 @@ MODEL_DIR="$(realpath "models/${MODEL}")" kvm -M q35 -m 1024 -vga std \ -bios "build/${MODEL}/coreboot.rom" \ -chardev stdio,mux=on,id=debug \ - -device isa-serial,iobase=0x3e8,irq=4,chardev=debug \ + -device isa-serial,index=2,chardev=debug \ -device isa-debugcon,iobase=0x402,chardev=debug \ "$@" -# COM1: -device isa-serial,iobase=0x3f8,irq=4,chardev=debug -# COM2: -device isa-serial,iobase=0x2f8,irq=3,chardev=debug -# COM3: -device isa-serial,iobase=0x3e8,irq=4,chardev=debug -# COM4: -device isa-serial,iobase=0x2e8,irq=3,chardev=debug +# COM1: -device isa-serial,index=0,chardev=debug +# COM2: -device isa-serial,index=1,chardev=debug +# COM3: -device isa-serial,index=2,chardev=debug +# COM4: -device isa-serial,index=3,chardev=debug