* [Qemu-devel] [PATCH v2] audio: don't build alsa and sdl by default on linux
@ 2019-02-19 12:42 Gerd Hoffmann
2019-02-19 13:01 ` Daniel P. Berrangé
2019-02-19 13:06 ` David Hildenbrand
0 siblings, 2 replies; 3+ messages in thread
From: Gerd Hoffmann @ 2019-02-19 12:42 UTC (permalink / raw)
To: qemu-devel; +Cc: berrange, Gerd Hoffmann, david
In case no sound hardware is present both alsa and sdl drivers
initialize successfully and throw errors later on, i.e. effectively
the automatic probing doesn't work. Drop them from the list of
default audio drivers for linux because of that.
Fixes: 6a48541873 audio: probe audio drivers by default
Buglink: https://bugs.launchpad.net/qemu/+bug/1816052
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
configure | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure b/configure
index fbd0825488..651b4f7514 100755
--- a/configure
+++ b/configure
@@ -877,7 +877,7 @@ Haiku)
LIBS="-lposix_error_mapper -lnetwork $LIBS"
;;
Linux)
- audio_drv_list="try-pa try-alsa try-sdl oss"
+ audio_drv_list="try-pa oss"
audio_possible_drivers="oss alsa sdl pa"
linux="yes"
linux_user="yes"
--
2.9.3
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] [PATCH v2] audio: don't build alsa and sdl by default on linux
2019-02-19 12:42 [Qemu-devel] [PATCH v2] audio: don't build alsa and sdl by default on linux Gerd Hoffmann
@ 2019-02-19 13:01 ` Daniel P. Berrangé
2019-02-19 13:06 ` David Hildenbrand
1 sibling, 0 replies; 3+ messages in thread
From: Daniel P. Berrangé @ 2019-02-19 13:01 UTC (permalink / raw)
To: Gerd Hoffmann; +Cc: qemu-devel, david
On Tue, Feb 19, 2019 at 01:42:57PM +0100, Gerd Hoffmann wrote:
> In case no sound hardware is present both alsa and sdl drivers
> initialize successfully and throw errors later on, i.e. effectively
> the automatic probing doesn't work. Drop them from the list of
> default audio drivers for linux because of that.
>
> Fixes: 6a48541873 audio: probe audio drivers by default
> Buglink: https://bugs.launchpad.net/qemu/+bug/1816052
> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
> ---
> configure | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/configure b/configure
> index fbd0825488..651b4f7514 100755
> --- a/configure
> +++ b/configure
> @@ -877,7 +877,7 @@ Haiku)
> LIBS="-lposix_error_mapper -lnetwork $LIBS"
> ;;
> Linux)
> - audio_drv_list="try-pa try-alsa try-sdl oss"
> + audio_drv_list="try-pa oss"
> audio_possible_drivers="oss alsa sdl pa"
> linux="yes"
> linux_user="yes"
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] [PATCH v2] audio: don't build alsa and sdl by default on linux
2019-02-19 12:42 [Qemu-devel] [PATCH v2] audio: don't build alsa and sdl by default on linux Gerd Hoffmann
2019-02-19 13:01 ` Daniel P. Berrangé
@ 2019-02-19 13:06 ` David Hildenbrand
1 sibling, 0 replies; 3+ messages in thread
From: David Hildenbrand @ 2019-02-19 13:06 UTC (permalink / raw)
To: Gerd Hoffmann, qemu-devel
On 19.02.19 13:42, Gerd Hoffmann wrote:
> In case no sound hardware is present both alsa and sdl drivers
> initialize successfully and throw errors later on, i.e. effectively
> the automatic probing doesn't work. Drop them from the list of
> default audio drivers for linux because of that.
>
> Fixes: 6a48541873 audio: probe audio drivers by default
> Buglink: https://bugs.launchpad.net/qemu/+bug/1816052
> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
> ---
> configure | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/configure b/configure
> index fbd0825488..651b4f7514 100755
> --- a/configure
> +++ b/configure
> @@ -877,7 +877,7 @@ Haiku)
> LIBS="-lposix_error_mapper -lnetwork $LIBS"
> ;;
> Linux)
> - audio_drv_list="try-pa try-alsa try-sdl oss"
> + audio_drv_list="try-pa oss"
> audio_possible_drivers="oss alsa sdl pa"
> linux="yes"
> linux_user="yes"
>
It makes it work under my crazy environment again.
Tested-by: David Hildenbrand <david@redhat.com>
--
Thanks,
David / dhildenb
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-02-19 13:06 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-19 12:42 [Qemu-devel] [PATCH v2] audio: don't build alsa and sdl by default on linux Gerd Hoffmann
2019-02-19 13:01 ` Daniel P. Berrangé
2019-02-19 13:06 ` David Hildenbrand
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.