summaryrefslogtreecommitdiff
path: root/rcutorture/bin/kvm.sh
diff options
context:
space:
mode:
Diffstat (limited to 'rcutorture/bin/kvm.sh')
-rwxr-xr-x[-rw-r--r--]rcutorture/bin/kvm.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/rcutorture/bin/kvm.sh b/rcutorture/bin/kvm.sh
index 589e9c3..e527dc9 100644..100755
--- a/rcutorture/bin/kvm.sh
+++ b/rcutorture/bin/kvm.sh
@@ -7,7 +7,7 @@
# Edit the definitions below to set the locations of the various directories,
# as well as the test duration.
#
-# Usage: sh kvm.sh [ options ]
+# Usage: kvm.sh [ options ]
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -188,7 +188,9 @@ for CF in $configs
do
if test -f "$CONFIGFRAG/$kversion/$CF"
then
- echo $CF `configNR_CPUS.sh $CONFIGFRAG/$kversion/$CF` >> $T/cfgcpu
+ cpu_count=`configNR_CPUS.sh $CONFIGFRAG/$kversion/$CF`
+ cpu_count=`configfrag_boot_cpus "$TORTURE_BOOTARGS" "$CONFIGFRAG/$kversion/$CF" "$cpu_count"`
+ echo $CF $cpu_count >> $T/cfgcpu
else
echo "The --configs file $CF does not exist, terminating."
exit 1