[Bug 1583420] [NEW] Please support "-soundhw none"

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Bug 1583420] [NEW] Please support "-soundhw none"

Josh Triplett-9
Public bug reported:

qemu currently provides a default set of sound hardware.  The -soundhw
option can change that default set, such as by using "-soundhw pcspkr"
to disable most of it, but no "-soundhw none" option exists to disable
all of it.  As far as I can tell, disabling the default sound hardware
requires specifying -nodefaults and then manually specifying all the
desired hardware, leaving out sound hardware.

Please consider adding support for "-soundhw none", to disable all the
default sound hardware.

** Affects: qemu
     Importance: Undecided
         Status: New

--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1583420

Title:
  Please support "-soundhw none"

Status in QEMU:
  New

Bug description:
  qemu currently provides a default set of sound hardware.  The -soundhw
  option can change that default set, such as by using "-soundhw pcspkr"
  to disable most of it, but no "-soundhw none" option exists to disable
  all of it.  As far as I can tell, disabling the default sound hardware
  requires specifying -nodefaults and then manually specifying all the
  desired hardware, leaving out sound hardware.

  Please consider adding support for "-soundhw none", to disable all the
  default sound hardware.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1583420/+subscriptions

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Bug 1583420] Re: Please support "-soundhw none"

Paolo Bonzini-2
Actually, QEMU doesn't provide a default set of sound hardware.

The pcspk device provides port 0x61 and like most other legacy ISA
devices is not removed by -nodefaults (i8254 PIT, i8257 DMA, i8259 PIC;
only the serial port can be removed).

However, unless you configure it specifically with "-soundhw pcspk", the
pcspk device does not emit any audio and is little more than an bolted-
on piece of the PIT device model.  You can check it yourself by placing
a breakpoint on pcspk_audio_init and pcspk_realizefn.  With -nodefaults,
the latter does run, just like with no command line option, but
pcspk_audio_init is not called.  With -soundhw pcspk, both are called.

** Changed in: qemu
       Status: New => Invalid

--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1583420

Title:
  Please support "-soundhw none"

Status in QEMU:
  Invalid

Bug description:
  qemu currently provides a default set of sound hardware.  The -soundhw
  option can change that default set, such as by using "-soundhw pcspkr"
  to disable most of it, but no "-soundhw none" option exists to disable
  all of it.  As far as I can tell, disabling the default sound hardware
  requires specifying -nodefaults and then manually specifying all the
  desired hardware, leaving out sound hardware.

  Please consider adding support for "-soundhw none", to disable all the
  default sound hardware.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1583420/+subscriptions

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Bug 1583420] Re: Please support "-soundhw none"

VinceLe
In reply to this post by Josh Triplett-9
It looks like qemu without any specific -soundhw CLI option uses pulseaudio.
So I still think a -soundhw none would be nice to have.

--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1583420

Title:
  Please support "-soundhw none"

Status in QEMU:
  Invalid

Bug description:
  qemu currently provides a default set of sound hardware.  The -soundhw
  option can change that default set, such as by using "-soundhw pcspkr"
  to disable most of it, but no "-soundhw none" option exists to disable
  all of it.  As far as I can tell, disabling the default sound hardware
  requires specifying -nodefaults and then manually specifying all the
  desired hardware, leaving out sound hardware.

  Please consider adding support for "-soundhw none", to disable all the
  default sound hardware.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1583420/+subscriptions

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Bug 1583420] Re: Please support "-soundhw none"

Daniel Berrange-11
In reply to this post by Josh Triplett-9
Pulseaudio is a sound *backend*. This is independent of the choice of
guest hardware frontend.

You can disable pulseaudio using an env variable QEMU_AUDIO_DRV=none

--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1583420

Title:
  Please support "-soundhw none"

Status in QEMU:
  Invalid

Bug description:
  qemu currently provides a default set of sound hardware.  The -soundhw
  option can change that default set, such as by using "-soundhw pcspkr"
  to disable most of it, but no "-soundhw none" option exists to disable
  all of it.  As far as I can tell, disabling the default sound hardware
  requires specifying -nodefaults and then manually specifying all the
  desired hardware, leaving out sound hardware.

  Please consider adding support for "-soundhw none", to disable all the
  default sound hardware.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1583420/+subscriptions

Loading...