xref: /linux/tools/testing/kunit/qemu_config.py (revision 24168c5e6dfbdd5b414f048f47f75d64533296ca)
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