Hi Gerd,
On 4/29/20 1:02 PM, Gerd Hoffmann wrote:
Gerd Hoffmann (12):
stubs: add isa_create_simple
stubs: add pci_create_simple
audio: add deprecated_register_soundhw
audio: deprecate -soundhw ac97
audio: deprecate -soundhw es1370
audio: deprecate -soundhw adlib
audio: deprecate -soundhw cs4231a
audio: deprecate -soundhw gus
audio: deprecate -soundhw sb16
audio: deprecate -soundhw hda
audio: deprecate -soundhw pcspk
[RFC] audio: try use onboard audiodev for pcspk
I don't understand what you are trying to fix with this series.
I suppose there is a problem with the pcspk, as I had a problem when I
tried to make the soundhw more QOM-friendly. pcspk needs rethink and
some work so I didn't finished. Also I had a problem with intel-hda. I
see in your series both are handled differently. I'll send the patch
with the broken code marked XXX, maybe you can it figure out.
include/hw/audio/soundhw.h | 2 ++
hw/audio/ac97.c | 9 ++-------
hw/audio/adlib.c | 8 +-------
hw/audio/cs4231a.c | 8 +-------
hw/audio/es1370.c | 9 ++-------
hw/audio/gus.c | 8 +-------
hw/audio/intel-hda.c | 3 +++
hw/audio/pcspk.c | 27 ++++++++++++++++++++++++---
hw/audio/sb16.c | 9 ++-------
hw/audio/soundhw.c | 24 +++++++++++++++++++++++-
qdev-monitor.c | 2 ++
stubs/isa-bus.c | 7 +++++++
stubs/pci-bus.c | 7 +++++++
stubs/Makefile.objs | 2 ++
14 files changed, 79 insertions(+), 46 deletions(-)
create mode 100644 stubs/isa-bus.c
create mode 100644 stubs/pci-bus.c