Skip to contentSkip to conversation

rcu: torture: ppc: Remove duplicated argument --enable-kvm

PATCH In review [email protected] 2 participants 2 messages Mar 26, 2023

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rcu: torture: ppc: Remove duplicated argument --enable-kvm

From: Zhouyi Zhou <[email protected]>

The argument --enable-kvm is duplicated because qemu_args in kvm-test-1-run.sh has already give this.

---
Dear RCU and PPC developers

I discover this possible minor flaw when I am performing RCU torture test in PPC VM of of Open Source Lab of Oregon State University.

But I can't test my patch because I am in a VM.

Thanks for your time

Cheers ;-)
Zhouyi

Signature · 2 lines
 tools/testing/selftests/rcutorture/bin/functions.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/rcutorture/bin/functions.sh +1 -1
index b52d5069563c..48b9147e8c91 100644
@@ -250,7 +250,7 @@ identify_qemu_args () {
 		echo -machine virt,gic-version=host -cpu host
 		;;
 	qemu-system-ppc64)
-		echo -enable-kvm -M pseries -nodefaults
+		echo -M pseries -nodefaults
 		echo -device spapr-vscsi
 		if test -n "$TORTURE_QEMU_INTERACTIVE" -a -n "$TORTURE_QEMU_MAC"
 		then
Signature · 1 line
2.34.1
maintainer
#1 lore raw
Quoted 6 lines · On Sun, Mar 26, 2023 at 08:24:34AM +0800, [email protected] wrote:

From: Zhouyi Zhou <[email protected]>

The argument --enable-kvm is duplicated because qemu_args in kvm-test-1-run.sh has already give this.

Good catch! Applied, thank you!

Thanx, Paul

Quoted 32 lines

---
Dear RCU and PPC developers

I discover this possible minor flaw when I am performing RCU torture test in PPC VM of of Open Source Lab of Oregon State University.

But I can't test my patch because I am in a VM.

Thanks for your time

Cheers ;-)
Zhouyi

Signature · 2 lines
 tools/testing/selftests/rcutorture/bin/functions.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/rcutorture/bin/functions.sh +1 -1
index b52d5069563c..48b9147e8c91 100644
@@ -250,7 +250,7 @@ identify_qemu_args () {
 		echo -machine virt,gic-version=host -cpu host
 		;;
 	qemu-system-ppc64)
-		echo -enable-kvm -M pseries -nodefaults
+		echo -M pseries -nodefaults
 		echo -device spapr-vscsi
 		if test -n "$TORTURE_QEMU_INTERACTIVE" -a -n "$TORTURE_QEMU_MAC"
 		then
Signature · 1 line
2.34.1