torture: Switch qemu from -nographic to -display none
authorPaul E. McKenney <paulmck@kernel.org>
Fri, 14 Jul 2023 00:39:02 +0000 (17:39 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Fri, 21 Jul 2023 00:54:53 +0000 (17:54 -0700)
This commit switches the qemu argument "-nographic" to "-display none",
aligning with the nolibc tests.

Cc: Willy Tarreau <w@1wt.eu>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
tools/testing/selftests/rcutorture/bin/kvm-test-1-run.sh

index 3bc0140438ef57878db405300eef0b9284e20c28..b33cd875368991918667158a83aa6b4bf46c7f00 100755 (executable)
@@ -9,9 +9,9 @@
 #
 # Usage: kvm-test-1-run.sh config resdir seconds qemu-args boot_args_in
 #
-# qemu-args defaults to "-enable-kvm -nographic -no-reboot", along with
-#                      arguments specifying the number of CPUs and
-#                      other options generated from the underlying
+# qemu-args defaults to "-enable-kvm -display none -no-reboot", along
+#                      with arguments specifying the number of CPUs
+#                      and other options generated from the underlying
 #                      CPU architecture.
 # boot_args_in defaults to value returned by the per_version_boot_params
 #                      shell function.
@@ -140,7 +140,7 @@ then
 fi
 
 # Generate -smp qemu argument.
-qemu_args="-enable-kvm -nographic -no-reboot $qemu_args"
+qemu_args="-enable-kvm -display none -no-reboot $qemu_args"
 cpu_count=`configNR_CPUS.sh $resdir/ConfigFragment`
 cpu_count=`configfrag_boot_cpus "$boot_args_in" "$config_template" "$cpu_count"`
 if test "$cpu_count" -gt "$TORTURE_ALLOTED_CPUS"