On 25/04/2018 16:49, Tim Tassonis wrote:
On 04/25/2018 04:33 PM, Pierre Labastie wrote:
On 25/04/2018 11:38, Tim Tassonis wrote:
On 04/25/2018 10:17 AM, Pierre Labastie wrote:
On 25/04/2018 00:44, Tim Tassonis wrote:
Hi all

I just saw that qemu 2.12.0 was released and since 2.11.0 had a stupid keyboard bug that always printed a capital "K" on Shift-6, and the 2.12.0 rc
releases fixed that, I created an update ticket and assigned itto me.

I hope that this ok. I will of course change the audio driver list, as suggested by Xi Ruoyao, to support pulseaudio. My suggestion is to still keep
alsa support alongside pulseaudio, is that ok with everyone?


OK with me. Just, if pulseaudio is needed for qemu, it should be promoted to
recommended.


It is not, it is fully optional.

Well, I'm not sure what the conclusion of the other thread is:
if I understand correctly, using "--audio-drv-list=alsa" for qemu when
pulseaudio is running may result in a deadlock.
So , you suggested using "--audio-drv-list=alsa,pa", didn't you?
I guess this allows to choose between alsa and pulseaudio at runtime.

Yes, that seems to be the case. It is done via the env variable QEMU_AUDIO_DRV, which can have either alsa or pa as value.


If you want, I can add this info to the page.

Maybe just add that to command explanations (BTW, why are there two entries for --audio-drv-list?).

What I'd suggest is:
<parameter>--audio-drv-list</parameter>: this switch [...] OSS.
Support for pulseaudio may be added by using <parameter>--audio-drv-list=alsa,pa</parameter>. Choosing the audio driver is then done at run time by setting the <envar> QEMU_AUDIO_DRV</envar> variable. If alsa is not needed, use just <parameter>--audio-drv-list=pa</parameter>.

and remove the other entry. But feel free to not follow this advice.

I have now build my qemu with --audio-drv-list=alsa,pa and it linked against both alsa and pulseaudio.


Now I see you have only modified the command explanations in qemu,
but not the instructions themselves. In this case, pulseaudio is still optional.

But if "--audio-drv-list=alsa,pa" is in the instructions,
then pulseaudio should be recommended, I think.

I would really not want to recommend pulseaudio as a dependency of qemu, as I think that most people (including me) don't use qemu for sound stuff anyway. But I might be wrong.

I usually don't care about sound in my vm's, just on my host system.


So do I, except when I test LFS builds of alsa of pulseaudio in VM's ;) I would need too many machines if I were not using VM's for tests...

Pierre
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to