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

Method __init__

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

Source from the content-addressed store, hash-verified

400
401class ARMV7QEMURunner(ARMQEMURunner, ARMEFIQEMURunner):
402 def __init__(self) -> None:
403 super().__init__()
404
405 self.supports_efi = True
406 self.use_kvm = self._can_use_kvm()
407
408 self.cmdline += ['console=ttyAMA0', 'earlycon']
409
410 def _can_use_kvm(self) -> bool:
411 # 32-bit ARM KVM was ripped out in 5.7, so we do not bother checking

Callers

nothing calls this directly

Calls 2

_can_use_kvmMethod · 0.95
__init__Method · 0.45

Tested by

no test coverage detected