summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/rcutorture/bin/functions.sh
diff options
context:
space:
mode:
authorBoqun Feng <boqun.feng@gmail.com>2016-05-19 06:42:23 +0300
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2016-06-15 02:03:29 +0300
commit1b2f48f29e5507a15c1fa8264362d30c02607dcd (patch)
tree5bd2d0e25f8345bf1f708f2b3f15678700d8aafc /tools/testing/selftests/rcutorture/bin/functions.sh
parent1b900c6a26de26e111617d6b69b64aaee7b9de01 (diff)
downloadlinux-1b2f48f29e5507a15c1fa8264362d30c02607dcd.tar.xz
rcutorture: Make -soundhw a x86 specific option
The option "-soundhw pcspk" gives me a error on PPC as follow: qemu-system-ppc64: ISA bus not available for pcspk This means this option doesn't work on ppc by default. So simply make this an x86-specific option via identify_qemu_args(). Signed-off-by: Boqun Feng <boqun.feng@gmail.com> Reviewed-by: Josh Triplett <josh@joshtriplett.org> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'tools/testing/selftests/rcutorture/bin/functions.sh')
-rw-r--r--tools/testing/selftests/rcutorture/bin/functions.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/rcutorture/bin/functions.sh b/tools/testing/selftests/rcutorture/bin/functions.sh
index 616180153208..77fdb46cc65a 100644
--- a/tools/testing/selftests/rcutorture/bin/functions.sh
+++ b/tools/testing/selftests/rcutorture/bin/functions.sh
@@ -171,6 +171,7 @@ identify_qemu_append () {
identify_qemu_args () {
case "$1" in
qemu-system-x86_64|qemu-system-i386)
+ echo -soundhw pcspk
;;
qemu-system-ppc64)
echo -enable-kvm -M pseries -cpu POWER7 -nodefaults