File tree 2 files changed +9
-1
lines changed
2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -392,7 +392,10 @@ endif
392
392
393
393
ifeq ($(ARCH ) ,x86_64)
394
394
QEMU_BIN := qemu-system-x86_64
395
- QEMU_KERNEL_CMDLINE += console=ttyS0 kpti no5lvl
395
+
396
+ # 8250.nr_uarts=1 is needed because some Android kernels set
397
+ # `CONFIG_SERIAL_8250_RUNTIME_UARTS` to zero
398
+ QEMU_KERNEL_CMDLINE += console=ttyS0 kpti no5lvl 8250.nr_uarts=1
396
399
397
400
QEMU_ARGS += -cpu kvm64,+smep,+smap
398
401
Original file line number Diff line number Diff line change @@ -92,3 +92,8 @@ CONFIG_TRACING=y
92
92
93
93
# Allow lvl5 paging
94
94
CONFIG_X86_5LEVEL=y
95
+
96
+ # Some ACK kernels set this to zero. Technically we don't need it because we
97
+ # also set it in the kernel command line, but it helps if someone wants to use
98
+ # our prebuilt kernels and run them manually
99
+ CONFIG_SERIAL_8250_RUNTIME_UARTS=4
You can’t perform that action at this time.
0 commit comments