On Mon, Mar 8, 2010 at 11:39 PM, Thomas Goirand <thomas@goirand.fr>
wrote:> Christian Motschke wrote:
>> Hi,
>>
>> it took me ages to find the error in the build scripts, why we have no
-soundhw in qemu-dm. It is not your fault, but since month, the upstream sources
have the error. all you need is the following patch:
>>
>> --- configure 2009-12-16 19:42:32.000000000 +0100
>> +++ ../xen-3.4-testing.hg/tools/ioemu-dir/configure 2010-03-08
16:06:43.000000000 +0100
>> @@ -1382,6 +1382,9 @@
>> echo "#define CONFIG_VDE 1" >> $config_h
>> echo "VDE_LIBS=-lvdeplug" >> $config_mak
>> fi
>> +if ! test -z "$audio_card_list"; then
>> + echo "CONFIG_AUDIO=yes" >> $config_mak
>> +fi
>> for card in $audio_card_list; do
>> def=CONFIG_`echo $card | tr ''[:lower:]''
''[:upper:]''`
>> echo "$def=yes" >> $config_mak
>>
>> That''s all. This would also fix soundhw for a lot of other
people who asked for it on several mailing lists if it would be included
upstream. But i don''t know who to ask. Do you?
>>
>> Viele Grüße.
>> Christian
>
> I sure do, forwarding this to the Xen devel list. Can this be added to
> the official Git of Qemu for Xen 3.4?
>
> Thomas
________________________________________
This is a much better patch than my hard-coded version.
And setting alsa buffer_size to 16384 in the alsa sound driver
is necessary for unchopped sound.
And it would be nice to load the present sound-driver rather than
the first in the list - now one has to edit the list order and compile
Arvind
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel