summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/rcutorture/configs/refscale/ver_functions.sh
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2023-07-07 00:19:26 +0300
committerPaul E. McKenney <paulmck@kernel.org>2023-07-15 01:10:57 +0300
commit171cfa011ea4a3fd0fe5a1818fd6871daebabe3f (patch)
treea7a8675d470327cf16484b039bb15f43bc428ab7 /tools/testing/selftests/rcutorture/configs/refscale/ver_functions.sh
parent2f25542c6f626011ecf52cf8eb4a9b666cb8da86 (diff)
downloadlinux-171cfa011ea4a3fd0fe5a1818fd6871daebabe3f.tar.xz
torture: Place --bootargs parameters at end of -append list
Currently, the kernel boot parameters specified by the kvm.sh --bootargs parameter are placed near the beginning of the -append list that is passed to qemu. This means that in the not-uncommon case of a kernel boot parameter where the last argument wins, the --bootargs list overrides neither the list in the .boot file nor the additional parameters supplied by the rcutorture scripting. This commit therefore places the kernel boot parameters specified by the kvm.sh --bootargs parameter at the end of qemu's -append list. Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'tools/testing/selftests/rcutorture/configs/refscale/ver_functions.sh')
-rw-r--r--tools/testing/selftests/rcutorture/configs/refscale/ver_functions.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/testing/selftests/rcutorture/configs/refscale/ver_functions.sh b/tools/testing/selftests/rcutorture/configs/refscale/ver_functions.sh
index f81fa2c541a6..748465627601 100644
--- a/tools/testing/selftests/rcutorture/configs/refscale/ver_functions.sh
+++ b/tools/testing/selftests/rcutorture/configs/refscale/ver_functions.sh
@@ -11,6 +11,7 @@
#
# Adds per-version torture-module parameters to kernels supporting them.
per_version_boot_params () {
- echo $1 refscale.shutdown=1 \
- refscale.verbose=0
+ echo refscale.shutdown=1 \
+ refscale.verbose=0 \
+ $1
}