Use serial for debugging by default
This commit is contained in:
parent
84b66dba99
commit
0f545ed1a9
2 changed files with 6 additions and 2 deletions
|
@ -1,7 +1,11 @@
|
|||
QEMU=SDL_VIDEO_X11_DGAMOUSE=0 qemu-system-$(ARCH)
|
||||
QEMUFLAGS=-d cpu_reset -d guest_errors
|
||||
QEMUFLAGS+=-smp 4 -m 2048
|
||||
QEMUFLAGS+=-chardev stdio,id=debug -device isa-debugcon,iobase=0x402,chardev=debug
|
||||
ifeq ($(serial),no)
|
||||
QEMUFLAGS+=-chardev stdio,id=debug -device isa-debugcon,iobase=0x402,chardev=debug
|
||||
else
|
||||
QEMUFLAGS+=-serial mon:stdio
|
||||
endif
|
||||
ifeq ($(iommu),yes)
|
||||
QEMUFLAGS+=-machine q35,iommu=on
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue