Re: [RFC] modular dependencies for kvm's qemu

Carlo Marcelo Arenas Belon
2007-10-16T15:36:03Z

On Tue, Oct 16, 2007 at 04:20:37PM +0200, Avi Kivity wrote:
> Carlo Marcelo Arenas Belon wrote:
> >
> >>It seems like rather
> >>a bad idea to suddenly switch the configure script defaults in the way
> >>you suggest for alsa. It really wouldn't be much harder to set
> >>enable_alsa=1
> >>in the top of configure, and then have the flag toggle it to off.
> >
> >ok, but if that is added to kvm's configure then the logic will be inversed
> >when looking at qemu's configure, probably confusing users.
>
> If audio output is going to sdl anyway, then this has no effect on most
> users, right?

it probably wouldn't work out of the box, unless they change

QEMU_AUDIO_DRV=alsa

to :

QEMU_AUDIO_DRV=sdl
SDL_AUDIODRIVER=alsa

but I never had sound support configured so I am no way expert and can't test
if that is the case or if that is the way it fallsback (will take a closer
look at the code later though).

> If so I prefer being closer to qemu as you suggest.

you mean closer as on using the same syntax, or closer as on avoiding changing
qemu unless absolutely needed?

Carlo