Skip to contentSkip to conversation

start-qemu: Direct qemu x86 outputs to virtual UART

PATCH New Jan Kiszka 1 participant 1 message Feb 2, 2024

lore
Share & tools
lore

Jan Kiszka

author
#0 lore raw

PATCH 1/1 start-qemu: Direct qemu x86 outputs to virtual UART

From: Jan Kiszka <[email protected]>

Aligns x86 with arm/arm64.

---
 start-qemu.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
start-qemu.sh +1 -1
index 751d20a..1be31cb 100755
@@ -46,7 +46,7 @@ case "$arch" in
 			-device virtio-net-pci,netdev=net"
 		KERNEL_SUFFIX="vmlinuz"
 		KERNEL_CMDLINE=" \
-			root=/dev/sda rw vga=0x305"
+			root=/dev/sda rw vga=0x305 console=ttyS0"
 		;;
 	arm64|aarch64)
 		DISTRO_ARCH=arm64
Signature · 1 line
2.35.3