Signed-off-by: Andrew Jones <drjones@xxxxxxxxxx> --- scripts/runtime.bash | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/runtime.bash b/scripts/runtime.bash index 9c973f26f8de6..c22a6a7883dec 100644 --- a/scripts/runtime.bash +++ b/scripts/runtime.bash @@ -10,8 +10,8 @@ function run() local kernel="$4" local opts="$5" local arch="$6" - local check="$7" - local accel="$8" + local check="${CHECK:-$7}" + local accel="${ACCEL:-$8}" if [ -z "$testname" ]; then return @@ -57,7 +57,7 @@ function run() return $ret } -MAX_SMP=$(getconf _NPROCESSORS_CONF) +MAX_SMP=${MAX_SMP:-$(getconf _NPROCESSORS_CONF)} # # Probe for MAX_SMP, in case it's less than the number of host cpus. # -- 2.4.3 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html