Skip to content

RFC audio: simplify -soundhw machinery, use default-configs

Paolo Bonzini qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest6 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6adlib: qdev-ifyhw/adlib.c+64 -183 replies
2/6audio: remove the need for audio card CONFIG_* symbolsarch_init.c configure hw/ac97.c +10 more+64 -1500 replies
3/6audio: remove HAS_AUDIOarch_init.c configure hmp-commands.hx +1 more+0 -230 replies
4/6audio: remove CONFIG_* symbolsconfigure+0 -92 replies
5/6audio: replace audio card configuration with default-configsconfigure default-configs/i386-softmmu.mak default-configs/mips-softmmu.mak +9 more+23 -260 replies
6/6audio: move PCI audio cards to pci.makdefault-configs/pci.mak default-configs/sound.mak+3 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [RFC PATCH 0/6] audio: simplify -soundhw machinery, use default-configs

This avoids audio-specific hacks in configure, so that the same mechanism is used for all targets and all devices.

Not yet tested enough, hence RFC.

Paolo

Paolo Bonzini (6):
adlib: qdev-ify
audio: remove the need for audio card CONFIG_* symbols
audio: remove HAS_AUDIO
audio: remove CONFIG_* symbols
audio: replace audio card configuration with default-configs
audio: move PCI audio cards to pci.mak

 arch_init.c                          | 145 ++++++++---------------------------
 configure                            |  30 --------
 default-configs/i386-softmmu.mak     |   2 +-
 default-configs/mips-softmmu.mak     |   2 +-
 default-configs/mips64-softmmu.mak   |   2 +-
 default-configs/mips64el-softmmu.mak |   2 +-
 default-configs/mipsel-softmmu.mak   |   2 +-
 default-configs/pci.mak              |   3 +
 default-configs/ppc-softmmu.mak      |   2 +-
 default-configs/ppc64-softmmu.mak    |   2 +-
 default-configs/ppcemb-softmmu.mak   |   2 +-
 default-configs/sound.mak            |   4 +
 default-configs/x86_64-softmmu.mak   |   2 +-
 hmp-commands.hx                      |   4 -
 hw/Makefile.objs                     |  17 ++--
 hw/ac97.c                            |   3 +-
 hw/adlib.c                           |  83 +++++++++++++++-----
 hw/audiodev.h                        |  23 +-----
 hw/cs4231a.c                         |   3 +-
 hw/es1370.c                          |   3 +-
 hw/gus.c                             |   3 +-
 hw/intel-hda.c                       |  22 +++---
 hw/pcspk.c                           |   4 +-
 hw/pcspk.h                           |   2 -
 hw/sb16.c                            |   3 +-
 hw/usb/dev-audio.c                   |   1 -
 monitor.c                            |   2 -
 27 files changed, 149 insertions(+), 224 deletions(-)
 create mode 100644 default-configs/sound.mak
Signature · 1 line
1.8.1.4