On Tue, Dec 13, 2011 at 12:55 PM, Erik Lotspeich <erik.lotspe...@gmail.com> wrote: > On Tue, Dec 13, 2011 at 2:06 AM, Stefan Hajnoczi <stefa...@gmail.com> wrote: >> Please post your QEMU command-line (you can find it with "ps aux | grep >> qemu"). >> >> If you are running through libvirt/virsh/virt-manager there may be >> permission requirements since the guest can be set to run as an >> unprivileged user without access to audio devices. That's just a guess >> but worth looking into. > > Here's my qemu command line: > > qemu 5294 19.6 25.7 2444808 2101252 ? Sl 06:47 1:00 ^^ Libvirt is running the qemu-kvm process as user 'qemu'. Does that user have the necessary groups (e.g. 'audio')?
On my system the unprivileged user is called 'libvirt-qemu' and here's what I get: $ id libvirt-qemuuid=105(libvirt-qemu) gid=112(kvm) groups=112(kvm) You may need to add 'qemu' to group 'audio' or whatever is necessary to let it access ALSA devices or talk to a sound daemon. Stefan