MCPcopy Create free account
hub / github.com/ClangBuiltLinux/boot-utils / __init__

Method __init__

boot-qemu.py:665–674  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

663
664
665class X86QEMURunner(QEMURunner):
666 def __init__(self) -> None:
667 super().__init__()
668
669 self.cmdline += ['console=ttyS0', 'earlycon=uart8250,io,0x3f8']
670 self.use_kvm = platform.machine() == 'x86_64' and self._have_dev_kvm_access()
671
672 self._default_kernel_path = Path('arch/x86/boot/bzImage')
673 self._initrd_arch = 'x86'
674 self._qemu_arch = 'i386'
675 self._qemu_args += ['-M', 'q35']
676
677 def run(self) -> None:

Callers

nothing calls this directly

Calls 2

_have_dev_kvm_accessMethod · 0.80
__init__Method · 0.45

Tested by

no test coverage detected