Instead of
QEMU_AUDIO_DRV=alsa /usr/bin/kvm.bin $@

use
QEMU_AUDIO_DRV=alsa exec /usr/bin/kvm.bin $@

also in /etc/libvirt/qemu.conf

# QEMU implements an extension for providing audio over a VNC connection,
# though if your VNC client does not support it, your only chance for getting
# sound output is through regular audio backends. By default, libvirt will
# disable all QEMU sound backends if using VNC, since they can cause
# permissions issues. Enabling this option will make libvirtd honor the
# QEMU_AUDIO_DRV environment variable when using VNC.
#
# vnc_allow_host_audio = 0

So add

vnc_allow_host_audio = 1

but that will only suppress libvirt from adding "QEMU_AUDIO_DRV=none"

-- 
QEMU_AUDIO_DRV set to none by libvirtd in Lucid
https://bugs.launchpad.net/bugs/591489
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to