We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents be51dc1 + 0d039f1 commit 9d1c9e9Copy full SHA for 9d1c9e9
1 file changed
boot-qemu.py
@@ -661,6 +661,7 @@ def __init__(self):
661
self._default_kernel_path = Path('arch/x86/boot/bzImage')
662
self._initrd_arch = 'x86'
663
self._qemu_arch = 'i386'
664
+ self._qemu_args += ['-M', 'q35']
665
666
def run(self):
667
if self.use_kvm and not self.efi:
@@ -699,8 +700,8 @@ def run(self):
699
700
Path('OVMF/OVMF_VARS.fd'), # Debian and Ubuntu
701
]
702
ovmf_vars = utils.find_first_file(usr_share, ovmf_vars_locations)
- self._efi_vars = Path(utils.BOOT_UTILS, 'images', self.initrd_arch,
703
- ovmf_vars.name)
+ self._efi_vars = Path(utils.BOOT_UTILS, 'images',
704
+ self._initrd_arch, ovmf_vars.name)
705
# This file is in /usr/share, so it must be copied in order to be
706
# modified.
707
shutil.copyfile(ovmf_vars, self._efi_vars)
0 commit comments