[PULL 00/24] Audio, build system, misc fixes for 2023-10-03

Paolo Bonzini posted 24 patches 7 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20231003083042.110065-1-pbonzini@redhat.com
Maintainers: Paolo Bonzini <pbonzini@redhat.com>, Gerd Hoffmann <kraxel@redhat.com>, Christian Schoenebeck <qemu_oss@crudebyte.com>, "Marc-André Lureau" <marcandre.lureau@redhat.com>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, Thomas Huth <huth@tuxfamily.org>, Alexandre Ratchov <alex@caoua.org>, "Daniel P. Berrangé" <berrange@redhat.com>, "Alex Bennée" <alex.bennee@linaro.org>, Peter Maydell <peter.maydell@linaro.org>, Jan Kiszka <jan.kiszka@web.de>, Alistair Francis <alistair@alistair23.me>, "Edgar E. Iglesias" <edgar.iglesias@gmail.com>, Eduardo Habkost <eduardo@habkost.net>, Marcel Apfelbaum <marcel.apfelbaum@gmail.com>, Yanan Wang <wangyanan55@huawei.com>, Huacai Chen <chenhuacai@kernel.org>, Jiaxun Yang <jiaxun.yang@flygoat.com>, Jason Wang <jasowang@redhat.com>, "Michael S. Tsirkin" <mst@redhat.com>, BALATON Zoltan <balaton@eik.bme.hu>, "Hervé Poussineau" <hpoussin@reactos.org>, Fam Zheng <fam@euphon.net>, Wainer dos Santos Moschetta <wainersm@redhat.com>, Beraldo Leal <bleal@redhat.com>, Richard Henderson <richard.henderson@linaro.org>, Alexandre Iooss <erdnaxe@crans.org>, Mahmoud Mandour <ma.mandourr@gmail.com>
accel/kvm/kvm-all.c              |  32 ++-
audio/alsaaudio.c                |   3 +-
audio/audio-hmp-cmds.c           |   6 +-
audio/audio.c                    | 246 ++++++++--------
audio/audio.h                    |   7 +-
audio/audio_int.h                |   7 +-
audio/audio_legacy.c             | 591 ---------------------------------------
audio/audio_template.h           |   9 +-
audio/coreaudio.m                |   3 +-
audio/dbusaudio.c                |   3 +-
audio/dsoundaudio.c              |   3 +-
audio/jackaudio.c                |   3 +-
audio/meson.build                |   1 -
audio/noaudio.c                  |   3 +-
audio/ossaudio.c                 |  12 +-
audio/paaudio.c                  |   8 +-
audio/pwaudio.c                  |  17 +-
audio/sdlaudio.c                 |   6 +-
audio/sndioaudio.c               |   3 +-
audio/spiceaudio.c               |   5 +-
audio/wavaudio.c                 |   3 +-
crypto/meson.build               |   3 +-
docs/about/deprecated.rst        |  16 +-
docs/about/removed-features.rst  |  12 +
gdbstub/meson.build              |   4 +-
hw/arm/integratorcp.c            |  11 +-
hw/arm/musicpal.c                |  11 +-
hw/arm/nseries.c                 |   4 +
hw/arm/omap2.c                   |   7 +-
hw/arm/palm.c                    |   2 +
hw/arm/realview.c                |  12 +
hw/arm/spitz.c                   |  17 +-
hw/arm/versatilepb.c             |   8 +
hw/arm/vexpress.c                |   5 +
hw/arm/xlnx-zcu102.c             |   6 +
hw/arm/z2.c                      |  15 +-
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                |  33 +++
hw/core/qdev-properties-system.c |  16 +-
hw/display/xlnx_dp.c             |   6 +-
hw/input/tsc210x.c               |   7 +-
hw/mips/fuloong2e.c              |  15 +-
hw/net/e1000.c                   |  79 ++----
hw/nvram/meson.build             |   6 +-
hw/pci-host/i440fx.c             |   8 -
hw/pci-host/q35.c                |   7 -
hw/ppc/pegasos2.c                |  12 +-
hw/ppc/prep.c                    |   7 +
hw/scsi/esp.c                    |   5 +-
hw/scsi/scsi-disk.c              |   4 +
hw/usb/dev-audio.c               |   5 +-
include/hw/boards.h              |   9 +
include/hw/pci-host/q35.h        |   1 -
meson.build                      |  14 +-
pc-bios/optionrom/Makefile       |   2 +-
qemu-options.hx                  |  10 -
scripts/archive-source.sh        |   2 +-
scripts/make-release             |   2 +-
softmmu/vl.c                     |   8 +-
tcg/meson.build                  |   4 +-
tests/Makefile.include           |   2 +-
tests/meson.build                |   5 +-
tests/plugin/meson.build         |  18 +-
ui/dbus.c                        |   3 +-
ui/vnc.c                         |  14 +-
ui/vnc.h                         |   2 +
76 files changed, 515 insertions(+), 958 deletions(-)
delete mode 100644 audio/audio_legacy.c
[PULL 00/24] Audio, build system, misc fixes for 2023-10-03
Posted by Paolo Bonzini 7 months ago
The following changes since commit 36e9aab3c569d4c9ad780473596e18479838d1aa:

  migration: Move return path cleanup to main migration thread (2023-09-27 13:58:02 -0400)

