Description of problem: I've been running a KVM/SPICE Windows XP guest since Fedora 12 or so -- not using libvirt, just a script that calls qemu-kvm directly. There have been a couple of bumps in the road (SPICE protocol change and qemu syntax change), but nothing I haven't been able to figure out ... until now. With the recent Rawhide update, I can't run any SPICE guest. qemu-kvm crashes hard, apparently when the guest tries to load the QXL driver. Version-Release number of selected component (if applicable): qemu-kvm-0.14.0-0.1.201102107aa8c46.fc15.x86_64 How reproducible: 100% Steps to Reproduce: 1. Attempt to run KVM guest that uses spice (exact command below). Actual results: qemu-kvm: /builddir/build/BUILD/qemu-kvm-0.14.0/qemu-kvm.c:1724: kvm_mutex_unlock: Assertion `!cpu_single_env' failed. Expected results: No crash. Should work. Additional info: Here is the script that I use to start my guest: #!/bin/bash /usr/bin/sudo /usr/sbin/tunctl -p -t xpspice0 -u pilcher -g pilcher /usr/bin/sudo /sbin/ifup xpspice0 /usr/bin/sudo /bin/chown pilcher:pilcher /dev/root_vg/xp-spice_vm_lv /home/pilcher/bin/slow-spice.sh --host localhost --port 5930 & /usr/bin/qemu-kvm -M pc -m 512 -smp 1 -name xp-spice -localtime \ -monitor unix:/tmp/qemu-monitor-xp-spice,server,nowait \ -usb -usbdevice tablet -soundhw ac97 -serial none \ -parallel none -uuid 6db12eb3-2473-4ffb-8079-02ff40d52cd0 \ -vga qxl -spice port=5930,disable-ticketing \ -drive file=/dev/root_vg/xp-spice_vm_lv,if=virtio,index=0,boot=on,cache=none \ -net nic,model=virtio,macaddr=54:52:00:5f:bb:7f,vlan=0,name=nic.0 \ -net tap,name=tap.0,ifname=xpspice0,vlan=0,script=no,downscript=no /usr/sbin/tunctl -d xpspice0 Here is slow-spice.sh: #!/bin/bash /bin/sleep 1 /usr/bin/spicec $@
Same here.
I have the same problem with: Name : qemu-kvm Relocations: (not relocatable) Version : 0.14.0 Vendor: (none) Release : 0.1.201102107aa8c46.fc14 Build Date: Fri 11 Feb 2011 12:06:51 PM CST Install Date: Fri 11 Feb 2011 02:16:07 PM CST Build Host: fedora64.linuxtx.org Group : Development/Tools Source RPM: qemu-0.14.0-0.1.201102107aa8c46.fc14.src.rpm
Are the latest batch of SPICE-related updates expected to address this?
Yes. I use qemu-kvm-0.14.0-2.fc14.x86_64 from fedora-virt-preview and spice-0.8.0. command line sudo qemu-kvm -m 2000 -drive file=/dev/vg_virt/win -name test -vga qxl -soundhw ac97 -monitor stdio -balloon virtio -spice port=$3,disable-ticketing -usb -usbdevice tablet -smp 1 -net nic,model=virtio,vlan=0 -net tap,vlan=0,ifname=test -boot c -enable-kvm Error: qemu-kvm: /builddir/build/BUILD/qemu-kvm-0.14.0/qemu-kvm.c:1724: kvm_mutex_unlock: Assertion `!cpu_single_env' failed.
Qemu 0.14.0 build with sources from http://download.savannah.gnu.org/releases/qemu/qemu-0.14.0.tar.gz works fine.
Duplicate of bug #681220 - qemu-kvm-0.14.0/qemu-kvm.c:1724: kvm_mutex_unlock: Assertion `!cpu_single_env' failed ?
Still blows up with latest spice-server packages.
(In reply to comment #6) > Duplicate of bug #681220 - qemu-kvm-0.14.0/qemu-kvm.c:1724: kvm_mutex_unlock: > Assertion `!cpu_single_env' failed ? Well, I opened this bug first, so it's technically a duplicate of this. ;-) That one has a patch in it, though, so I'm going to go ahead and close this as a dupe. *** This bug has been marked as a duplicate of bug 681220 ***