Thanks Cole,

with your comments things are starting to make a bit more of sense to me.

So I now see 2 options:
  1. start qemu with the user account which will potentially mean to stop using virt-manager
  2. Install/compile the gtk-vnc version that support the audio extension (only if it's already available)
Could you provide some guidance on how to approach any of these options? i.e. How can I start qemu and the guest manually without using virt-manager? or is there gtk-vnc version available that supports the audio extension?

Cheers,

Daniel

2010/1/6 Cole Robinson <crobinso@redhat.com>
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