On 25/06/2025 17.43, Alexandru Elisei wrote:
kvm-unit-tests, on arm and arm64, is getting ready to support running all
the test automatically under kvmtool. Even though kvmtool has a different
syntax for configuring and running a virtual machine, kvmtool and qemu have
in common the test arguments that are passed to the main() function.

Add a new test definition parameter, 'test_args', that contains only the
VMM-independent arguments that are passed to the main() function, with the
intention for the parameter to be used by both qemu and kvmtool, when
support for kvmtool is added.

Suggested-by: Andrew Jones <andrew.jo...@linux.dev>
Reviewed-by: Andrew Jones <andrew.jo...@linux.dev>
Reviewed-by: Shaoqin Huang <shahu...@redhat.com>
Signed-off-by: Alexandru Elisei <alexandru.eli...@arm.com>
---
  arm/unittests.cfg     | 94 ++++++++++++++++++++++++++-----------------
  docs/unittests.txt    | 17 ++++++--
  powerpc/unittests.cfg | 19 +++++----
  riscv/unittests.cfg   |  2 +-
  s390x/unittests.cfg   | 13 +++---
  scripts/common.bash   |  8 +++-
  scripts/runtime.bash  | 18 ++++++---
  x86/unittests.cfg     | 92 ++++++++++++++++++++++++++----------------
  8 files changed, 164 insertions(+), 99 deletions(-)

FWIW,
Acked-by: Thomas Huth <th...@redhat.com>


Reply via email to