Sound from KVM guest

Matthew Saltzman mjs at clemson.edu
Thu Sep 1 17:33:59 UTC 2011


On Thu, 2011-09-01 at 22:08 +0900, panicloop wrote: 
> On 09/01/2011 08:32 AM, Michael Eager wrote:
> > Hi --
> >
> > I installed Windows 7 in a KVM virtual machine running on
> > Fedora 15.  The guest is configured with an es1370 sound card.
> > Windows detected the sound device and installed drivers, but I
> > don't get any sound.
> >
> > The same thing happens when configured with an ac97 sound device.
> >
> > Any suggestions?
> >
> Please refer to
> http://fedoraproject.org/wiki/How_to_debug_Virtualization_problems#Audio_output
> 
> 1. Set selinux to permissive
> 
> 2. Add the following lines to /etc/libvirt/qemu.conf
> 
> user='foobar'
> group='foobar'
> vnc_allow_host_audio = 1
> 
> This solved my KVM guest sound problem and I can use virt-manager too.
> 
> 

While you're setting selinux to "permissive", file a bug to request that
selinux allow this type of access.  That way, in the future, you and
others will be able to do this without giving up other selinux
protections.

-- 
Matthew Saltzman
Clemson University Mathematical Sciences
mjs AT clemson DOT edu



More information about the users mailing list