1# SPDX-License-Identifier: GPL-2.0
2#
3# Collection of configs for building non-UML kernels and running them on QEMU.
4#
5# Copyright (C) 2021, Google LLC.
6# Author: Brendan Higgins <brendanhiggins@google.com>
7
8from dataclasses import dataclass
9from typing import List
10
11
12@dataclass(frozen=True)
13class QemuArchParams:
14  linux_arch: str
15  kconfig: str
16  qemu_arch: str
17  kernel_path: str
18  kernel_command_line: str
19  extra_qemu_params: List[str]
20  serial: str = 'stdio'
21