Skip to content

Commit

Permalink
boot-qemu.py: Use a more modern machine type for x86 machines
Browse files Browse the repository at this point in the history
The 'q35' machine has a more modern chipset, which can allow testing
more kernel code virtually.

Signed-off-by: Nathan Chancellor <[email protected]>
  • Loading branch information
nathanchance committed Apr 13, 2024
1 parent 25c4267 commit 1fc8259
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions boot-qemu.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 1fc8259

Please sign in to comment.