[fedora-virt] Fedora 12 host and windowsXP guest - No Sound from guest

Cole Robinson crobinso at redhat.com
Wed Jan 6 15:03:00 UTC 2010


On 12/30/2009 05:58 AM, Daniel Sanabria wrote:
> thanks Dor,
> 
> looking at the logs you seem to have a point:
> 
> LC_ALL=C PATH=/sbin:/usr/sbin:/bin:/usr/bin QEMU_AUDIO_DRV=none
> /usr/bin/qemu-kvm -S -M pc-0.11 -m 1024 -smp 1 -name winxp -uuid 8
> 8b53573-a3c1-3e12-8703-ea3fc8580493 -monitor
> unix:/var/lib/libvirt/qemu/winxp.monitor,server,nowait -localtime -boot c
> -drive file
> =/var/lib/libvirt/images/winxp.img,if=ide,index=0,boot=on,format=raw -drive
> file=/home/daniel/ISO/WINXP_SP2_PRO.iso,if=ide,media=c
> drom,index=2 -net nic,macaddr=52:54:00:62:66:ed,vlan=0,name=nic.0 -net
> tap,fd=18,vlan=0,name=tap.0 -serial pty -parallel none -usb
>  -usbdevice tablet -vnc 127.0.0.1:1 -k en-gb -vga cirrus -soundhw es1370
> 
> I noticed the QEMU_AUDIO_DRV=none variable here which is how virt-manager is
> trying to start the vm. Shouldn't that be QEMU_AUDIO_DRV=pa in the case of
> Fedora 12? How can I change that value, so virt-manager starts the vm
> correctly?
> 

There is some more info here:

https://bugzilla.redhat.com/show_bug.cgi?id=508317

Basically, trying to use the 'pa' backend can upset selinux, and doesn't
easily work if the qemu binary isn't running under the user acct (which
it likely isn't if you are using virt-manager). So, if you are using
VNC, we set QEMU_AUDIO_DRV=none, which will attempt to route audio over
VNC. However the gtk-vnc version in F12 doesn't support the audio
extension yet, so you won't hear anything :(

- Cole




More information about the Fedora-virt mailing list