> The qemu monitor prints "alsa: Unexpected state 1" in a tight busy > loop when running kvm with "-soundhw ac97". This loop consumes so > much CPU that it slows down the virtual machine, and the large > number of error messages makes the monitor useless.
I'm experiencing a variant on this, with qemu-kvm in Squeeze, that may or may not be related. Instead of the messages spewing through the monitor, they're going to stderr; the CPU is pegged as long as sound output is enabled. I'm able to reproduce using pretty much anything in the VM. Lenny, Windows.. It behaves differently on each operating system, and sometimes depends on when or if sound is actually produced. I can run down some specifics on each if it would help. It seems to be happening with the newer version of kvm that just came down into squeeze (0.12.5+dfsg-1) as well as qemu invoked with -enable-kvm. The messages stop with the new version but the CPU is still pegged. Here's how I invoke my lenny machine: -- #!/bin/bash export QEMU_AUDIO_DRV=oss kvm -m 768 -vga cirrus -soundhw ac97 -net nic,model=ne2k_pci -net user -hda debian-secondary.img -cdrom 1.iso -boot c -- Setting QEMU_AUDIO_DRV to oss, everything behaves very well. Chance -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org