CentOS 5 :: No Sound In Kvm Guest?May 1, 2010
I'm running CentOS 5.4 with kvm and 1 Ubuntu 9.10 guest. I haven't gotten any sound from the start. I've done quite a bit of research and troubleshooting but have taken this as far as I can at this point. To start there was no virtual sound card, but after enough digging I found the option in virt-manager that creates that, created a new guest with sound and copied the line from the xml config file to my existing guest. The line I added in virsh was <sound model='ac97'/> And the virtual sound card now shows up properly in the guest, but still no sound in the guest. Sound works fine in the host so no hardware issues.
Next I followed the instructions here: [URL].. making sure to check the volume controls and user permissions, still no sound. I read somewhere on the net that SElinux messes up the sound, so I disabled SElinux on the host for testing purposes, but no joy. I also tried using modprobe snd-pcm-oss on my host but that didn't return any output so I'm not sure if that did anything. In short I've been shooting the dark trying different things and if anyone has an idea I haven't tried yet, I'd like to hear it.
I also found this on the net: [URL]... But this seems to refer to slackware and I have no idea which config file they are even talking about. I don't think it applies to me but who knows?