xemu/audio
Volker Rümelin 0cbc8bd469 audio: remove abort() in audio_bug()
Commit ab32b78cd1 "audio: Simplify audio_bug() removing old code"
introduced abort() in audio_bug() for regular builds.

audio_bug() was never meant to abort QEMU for the following
reasons.

  - There's code in audio_bug() that expects audio_bug() gets
    called more than once with error condition true. The variable
    'shown' is only 0 on first error.

  - All call sites test the return code of audio_bug(), print
    an error context message and handle the errror.

  - The abort() in audio_bug() enables a class of guest-triggered
    aborts similar to the Launchpad Bug #1910603 at
    https://bugs.launchpad.net/bugs/1910603.

Fixes: ab32b78cd1 "audio: Simplify audio_bug() removing old code"
Buglink: https://bugs.launchpad.net/bugs/1910603
Signed-off-by: Volker Rümelin <vr_qemu@t-online.de>
Message-Id: <20220917131626.7521-2-vr_qemu@t-online.de>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2022-09-27 07:32:31 +02:00
..
alsaaudio.c
audio.c audio: remove abort() in audio_bug() 2022-09-27 07:32:31 +02:00
audio.h
audio_int.h
audio_legacy.c
audio_template.h Revert "audio: Log context for audio bug" 2022-09-27 07:32:31 +02:00
audio_win_int.c
audio_win_int.h
coreaudio.m
dbusaudio.c
dsound_template.h
dsoundaudio.c
jackaudio.c
meson.build audio: Add sndio backend 2022-09-27 07:32:31 +02:00
mixeng.c
mixeng.h
mixeng_template.h
noaudio.c
ossaudio.c
paaudio.c
rate_template.h
sdlaudio.c
sndioaudio.c audio: Add sndio backend 2022-09-27 07:32:31 +02:00
spiceaudio.c
trace-events
trace.h
wavaudio.c
wavcapture.c