are available in the Git repository at:

  https://gitlab.com/bonzini/qemu.git tags/for-upstream

for you to fetch changes up to 9f8cf356723702272af124e621e4c0e9805c8e22:

  audio: forbid default audiodev backend with -nodefaults (2023-10-03 10:29:40 +0200)

----------------------------------------------------------------
* fix from optionrom build
* fix for KVM on Apple M2
* introduce machine property "audiodev"
* ui/vnc: Require audiodev= to enable audio
* audio: remove QEMU_AUDIO_* and -audio-help support
* audio: forbid using default audiodev backend with -audiodev and -nodefaults
* remove compatibility code for old machine types
* make-release: do not ship dtc sources
* build system cleanups

----------------------------------------------------------------
Akihiko Odaki (1):
      accel/kvm/kvm-all: Handle register access errors

Fabiano Rosas (1):
      optionrom: Remove build-id section

Mark Cave-Ayland (3):
      esp: use correct type for esp_dma_enable() in sysbus_esp_gpio_demux()
      esp: restrict non-DMA transfer length to that of available data
      scsi-disk: ensure that FORMAT UNIT commands are terminated

Martin Kletzander (5):
      audio: Require AudioState in AUD_add_capture
      Introduce machine property "audiodev"
      hw/arm: Support machine-default audiodev with fallback
      hw/ppc: Support machine-default audiodev with fallback
      audio: propagate Error * out of audio_init

Paolo Bonzini (14):
      e1000: remove old compatibility code
      pc: remove short_root_bus property
      make-release: do not ship dtc sources
      meson: clean up static_library keyword arguments
      Makefile: build plugins before running TCG tests
      crypto: only include tls-cipher-suites in emulators
      ui/vnc: Require audiodev= to enable audio
      audio: allow returning an error from the driver init
      audio: return Error ** from audio_state_by_name
      audio: commonize voice initialization
      audio: simplify flow in audio_init
      audio: remove QEMU_AUDIO_* and -audio-help support
      vt82c686 machines: Support machine-default audiodev with fallback
      audio: forbid default audiodev backend with -nodefaults

 accel/kvm/kvm-all.c              |  32 ++-
 audio/alsaaudio.c                |   3 +-
 audio/audio-hmp-cmds.c           |   6 +-
 audio/audio.c                    | 246 ++++++++--------
 audio/audio.h                    |   7 +-
 audio/audio_int.h                |   7 +-
 audio/audio_legacy.c             | 591 ---------------------------------------
 audio/audio_template.h           |   9 +-
 audio/coreaudio.m                |   3 +-
 audio/dbusaudio.c                |   3 +-
 audio/dsoundaudio.c              |   3 +-
 audio/jackaudio.c                |   3 +-
 audio/meson.build                |   1 -
 audio/noaudio.c                  |   3 +-
 audio/ossaudio.c                 |  12 +-
 audio/paaudio.c                  |   8 +-
 audio/pwaudio.c                  |  17 +-
 audio/sdlaudio.c                 |   6 +-
 audio/sndioaudio.c               |   3 +-
 audio/spiceaudio.c               |   5 +-
 audio/wavaudio.c                 |   3 +-
 crypto/meson.build               |   3 +-
 docs/about/deprecated.rst        |  16 +-
 docs/about/removed-features.rst  |  12 +
 gdbstub/meson.build              |   4 +-
 hw/arm/integratorcp.c            |  11 +-
 hw/arm/musicpal.c                |  11 +-
 hw/arm/nseries.c                 |   4 +
 hw/arm/omap2.c                   |   7 +-
 hw/arm/palm.c                    |   2 +
 hw/arm/realview.c                |  12 +
 hw/arm/spitz.c                   |  17 +-
 hw/arm/versatilepb.c             |   8 +
 hw/arm/vexpress.c                |   5 +
 hw/arm/xlnx-zcu102.c             |   6 +
 hw/arm/z2.c                      |  15 +-
 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                |  33 +++
 hw/core/qdev-properties-system.c |  16 +-
 hw/display/xlnx_dp.c             |   6 +-
 hw/input/tsc210x.c               |   7 +-
 hw/mips/fuloong2e.c              |  15 +-
 hw/net/e1000.c                   |  79 ++----
 hw/nvram/meson.build             |   6 +-
 hw/pci-host/i440fx.c             |   8 -
 hw/pci-host/q35.c                |   7 -
 hw/ppc/pegasos2.c                |  12 +-
 hw/ppc/prep.c                    |   7 +
 hw/scsi/esp.c                    |   5 +-
 hw/scsi/scsi-disk.c              |   4 +
 hw/usb/dev-audio.c               |   5 +-
 include/hw/boards.h              |   9 +
 include/hw/pci-host/q35.h        |   1 -
 meson.build                      |  14 +-
 pc-bios/optionrom/Makefile       |   2 +-
 qemu-options.hx                  |  10 -
 scripts/archive-source.sh        |   2 +-
 scripts/make-release             |   2 +-
 softmmu/vl.c                     |   8 +-
 tcg/meson.build                  |   4 +-
 tests/Makefile.include           |   2 +-
 tests/meson.build                |   5 +-
 tests/plugin/meson.build         |  18 +-
 ui/dbus.c                        |   3 +-
 ui/vnc.c                         |  14 +-
 ui/vnc.h                         |   2 +
 76 files changed, 515 insertions(+), 958 deletions(-)
 delete mode 100644 audio/audio_legacy.c
