rcutorture: Add --bootargs parameter to kvm-again.sh
authorPaul E. McKenney <paulmck@kernel.org>
Fri, 26 Aug 2022 21:47:48 +0000 (14:47 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Tue, 18 Oct 2022 22:02:59 +0000 (15:02 -0700)
commit50527f7cd051b7d701bb5797b958d8fd4486cdcd
tree85668f502fff1aa7060ee5ab85935fb5a69f906b
parent9abf2313adc1ca1b6180c508c25f22f9395cc780
rcutorture: Add --bootargs parameter to kvm-again.sh

The kvm-again.sh script can be used to repeat short boot-time tests,
but the kernel boot arguments cannot be changed.  This means that every
change in kernel boot arguments currently necessitates a kernel build,
which greatly increases the duration of kernel-boot testing.

This commit therefore adds a --bootargs parameter to kvm-again.sh,
which allows a given kernel to be repeatedly booted, but overriding
old and adding new kernel boot parameters.  This allows an old kernel
to be booted with new kernel boot parameters, avoiding the overhead of
rebuilding the kernel under test.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
tools/testing/selftests/rcutorture/bin/kvm-again.sh
tools/testing/selftests/rcutorture/bin/kvm-transform.sh