Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1403775

Re: [PATCH 3/4] rcutorture: Make -soundhw a x86 specific option

Path csiph.com!news.mixmin.net!news.unit0.net!news.panservice.it!bofh.it!news.nic.it!robomod
From "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
Newsgroups linux.kernel
Subject Re: [PATCH 3/4] rcutorture: Make -soundhw a x86 specific option
Date Thu, 19 May 2016 16:20:01 +0200
Message-ID <rAwXT-R5-13@gated-at.bofh.it> (permalink)
References <rAmYy-2N2-3@gated-at.bofh.it> <rAn8d-2Qg-9@gated-at.bofh.it> <rAnKW-3m2-21@gated-at.bofh.it>
X-Original-To Josh Triplett <josh@joshtriplett.org>
X-Ibm-Helo d01dlp01.pok.ibm.com
X-Ibm-Mailfrom paulmck@linux.vnet.ibm.com
X-Ibm-Rcptto linux-kernel@vger.kernel.org
Reply-To paulmck@linux.vnet.ibm.com
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
User-Agent Mutt/1.5.21 (2010-09-15)
X-Tm-As-Mml disable
X-Content-Scanned Fidelis XPS MAILER
X-Cbid 16051914-0057-0000-0000-0000045D199D
X-Ibm-Av-Detection SAVI=unused REMOTE=unused XFE=unused
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 37
Organization linux.* mail to news gateway
X-Original-Cc Boqun Feng <boqun.feng@gmail.com>, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, Steven Rostedt <rostedt@goodmis.org>, Mathieu Desnoyers <mathieu.desnoyers@efficios.com>, Lai Jiangshan <jiangshanlai@gmail.com>
X-Original-Date Thu, 19 May 2016 07:10:13 -0700
X-Original-Message-ID <20160519141013.GN3528@linux.vnet.ibm.com>
X-Original-References <1463629344-20471-1-git-send-email-boqun.feng@gmail.com> <1463629344-20471-4-git-send-email-boqun.feng@gmail.com> <20160519042309.GA18252@x>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1403775

Show key headers only | View raw


On Wed, May 18, 2016 at 09:23:10PM -0700, Josh Triplett wrote:
> On Thu, May 19, 2016 at 11:42:23AM +0800, Boqun Feng wrote:
> > The option "-soundhw pcspk" gives me a error on PPC as follow:
> > 
> > qemu-system-ppc64: ISA bus not available for pcspk
> > 
> > , which 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>
> 
> The emulated system for RCU testing does not need sound hardware at all.
> Paul added this option in commit
> 16c77ea7d0f4a74e49009aa2d26c275f7f93de7c to disable the default sound
> hardware, saying that '"-soundhw pcspk" makes the script a bit less
> dependent on odd audio libraries being installed'.  Unfortunately, it
> looks like there isn't a "-soundhw none".  As far as I can tell,
> currently the only way to completely eliminate sound hardware is to pass
> "-nodefaults" and then explicitly specify each desired device; while
> that would solve the issue, it would likely introduce *more*
> hardware-specific command-line options...
> 
> I've filed two feature requests on upstream qemu to make this simpler:
> https://bugs.launchpad.net/qemu/+bug/1583420 and
> https://bugs.launchpad.net/qemu/+bug/1583421 .
> 
> Paul, what did you mean by "dependent on odd audio libraries"?  Did you
> mean in the guest or the host?  And either way, is this something that
> could potentially be solved another way?

If I remember correctly, Ubuntu 14.04 qemu refused to run the guest
without this option, but I don't recall the exact error message.
I chalked it up to my ignorance of qemu, but I would very much welcome
some way to not have to specify irrelevant hardware.  So thank you very
much for filing the bugs!

								Thanx, Paul

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/4] rcutorture: Several fixes to run selftest scripts on PPC Boqun Feng <boqun.feng@gmail.com> - 2016-05-19 05:40 +0200
  [PATCH 2/4] rcutorture: Use vmlinux as the fallback kernel image Boqun Feng <boqun.feng@gmail.com> - 2016-05-19 05:50 +0200
  [PATCH 3/4] rcutorture: Make -soundhw a x86 specific option Boqun Feng <boqun.feng@gmail.com> - 2016-05-19 05:50 +0200
    Re: [PATCH 3/4] rcutorture: Make -soundhw a x86 specific option Josh Triplett <josh@joshtriplett.org> - 2016-05-19 06:30 +0200
      Re: [PATCH 3/4] rcutorture: Make -soundhw a x86 specific option "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2016-05-19 16:20 +0200
        Re: [PATCH 3/4] rcutorture: Make -soundhw a x86 specific option Josh Triplett <josh@joshtriplett.org> - 2016-05-19 17:50 +0200
          Re: [PATCH 3/4] rcutorture: Make -soundhw a x86 specific option "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2016-05-19 18:30 +0200
            Re: [PATCH 3/4] rcutorture: Make -soundhw a x86 specific option "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2016-05-19 21:40 +0200
              Re: [PATCH 3/4] rcutorture: Make -soundhw a x86 specific option Josh Triplett <josh@joshtriplett.org> - 2016-05-19 22:30 +0200
                Re: [PATCH 3/4] rcutorture: Make -soundhw a x86 specific option "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2016-05-23 23:30 +0200
  [PATCH 4/4] rcutorture: Don't specify the cpu type of QEMU on PPC Boqun Feng <boqun.feng@gmail.com> - 2016-05-19 05:50 +0200
  [PATCH 1/4] rcutorture/doc: Add a new way to create initrd using dracut Boqun Feng <boqun.feng@gmail.com> - 2016-05-19 05:50 +0200
  Re: [PATCH 0/4] rcutorture: Several fixes to run selftest scripts on  PPC Josh Triplett <josh@joshtriplett.org> - 2016-05-19 06:30 +0200
    Re: [PATCH 0/4] rcutorture: Several fixes to run selftest scripts on  PPC "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2016-05-19 16:20 +0200

csiph-web