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>
15 lines
374 B
Python
15 lines
374 B
Python
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',])
|