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