Comment 6 for bug 591489

Revision history for this message
Tristan Schmelcher (tschmelcher) wrote : Re: QEMU_AUDIO_DRV set to none by libvirtd in Lucid

Changing to confirmed since the reporter has provided the requested information.

I too am experiencing this bug. Looking at the libvirt source code, it specifies QEMU_AUDIO_DRV=none whenever using VNC for graphics. The comments say this is because it tunnels audio over the VNC connection.

        /* QEMU implements a VNC extension for providing audio, so we
         * set the audio backend to none, to prevent it opening the
         * host OS audio devices since that causes security issues
         * and is non-sensical when using VNC.
         */
        ADD_ENV_LIT("QEMU_AUDIO_DRV=none");

However, the VNC viewer that virt-manager uses apparently doesn't support the audio extension. That's why sound is broken. (http://osdir.com/ml/fedora-virt/2010-01/msg00006.html)