Kernel: Use NVME polling by default on RISC-V

Since we don't support the RISC-V PLIC yet, we can't actually use
interrupt-based NVME handling.
This commit is contained in:
Idan Horowitz 2024-04-22 15:48:43 +03:00 committed by Andreas Kling
parent 543fc4d0fc
commit 904ebb74a9
Notes: sideshowbarker 2024-07-17 00:16:31 +09:00

View file

@ -722,7 +722,7 @@ def set_up_machine_devices(config: Configuration):
config.cpu_count = None
config.audio_devices = []
config.extra_arguments.extend(["-serial", "stdio"])
config.kernel_cmdline.append("serial_debug")
config.kernel_cmdline.extend(["serial_debug", "nvme_poll"])
config.qemu_cpu = None
return