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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(-)

-- 
2.21.1





[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux