From: Paolo Bonzini <pbonzini@redhat.com>
To: qemu-devel@nongnu.org
Cc: mkletzan@redhat.com
Subject: [PATCH 0/9] audio: make sound cards require the audiodev property
Date: Fri, 22 Sep 2023 11:44:50 +0200 [thread overview]
Message-ID: <20230922094459.265509-1-pbonzini@redhat.com> (raw)
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
next reply other threads:[~2023-09-22 9:46 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-22 9:44 Paolo Bonzini [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230922094459.265509-1-pbonzini@redhat.com \
--to=pbonzini@redhat.com \
--cc=mkletzan@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).