diff options
author | 2021-05-26 14:24:06 -0700 | |
---|---|---|
committer | 2021-06-11 16:10:23 -0600 | |
commit | 87c9c16317882dd6dbbc07e349bc3223e14f3244 (patch) | |
tree | fd678aef9225e5272a2a74ae8e9f95d895e2d61e /tools/testing/kunit/qemu_configs/s390.py | |
parent | Documentation: kunit: document support for QEMU in kunit_tool (diff) | |
download | linux-dev-87c9c16317882dd6dbbc07e349bc3223e14f3244.tar.xz linux-dev-87c9c16317882dd6dbbc07e349bc3223e14f3244.zip |
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>
Diffstat (limited to 'tools/testing/kunit/qemu_configs/s390.py')
-rw-r--r-- | tools/testing/kunit/qemu_configs/s390.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tools/testing/kunit/qemu_configs/s390.py b/tools/testing/kunit/qemu_configs/s390.py new file mode 100644 index 000000000000..e310bd521113 --- /dev/null +++ b/tools/testing/kunit/qemu_configs/s390.py @@ -0,0 +1,14 @@ +from ..qemu_config import QemuArchParams + +QEMU_ARCH = QemuArchParams(linux_arch='s390', + kconfig=''' +CONFIG_EXPERT=y +CONFIG_TUNE_ZEC12=y +CONFIG_NUMA=y +CONFIG_MODULES=y''', + qemu_arch='s390x', + kernel_path='arch/s390/boot/bzImage', + kernel_command_line='console=ttyS0', + extra_qemu_params=[ + '-machine s390-ccw-virtio', + '-cpu qemu',]) |