mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 00:48:50 +00:00
87c9c16317
Add basic support to run QEMU via kunit_tool. Add support for i386, x86_64, arm, arm64, and a bunch more. Signed-off-by: Brendan Higgins <brendanhiggins@google.com> Tested-by: David Gow <davidgow@google.com> Reviewed-by: David Gow <davidgow@google.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
16 lines
449 B
Python
16 lines
449 B
Python
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Collection of configs for building non-UML kernels and running them on QEMU.
|
|
#
|
|
# Copyright (C) 2021, Google LLC.
|
|
# Author: Brendan Higgins <brendanhiggins@google.com>
|
|
|
|
from collections import namedtuple
|
|
|
|
|
|
QemuArchParams = namedtuple('QemuArchParams', ['linux_arch',
|
|
'kconfig',
|
|
'qemu_arch',
|
|
'kernel_path',
|
|
'kernel_command_line',
|
|
'extra_qemu_params'])
|