diff options
author | Geert Uytterhoeven <[email protected]> | 2023-02-28 11:31:02 +0100 |
---|---|---|
committer | Shuah Khan <[email protected]> | 2023-04-05 12:51:06 -0600 |
commit | 5ffb8629b133fecf7cdd36134ae6d6a1efb46eb5 (patch) | |
tree | a1223d870026b0f675c4b35a1df54e3ca150e3de /tools/testing/kunit/qemu_config.py | |
parent | cb8865fd865f5b2f656d0d91f3b0146ef1acb10d (diff) |
kunit: tool: Add support for overriding the QEMU serial port
On some platforms, the console is not the first serial port. To make
this work, the first serial port in QEMU must be set to "null".
Add support for this by adding an optional "serial" parameter, which
defaults to "stdio", and can be overridden by platform-specific
configuration.
Signed-off-by: Geert Uytterhoeven <[email protected]>
Reviewed-by: David Gow <[email protected]>
Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'tools/testing/kunit/qemu_config.py')
-rw-r--r-- | tools/testing/kunit/qemu_config.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/kunit/qemu_config.py b/tools/testing/kunit/qemu_config.py index 0b6a80398ccc..b1fba9016eed 100644 --- a/tools/testing/kunit/qemu_config.py +++ b/tools/testing/kunit/qemu_config.py @@ -17,3 +17,4 @@ class QemuArchParams: kernel_path: str kernel_command_line: str extra_qemu_params: List[str] + serial: str = 'stdio' |