1 # SPDX-License-Identifier: GPL-2.0 1 # SPDX-License-Identifier: GPL-2.0 2 # 2 # 3 # Collection of configs for building non-UML k 3 # Collection of configs for building non-UML kernels and running them on QEMU. 4 # 4 # 5 # Copyright (C) 2021, Google LLC. 5 # Copyright (C) 2021, Google LLC. 6 # Author: Brendan Higgins <brendanhiggins@googl 6 # Author: Brendan Higgins <brendanhiggins@google.com> 7 7 8 from dataclasses import dataclass 8 from dataclasses import dataclass 9 from typing import List 9 from typing import List 10 10 11 11 12 @dataclass(frozen=True) 12 @dataclass(frozen=True) 13 class QemuArchParams: 13 class QemuArchParams: 14 linux_arch: str 14 linux_arch: str 15 kconfig: str 15 kconfig: str 16 qemu_arch: str 16 qemu_arch: str 17 kernel_path: str 17 kernel_path: str 18 kernel_command_line: str 18 kernel_command_line: str 19 extra_qemu_params: List[str] 19 extra_qemu_params: List[str] 20 serial: str = 'stdio' 20 serial: str = 'stdio'
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.