From 1fc82596a41b9ef11f0a1c110584b4bdb01a95d4 Mon Sep 17 00:00:00 2001 From: Nathan Chancellor Date: Sat, 13 Apr 2024 09:33:26 -0700 Subject: [PATCH] boot-qemu.py: Use a more modern machine type for x86 machines The 'q35' machine has a more modern chipset, which can allow testing more kernel code virtually. Signed-off-by: Nathan Chancellor --- boot-qemu.py | 1 + 1 file changed, 1 insertion(+) diff --git a/boot-qemu.py b/boot-qemu.py index 95d25ec..f0f4f09 100755 --- a/boot-qemu.py +++ b/boot-qemu.py @@ -661,6 +661,7 @@ def __init__(self): self._default_kernel_path = Path('arch/x86/boot/bzImage') self._initrd_arch = 'x86' self._qemu_arch = 'i386' + self._qemu_args += ['-M', 'q35'] def run(self): if self.use_kvm and not self.efi: