[Bug 393430] Re: kvm: please prefer ALSA over OSS
Arie Skliarouk
skliarie at gmail.com
Wed Sep 23 18:14:36 BST 2009
After installation of qemu-kvm package from karmic (version 0.11.0~rc2-0ubuntu9) the situation is better, as order of the audio driver has changed (I am not sure that it matters):
# kvm -audio-help | grep ^Name
Name: alsa
Name: pa
Name: oss
Name: sdl
Name: none
Name: wav
#
I hear audio on host machine (pulseaudio is running).
Any operations on audio card from audio-enabled virtual machines lock up (apparently awaiting on on access to the audio card).
KVM uses pulseaudio:
# lsof | grep kvm | grep puls
lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/gavri/.gvfs
Output information may be incomplete.
kvm 5221 root mem REG 8,1 389688 12067104 /usr/lib/libpulse.so.0.7.1
kvm 5221 root mem REG 8,1 72992 12067250 /usr/lib/libpulse-simple.so.0.0.2
kvm 5231 root mem REG 8,1 389688 12067104 /usr/lib/libpulse.so.0.7.1
kvm 5231 root mem REG 8,1 72992 12067250 /usr/lib/libpulse-simple.so.0.0.2
kvm 7921 root mem REG 8,1 389688 12067104 /usr/lib/libpulse.so.0.7.1
kvm 7921 root mem REG 8,1 72992 12067250 /usr/lib/libpulse-simple.so.0.0.2
#
# ps awx | grep 7921
7921 ? Sl 0:31 /usr/bin/kvm -S -M pc -cpu qemu32 -m 512 -smp 1 -name gavri-xp -uuid affe5dd7-8576-370b-80ed-50f50d0b5dbe -monitor unix:/var/run/libvirt/qemu/gavri-xp.monitor,server,nowait -localtime -no-acpi -boot c -drive file=/var/tmp/vmachines/gavri-xp.img,if=ide,index=0,boot=on -drive file=/var/tmp/vmachines/winxp_sp2.iso,if=ide,media=cdrom,index=2 -net nic,macaddr=54:52:00:16:97:75,vlan=0,name=nic.0 -net tap,fd=28,vlan=0,name=tap.0 -serial pty -parallel none -usb -usbdevice tablet -vnc 127.0.0.1:1 -k en-us -vga cirrus -soundhw es1370
#
--
kvm: please prefer ALSA over OSS
https://bugs.launchpad.net/bugs/393430
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to kvm in ubuntu.
More information about the Ubuntu-server-bugs
mailing list