[kvm-unit-tests PATCH 0/2] scripts: extra_params rework
Alexandru Elisei
alexandru.elisei at arm.com
Thu Jun 26 01:43:52 AEST 2025
This series was split from the series that adds support to use kvmtool when
using the scripts to run the tests [1]. kvmtool will be supported only for arm
and arm64, as they are the only architectures that compile the tests to run with
kvmtool.
The justification for these changes is to be able to introduce
kvmtool_params for kvmtool specific command line options, and to make a
clear distinction between the qemu options and the kvmtool options. This is
why qemu_params was added as a replacement for extra_params. extra_params
was kept for compatibility purposes for user's custom test definitions.
To avoid duplication of the arguments that are passed to a test's main()
function, test_args has been split from qemu_params. The same test_args
will be used by both qemu and kvmtool.
[1] https://lore.kernel.org/kvm/20250507151256.167769-1-alexandru.elisei@arm.com/
Alexandru Elisei (2):
scripts: unittests.cfg: Rename 'extra_params' to 'qemu_params'
scripts: Add 'test_args' test definition parameter
arm/unittests.cfg | 94 ++++++++++++++----------
docs/unittests.txt | 30 +++++---
powerpc/unittests.cfg | 21 +++---
riscv/unittests.cfg | 2 +-
s390x/unittests.cfg | 53 +++++++-------
scripts/common.bash | 16 +++--
scripts/runtime.bash | 24 ++++---
x86/unittests.cfg | 164 ++++++++++++++++++++++++------------------
8 files changed, 237 insertions(+), 167 deletions(-)
base-commit: 507612326c9417b6330b91f7931678a4c6866395
--
2.50.0
More information about the Linuxppc-dev
mailing list