Skip to content

runtime: Allow additional VMM parameters to be provided

Andrew Jones kvm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2arch-run: Allow $QEMU to include parametersscripts/arch-run.bash+13 -12 replies
2/2runtime: Introduce VMM_PARAMSREADME.md arm/run powerpc/run +3 more+18 -49 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH kvm-unit-tests 0/2] runtime: Allow additional VMM parameters to be provided

Occasionally users want to temporarily add additional VMM (QEMU) parameters to all tests (run_tests.sh) or to tests executed with $ARCH/run. With $ARCH/run it's already easy to do, just append them to the command line, but with run_tests.sh there wasn't any way to do it. This series provides two ways. It allows the parameters to be appended to the $QEMU environment variable, which is reasonable thing to expect to work, but doesn't solve the problem of providing parameters that override what is specified in the unittests.cfg file. So VMM_PARAMS is also introduced, which is another environment variable just for the additional parameters, and that variable takes care to show up on the command line in the appropriate places, depending on how the tests are being invoked.

Thanks,
drew

Andrew Jones (2):
arch-run: Allow $QEMU to include parameters
runtime: Introduce VMM_PARAMS

 README.md             |  5 +++++
 arm/run               |  4 +++-
 powerpc/run           |  4 +++-
 s390x/run             |  1 +
 scripts/arch-run.bash | 14 +++++++++++++-
 scripts/runtime.bash  |  4 +++-
 x86/run               |  4 +++-
 7 files changed, 31 insertions(+), 5 deletions(-)
Signature · 1 line
2.21.1