[PATCH v3 00/19] audio: deprecate -soundhw

Gerd Hoffmann posted 19 patches 2 weeks ago
Failed in applying to current master (apply log)
include/hw/audio/pcspk.h   | 12 ++----------
include/hw/audio/soundhw.h |  2 ++
include/hw/i386/pc.h       |  6 +++---
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           | 26 ++++++++++++++++++++++----
hw/audio/sb16.c            |  9 ++-------
hw/audio/soundhw.c         | 24 +++++++++++++++++++++++-
hw/i386/pc.c               | 14 ++++++++------
hw/i386/pc_piix.c          |  3 +--
hw/i386/pc_q35.c           |  3 +--
hw/isa/i82378.c            |  2 +-
qdev-monitor.c             |  2 ++
softmmu/vl.c               | 14 ++++++++------
stubs/isa-bus.c            |  7 +++++++
stubs/pci-bus.c            |  7 +++++++
docs/system/deprecated.rst |  9 +++++++++
stubs/Makefile.objs        |  2 ++
22 files changed, 110 insertions(+), 77 deletions(-)
create mode 100644 stubs/isa-bus.c
create mode 100644 stubs/pci-bus.c

[PATCH v3 00/19] audio: deprecate -soundhw

Posted by Gerd Hoffmann 2 weeks ago
v2:
 - use g_assert_not_reached() for stubs.
 - add deprecation notice.

v3:
 - rebase to latest master.
 - adapt to armbru's device initialization changes.

Gerd Hoffmann (19):
  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
  audio: add soundhw deprecation notice
  pc_basic_device_init: pass PCMachineState
  pc_basic_device_init: drop has_pit arg
  pc_basic_device_init: drop no_vmport arg
  softmmu: initialize spice and audio earlier
  audio: rework pcspk_init()
  audio: create pcspk device early, add audiodev alias.
  audio: set default value for pcspk.iobase property

 include/hw/audio/pcspk.h   | 12 ++----------
 include/hw/audio/soundhw.h |  2 ++
 include/hw/i386/pc.h       |  6 +++---
 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           | 26 ++++++++++++++++++++++----
 hw/audio/sb16.c            |  9 ++-------
 hw/audio/soundhw.c         | 24 +++++++++++++++++++++++-
 hw/i386/pc.c               | 14 ++++++++------
 hw/i386/pc_piix.c          |  3 +--
 hw/i386/pc_q35.c           |  3 +--
 hw/isa/i82378.c            |  2 +-
 qdev-monitor.c             |  2 ++
 softmmu/vl.c               | 14 ++++++++------
 stubs/isa-bus.c            |  7 +++++++
 stubs/pci-bus.c            |  7 +++++++
 docs/system/deprecated.rst |  9 +++++++++
 stubs/Makefile.objs        |  2 ++
 22 files changed, 110 insertions(+), 77 deletions(-)
 create mode 100644 stubs/isa-bus.c
 create mode 100644 stubs/pci-bus.c

-- 
2.18.4