qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/9] audio: make sound cards require the audiodev property
@ 2023-09-22  9:44 Paolo Bonzini
  2023-09-22  9:44 ` [PATCH 1/9] audio: Add easy dummy audio initialiser Paolo Bonzini
                   ` (8 more replies)
  0 siblings, 9 replies; 15+ messages in thread
From: Paolo Bonzini @ 2023-09-22  9:44 UTC (permalink / raw)
  To: qemu-devel; +Cc: mkletzan

This is the remaining part of Martin's patches to remove the deprecations
connected to audio backend configuration.  With these patches, all sound
cards have to be configured with an audio backend; only embedded cards
get the luxury of a default backend that emits or records no audio at all.
Fortunately, this is easy to do with the existing "-audio" option.

Apart from some rebasing changes, the changes are:

- the "-M" option for the embedded audiodev is only added to machines
  that need it, and renamed from "default-audiodev" to just "audiodev".

- the embedded audiodev is also accessible by specifying "-audio DRIVER"
  without a model

- the audiodev option is also configurable with -readconfig

- MIPS fuloong2e and PPC pegasos2 need changes in order to expose
  the embedded audiodev, too

Paolo

Based-on: <20230922093126.264016-1-pbonzini@redhat.com>

Martin Kletzander (6):
  audio: Add easy dummy audio initialiser
  Introduce machine property "audiodev"
  hw/arm: Support machine-default audiodev with fallback
  hw/ppc: Support machine-default audiodev with fallback
  audio: Make AUD_register_card fallible and require audiodev=
  audio: Be more strict during audio backend initialisation

Paolo Bonzini (3):
  vl: support -audio BACKEND without model
  vt82c686: Support machine-default audiodev with fallback
  vl: recognize audiodev groups in configuration files

 audio/audio.c                        | 177 +++++++++++----------------
 audio/audio.h                        |   4 +-
 docs/about/deprecated.rst            |   6 -
 docs/about/removed-features.rst      |  11 +-
 docs/config/q35-emulated.cfg         |   4 +
 docs/config/q35-virtio-graphical.cfg |   4 +
 hw/arm/integratorcp.c                |  10 +-
 hw/arm/musicpal.c                    |  11 +-
 hw/arm/nseries.c                     |   4 +
 hw/arm/omap2.c                       |  10 +-
 hw/arm/palm.c                        |   2 +
 hw/arm/realview.c                    |  11 ++
 hw/arm/spitz.c                       |  12 +-
 hw/arm/versatilepb.c                 |   7 ++
 hw/arm/vexpress.c                    |   4 +
 hw/arm/xlnx-zcu102.c                 |   5 +
 hw/arm/z2.c                          |  14 ++-
 hw/audio/ac97.c                      |   6 +-
 hw/audio/adlib.c                     |   6 +-
 hw/audio/cs4231a.c                   |   6 +-
 hw/audio/es1370.c                    |   5 +-
 hw/audio/gus.c                       |   6 +-
 hw/audio/hda-codec.c                 |   5 +-
 hw/audio/lm4549.c                    |   8 +-
 hw/audio/pcspk.c                     |   4 +-
 hw/audio/sb16.c                      |   6 +-
 hw/audio/via-ac97.c                  |   6 +-
 hw/audio/wm8750.c                    |   5 +-
 hw/core/machine.c                    |  28 +++++
 hw/display/xlnx_dp.c                 |   6 +-
 hw/input/tsc210x.c                   |  10 +-
 hw/isa/vt82c686.c                    |   2 +
 hw/mips/fuloong2e.c                  |  12 +-
 hw/ppc/pegasos2.c                    |  10 +-
 hw/ppc/prep.c                        |   6 +
 hw/ppc/sam460ex.c                    |   2 +
 hw/usb/dev-audio.c                   |   5 +-
 include/hw/boards.h                  |   7 ++
 softmmu/vl.c                         |  25 +++-
 39 files changed, 315 insertions(+), 157 deletions(-)

-- 
2.41.0



^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2023-09-22 23:56 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-22  9:44 [PATCH 0/9] audio: make sound cards require the audiodev property Paolo Bonzini
2023-09-22  9:44 ` [PATCH 1/9] audio: Add easy dummy audio initialiser Paolo Bonzini
2023-09-22 11:45   ` Marc-André Lureau
2023-09-22  9:44 ` [PATCH 2/9] Introduce machine property "audiodev" Paolo Bonzini
2023-09-22  9:44 ` [PATCH 3/9] vl: support -audio BACKEND without model Paolo Bonzini
2023-09-22  9:44 ` [PATCH 4/9] hw/arm: Support machine-default audiodev with fallback Paolo Bonzini
2023-09-22  9:44 ` [PATCH 5/9] hw/ppc: " Paolo Bonzini
2023-09-22  9:44 ` [PATCH 6/9] vt82c686: " Paolo Bonzini
2023-09-22 12:16   ` BALATON Zoltan
2023-09-22 13:32     ` Paolo Bonzini
2023-09-22 23:54       ` BALATON Zoltan
2023-09-22  9:44 ` [PATCH 7/9] vl: recognize audiodev groups in configuration files Paolo Bonzini
2023-09-22  9:44 ` [PATCH 8/9] audio: Make AUD_register_card fallible and require audiodev= Paolo Bonzini
2023-09-22 11:17   ` Philippe Mathieu-Daudé
2023-09-22  9:44 ` [PATCH 9/9] audio: Be more strict during audio backend initialisation Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).