-- 
2.41.0
Re: [PULL 00/24] Audio, build system, misc fixes for 2023-10-03
Posted by Michael Tokarev 7 months ago
03.10.2023 11:30, Paolo Bonzini:
> ----------------------------------------------------------------
> * fix from optionrom build
> * fix for KVM on Apple M2
> * introduce machine property "audiodev"
> * ui/vnc: Require audiodev= to enable audio
> * audio: remove QEMU_AUDIO_* and -audio-help support
> * audio: forbid using default audiodev backend with -audiodev and -nodefaults
> * remove compatibility code for old machine types
> * make-release: do not ship dtc sources
> * build system cleanups
> 
> ----------------------------------------------------------------
> Akihiko Odaki (1):
>        accel/kvm/kvm-all: Handle register access errors
> 
> Fabiano Rosas (1):
>        optionrom: Remove build-id section
> 
> Mark Cave-Ayland (3):
>        esp: use correct type for esp_dma_enable() in sysbus_esp_gpio_demux()
>        esp: restrict non-DMA transfer length to that of available data
>        scsi-disk: ensure that FORMAT UNIT commands are terminated
> 
> Martin Kletzander (5):
>        audio: Require AudioState in AUD_add_capture
>        Introduce machine property "audiodev"
>        hw/arm: Support machine-default audiodev with fallback
>        hw/ppc: Support machine-default audiodev with fallback
>        audio: propagate Error * out of audio_init
> 
> Paolo Bonzini (14):
>        e1000: remove old compatibility code
>        pc: remove short_root_bus property
>        make-release: do not ship dtc sources
>        meson: clean up static_library keyword arguments
>        Makefile: build plugins before running TCG tests
>        crypto: only include tls-cipher-suites in emulators
>        ui/vnc: Require audiodev= to enable audio
>        audio: allow returning an error from the driver init
>        audio: return Error ** from audio_state_by_name
>        audio: commonize voice initialization
>        audio: simplify flow in audio_init
>        audio: remove QEMU_AUDIO_* and -audio-help support
>        vt82c686 machines: Support machine-default audiodev with fallback
>        audio: forbid default audiodev backend with -nodefaults

I'm picking the following items:

  Fabiano Rosas (1):
         optionrom: Remove build-id section

  Mark Cave-Ayland (3):
         esp: use correct type for esp_dma_enable() in sysbus_esp_gpio_demux()
         esp: restrict non-DMA transfer length to that of available data
         scsi-disk: ensure that FORMAT UNIT commands are terminated

for -stable (both 7.2 & 8.1).

Thanks,

/mjt
Re: [PULL 00/24] Audio, build system, misc fixes for 2023-10-03
Posted by Stefan Hajnoczi 7 months ago
Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/8.2 for any user-visible changes.