summaryrefslogtreecommitdiffstats
path: root/tools/testing/kunit/qemu_configs/powerpc.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/kunit/qemu_configs/powerpc.py')
-rw-r--r--tools/testing/kunit/qemu_configs/powerpc.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/testing/kunit/qemu_configs/powerpc.py b/tools/testing/kunit/qemu_configs/powerpc.py
new file mode 100644
index 000000000..7ec38d413
--- /dev/null
+++ b/tools/testing/kunit/qemu_configs/powerpc.py
@@ -0,0 +1,12 @@
+from ..qemu_config import QemuArchParams
+
+QEMU_ARCH = QemuArchParams(linux_arch='powerpc',
+ kconfig='''
+CONFIG_PPC64=y
+CONFIG_SERIAL_8250=y
+CONFIG_SERIAL_8250_CONSOLE=y
+CONFIG_HVC_CONSOLE=y''',
+ qemu_arch='ppc64',
+ kernel_path='vmlinux',
+ kernel_command_line='console=ttyS0',
+ extra_qemu_params=['-M', 'pseries', '-cpu', 'power8'])