aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/testing/kunit/qemu_configs/x86_64.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/kunit/qemu_configs/x86_64.py')
-rw-r--r--tools/testing/kunit/qemu_configs/x86_64.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/testing/kunit/qemu_configs/x86_64.py b/tools/testing/kunit/qemu_configs/x86_64.py
new file mode 100644
index 000000000000..4a6bf4e048f5
--- /dev/null
+++ b/tools/testing/kunit/qemu_configs/x86_64.py
@@ -0,0 +1,12 @@
+from ..qemu_config import QemuArchParams
+
+QEMU_ARCH = QemuArchParams(linux_arch='x86_64',
+ kconfig='''
+CONFIG_SERIAL_8250=y
+CONFIG_SERIAL_8250_CONSOLE=y''',
+ qemu_arch='x86_64',
+ kernel_path='arch/x86/boot/bzImage',
+ kernel_command_line='console=ttyS0',
+ # qboot is faster than SeaBIOS and doesn't mess up
+ # the terminal.
+ extra_qemu_params=['-bios', 'qboot.rom'])