kunit: tool: Add support for m68k under QEMU
Add basic support to run m68k under QEMU via kunit_tool. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Reviewed-by: David Gow <davidgow@google.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
This commit is contained in:
parent
fe15c26ee2
commit
60684c2bd3
1 changed files with 10 additions and 0 deletions
10
tools/testing/kunit/qemu_configs/m68k.py
Normal file
10
tools/testing/kunit/qemu_configs/m68k.py
Normal file
|
@ -0,0 +1,10 @@
|
|||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
from ..qemu_config import QemuArchParams
|
||||
|
||||
QEMU_ARCH = QemuArchParams(linux_arch='m68k',
|
||||
kconfig='''
|
||||
CONFIG_VIRT=y''',
|
||||
qemu_arch='m68k',
|
||||
kernel_path='vmlinux',
|
||||
kernel_command_line='console=hvc0',
|
||||
extra_qemu_params=['-machine', 'virt'])
|
Loading…
Add table
Reference in a new issue