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

Method __init__

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

Source from the content-addressed store, hash-verified

441
442class ARM64QEMURunner(ARMEFIQEMURunner):
443 def __init__(self) -> None:
444 super().__init__()
445
446 self.cmdline += ['console=ttyAMA0', 'earlycon']
447 self.supports_efi = True
448 self.use_kvm = platform.machine() == 'aarch64' and self._have_dev_kvm_access()
449
450 self._default_kernel_path = Path('arch/arm64/boot/Image.gz')
451 self._initrd_arch = 'arm64'
452 self._qemu_arch = 'aarch64'
453
454 def _get_cpu_val(self) -> list[str]:
455 cpu = ['max']

Callers

nothing calls this directly

Calls 2

_have_dev_kvm_accessMethod · 0.80
__init__Method · 0.45

Tested by

no test coverage detected