Comment 11 for bug 591489

Revision history for this message
nutznboltz (nutznboltz-deactivatedaccount) wrote : Re: QEMU_AUDIO_DRV set to none by libvirtd in Lucid

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"