Skip to content

Commit 0d039f1

Browse files
committed
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 <nathan@kernel.org>
1 parent 1a96365 commit 0d039f1

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

boot-qemu.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -661,6 +661,7 @@ def __init__(self):
661661
self._default_kernel_path = Path('arch/x86/boot/bzImage')
662662
self._initrd_arch = 'x86'
663663
self._qemu_arch = 'i386'
664+
self._qemu_args += ['-M', 'q35']
664665

665666
def run(self):
666667
if self.use_kvm and not self.efi:

0 commit comments

Comments
 (0)