|
@@ -31,8 +31,9 @@ scriptname=$0
|
|
args="$*"
|
|
args="$*"
|
|
|
|
|
|
dur=30
|
|
dur=30
|
|
-KVM=`pwd`/tools/testing/selftests/rcutorture; export KVM
|
|
|
|
-builddir=${KVM}/b1
|
|
|
|
|
|
+KVM="`pwd`/tools/testing/selftests/rcutorture"; export KVM
|
|
|
|
+builddir="${KVM}/b1"
|
|
|
|
+RCU_INITRD="$KVM/initrd"; export RCU_INITRD
|
|
resdir=""
|
|
resdir=""
|
|
configs=""
|
|
configs=""
|
|
ds=`date +%Y.%m.%d-%H:%M:%S`
|
|
ds=`date +%Y.%m.%d-%H:%M:%S`
|
|
@@ -49,6 +50,7 @@ usage () {
|
|
echo " --interactive"
|
|
echo " --interactive"
|
|
echo " --kversion vN.NN"
|
|
echo " --kversion vN.NN"
|
|
echo " --mac nn:nn:nn:nn:nn:nn"
|
|
echo " --mac nn:nn:nn:nn:nn:nn"
|
|
|
|
+ echo " --no-initrd"
|
|
echo " --qemu-args qemu-system-..."
|
|
echo " --qemu-args qemu-system-..."
|
|
echo " --qemu-cmd qemu-system-..."
|
|
echo " --qemu-cmd qemu-system-..."
|
|
echo " --results absolute-pathname"
|
|
echo " --results absolute-pathname"
|
|
@@ -122,6 +124,9 @@ do
|
|
RCU_QEMU_MAC=$2; export RCU_QEMU_MAC
|
|
RCU_QEMU_MAC=$2; export RCU_QEMU_MAC
|
|
shift
|
|
shift
|
|
;;
|
|
;;
|
|
|
|
+ --no-initrd)
|
|
|
|
+ RCU_INITRD=""; export RCU_INITRD
|
|
|
|
+ ;;
|
|
--qemu-args)
|
|
--qemu-args)
|
|
checkarg --qemu-args "-qemu args" $# "$2" '^-' '^error'
|
|
checkarg --qemu-args "-qemu args" $# "$2" '^-' '^error'
|
|
RCU_QEMU_ARG="$2"
|
|
RCU_QEMU_ARG="$2"
|