Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/tools/testing/kunit/qemu_config.py
26282 views
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 <[email protected]>
7
8
from dataclasses import dataclass
9
from typing import List
10
11
12
@dataclass(frozen=True)
13
class 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
22