xref: /linux/tools/testing/kunit/qemu_config.py (revision e6f61920653925e6fa9aceb5cdb47ecf543986c8)
187c9c163SBrendan Higgins# SPDX-License-Identifier: GPL-2.0
287c9c163SBrendan Higgins#
387c9c163SBrendan Higgins# Collection of configs for building non-UML kernels and running them on QEMU.
487c9c163SBrendan Higgins#
587c9c163SBrendan Higgins# Copyright (C) 2021, Google LLC.
687c9c163SBrendan Higgins# Author: Brendan Higgins <brendanhiggins@google.com>
787c9c163SBrendan Higgins
8*e6f61920SDaniel Latypovfrom dataclasses import dataclass
9*e6f61920SDaniel Latypovfrom typing import List
1087c9c163SBrendan Higgins
1187c9c163SBrendan Higgins
12*e6f61920SDaniel Latypov@dataclass(frozen=True)
13*e6f61920SDaniel Latypovclass QemuArchParams:
14*e6f61920SDaniel Latypov  linux_arch: str
15*e6f61920SDaniel Latypov  kconfig: str
16*e6f61920SDaniel Latypov  qemu_arch: str
17*e6f61920SDaniel Latypov  kernel_path: str
18*e6f61920SDaniel Latypov  kernel_command_line: str
19*e6f61920SDaniel Latypov  extra_qemu_params: List[str]
20