From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:35155) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QMOH9-0005Ky-2P for qemu-devel@nongnu.org; Tue, 17 May 2011 13:41:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QMOH4-0000zh-W5 for qemu-devel@nongnu.org; Tue, 17 May 2011 13:41:43 -0400 Received: from adelie.canonical.com ([91.189.90.139]:60462) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QMOH4-0000zR-Kg for qemu-devel@nongnu.org; Tue, 17 May 2011 13:41:38 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by adelie.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1QMOH2-0001zV-Vi for ; Tue, 17 May 2011 17:41:37 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id B82A12E899A for ; Tue, 17 May 2011 17:41:33 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Tue, 17 May 2011 17:32:20 -0000 From: Boris Derzhavets <723871@bugs.launchpad.net> Sender: bounces@canonical.com References: <20110223182449.26818.97867.malonedeb@potassium.ubuntu.com> Message-Id: <20110517173220.13411.51580.malone@soybean.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl Reply-To: Bug 723871 <723871@bugs.launchpad.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Also in meantime git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git contains commits:- commit 196a778428989217b82de042725dc8eb29c8f8d8 Author: Gerd Hoffmann Date: Wed Apr 27 16:06:10 2011 +0200 spice: drop obsolete iothread locking = We don't use qemu internals from spice server context any more. Thus we don't also need to grab the iothread mutex from spice server context. And we don't have to temporarely release the lock to avoid deadlocks. Drop all the calls. = Signed-off-by: Gerd Hoffmann commit 075360945860ad9bdd491921954b383bf762b0e5 Author: Gerd Hoffmann Date: Wed Apr 27 15:50:32 2011 +0200 spice: don't call displaystate callbacks from spice server context. = This patch moves the displaystate callback calls for setting the cursor and the mouse pointer from spice server to qemu (iothread) context. This allows us to simplify locking. = Signed-off-by: Gerd Hoffmann commit e0c64d08d11736dcea7c5a6373e3e7f62db51d9e Author: Gerd Hoffmann Date: Wed Apr 27 15:21:51 2011 +0200 spice: don't create updates in spice server context. = This patch moves the creation of spice screen updates from the spice server context to qemu iothread context (display refresh timer to be exact). This way we avoid accessing qemu internals (display surface) from spice thread context which in turn allows us to simplify locking. = Signed-off-by: Gerd Hoffmann commit 14da8345b2f7c21bab20fd12b755a61d6277f171 Author: Jes Sorensen Date: Tue Feb 1 15:53:23 2011 +0100 Make spice dummy functions inline to fix calls not checking return valu= es = qemu_spice_set_passwd() and qemu_spice_set_pw_expire() dummy functions needs to be inline, in order to handle the case where they are called without checking the return value. = Signed-off-by: Jes Sorensen Signed-off-by: Gerd Hoffmann So , git clone git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git creates a directory allows to build tar ball for debian "qemu-kvm" packag= es , = which work with no "QXL" patching at all. -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/723871 Title: qemu-kvm-0.14.0 Aborts with -vga qxl Status in QEMU: Invalid Status in =E2=80=9Clibvirt=E2=80=9D package in Ubuntu: Triaged Status in =E2=80=9Cqemu-kvm=E2=80=9D package in Ubuntu: Fix Released Bug description: Host CPU is Core i7 Q820. KVM is from 2.6.35-gentoo-r5 kernel (x86_64). Host has spice-0.7.2 and spice-protocol-0.7.0. Guest is Windows XP SP3 with qxl driver 0.6.1, virtio-serial 1.1.6 and vd= agent 0.6.3. qemu-kvm is started like so: qemu-system-x86_64 -cpu host -enable-kvm -pidfile /home/rick/qemu/hds/wxp= .pid -drive file=3D/home/rick/qemu/hds/wxp.raw,if=3Dvirtio,media=3Ddisk,aio= =3Dnative,snapshot=3Don -m 768 -name WinXP -net nic,model=3Dvirtio -net use= r -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=3Dv= dagent,id=3Dvdagent -device virtserialport,chardev=3Dvdagent,name=3Dcom.red= hat.spice.0 -spice port=3D1234,disable-ticketing -monitor stdio and crashes with: qemu-system-x86_64: /home/rick/qemu/src/qemu-kvm-0.14.0/qemu-kvm.c:1724: = kvm_mutex_unlock: Assertion `!cpu_single_env' failed. Aborted If I use -no-kvm, it works fine. If I use -vga std, it works fine. -enable-kvm and -vga qxl crashes.