mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
kunit: tool: add support for QEMU
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>
This commit is contained in:
committed by
Shuah Khan
parent
12ca7a893d
commit
87c9c16317
16
tools/testing/kunit/qemu_config.py
Normal file
16
tools/testing/kunit/qemu_config.py
Normal file
@@ -0,0 +1,16 @@
|
||||
# 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'])
|
||||
Reference in New Issue
Block a user