fedora 10 no sound after resume

If you suspend fedora then when resumed no audio is coming out, then it may be the same that i had and this si how i solved it!

no sound! check pulseaudio utility called "pavucontrol"

it showed me that the output device available is "Null output" which meant that pulseaudio is not able to take hold of the sound device

$killall pulseaudio
$ pulseaudio I: caps.c: Limited capabilities successfully to CAP_SYS_NICE.
I: caps.c: Dropping root privileges.
I: caps.c: Limited capabilities successfully to CAP_SYS_NICE.
E: alsa-util.c: Error opening PCM device hw:0: Device or resource busy
E: module.c: Failed to load  module "module-alsa-sink" (argument: "device_id=0 sink_name=alsa_output.pci_8086_284b_sound_card_0_alsa_playback_0 tsched=1"): initialization failed.

ok this shows that the device is already in use

# fuser -v /dev/dsp 
                     USER        PID ACCESS COMMAND
/dev/dsp:            root       9669 F.... qemu-kvm

So it is KVM teh guilty one! i had 2 virtual machines running. they did not need sound but the xml defines a sound card (which is the default config done by virtula-machine-manager)

so i stopped both virtual machines

modified the xml file to remove the sound

started them again

and pulseaudio is ok now