Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have Ubuntu 11.10 installed on my work laptop. I have a Windows 7 (32 bit) guest OS installed using Virt-Manager.

Everything works fine, EXCEPT sound.

AC97 hardware is configured in the guest OS Virt-Manager profile AND Windows sees AC97 as the hardware in the guest OS when it is running. If you run audio tests in Windows, it acts like it is working.

I just don't hear anything coming out of the speakers.

Someone has to have been able to get Windows sound (in a guest OS under KVM with the qemu emulator running).

Please share how you did it.

share|improve this question
Setting up the SPICE packages to run with KVM from the ubuntu packages and then configuring sound and video to use the SPICE drivers appears to have solved this problem. – Jim Jul 23 '15 at 15:03

This is a known bug with KVM, and there are several bug reports and potential work arounds.

Some people have reported using alternate sound drivers, the es1370 in particular.

If that does not work , try editing /etc/libvirt/qemu.conf and changing vnc_allow_host_audio = 0 to

vnc_allow_host_audio = 1

Restart libvirtd or reboot.

For additional information , see these links.

share|improve this answer

Actually, if anything it's a bug with the /etc/apparmor.d/ profiles for libvirt.

Near as I can tell apparmor gleefully stomps Qemu/KVMs access to pulseaudio even if you try to do the right thing and set the respective profiles into complain mode with aa-complain (you need to sudo apt-get install apparmor-utils to even have that command but as it turns out it is a waste of time).

To make a long story short - as of March 2012 on Ubuntu 11.10 you have a choice between apparmor and KVM guest sound for Windows 7.

Also, in addition to the qemu.conf change above, you should also bypass any other perms issues by explicitly setting:

user = "yourlogin"
group = "yourlogin"

as well. Reboot. You'll be able to hear things.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.