Sound from KVM guest

Daniel J Walsh dwalsh at redhat.com
Thu Sep 1 18:11:35 UTC 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 09/01/2011 01:33 PM, Matthew Saltzman wrote:
> 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.
> 
What AVC messages are you seeing?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk5fytcACgkQrlYvE4MpobMFzwCgn38lZKz/b9fRIHn7xAeXVqO/
PG8AnAtGHYsGh3QuiMU7uUvHwRDoR8rk
=Y0Xq
-----END PGP SIGNATURE-----


More information about the users mailing list