All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [Bug 723871] [NEW] qemu-kvm-0.14.0 Aborts with -vga qxl
@ 2011-02-23 18:24 Rick Vernam
  2011-02-23 18:25 ` [Qemu-devel] [Bug 723871] " Rick Vernam
                   ` (70 more replies)
  0 siblings, 71 replies; 82+ messages in thread
From: Rick Vernam @ 2011-02-23 18:24 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

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 vdagent 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=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,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.

** Affects: qemu
     Importance: Undecided
         Status: New

-- 
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:
  New

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 vdagent 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=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,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.

^ permalink raw reply	[flat|nested] 82+ messages in thread

* [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-02-23 18:24 [Qemu-devel] [Bug 723871] [NEW] qemu-kvm-0.14.0 Aborts with -vga qxl Rick Vernam
@ 2011-02-23 18:25 ` Rick Vernam
  2011-02-23 18:59 ` Rick Vernam
                   ` (69 subsequent siblings)
  70 siblings, 0 replies; 82+ messages in thread
From: Rick Vernam @ 2011-02-23 18:25 UTC (permalink / raw)
  To: qemu-devel

I also intended to mention that using qemu-0.14.0 works just fine; the
crash only occurs with qemu-kvm-0.14.0.

-- 
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:
  New

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 vdagent 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=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,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.

^ permalink raw reply	[flat|nested] 82+ messages in thread

* [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-02-23 18:24 [Qemu-devel] [Bug 723871] [NEW] qemu-kvm-0.14.0 Aborts with -vga qxl Rick Vernam
  2011-02-23 18:25 ` [Qemu-devel] [Bug 723871] " Rick Vernam
@ 2011-02-23 18:59 ` Rick Vernam
  2011-02-26  9:23 ` Paul Whittaker
                   ` (68 subsequent siblings)
  70 siblings, 0 replies; 82+ messages in thread
From: Rick Vernam @ 2011-02-23 18:59 UTC (permalink / raw)
  To: qemu-devel

sorry, on the guest it is virtio-serial-1.1.16, not 1.1.6.

-- 
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:
  New

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 vdagent 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=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,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.

^ permalink raw reply	[flat|nested] 82+ messages in thread

* [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-02-23 18:24 [Qemu-devel] [Bug 723871] [NEW] qemu-kvm-0.14.0 Aborts with -vga qxl Rick Vernam
  2011-02-23 18:25 ` [Qemu-devel] [Bug 723871] " Rick Vernam
  2011-02-23 18:59 ` Rick Vernam
@ 2011-02-26  9:23 ` Paul Whittaker
  2011-03-01  5:46 ` Serge Hallyn
                   ` (67 subsequent siblings)
  70 siblings, 0 replies; 82+ messages in thread
From: Paul Whittaker @ 2011-02-26  9:23 UTC (permalink / raw)
  To: qemu-devel

I get the same error under very similar conditions:

Host is Athlon II X3 400e (triple core), host OS is my own DIET-PC
embedded platform, 2.6.34.1 x86_64 kernel with x86_64 userspace.  Qemu-
kvm compiled myself from official qemu-kvm-0.14.0 sources Debian Lenny,
against spice / spice-protocol 0.6.4, using:

export CFLAGS='-O3 -m64'
./configure --prefix=/usr/local --enable-mixemu --disable-brlapi \
        --disable-vnc-tls --enable-system --disable-linux-user \
        --disable-curses --audio-drv-list="oss sdl" --enable-io-thread \
        --disable-vnc-png --enable-vnc-thread --enable-spice \
        --audio-card-list="ac97 es1370 sb16 cs4231a adlib gus hda" \
        --target-list="i386-softmmu x86_64-softmmu arm-softmmu mips-softmmu mipsel-softmmu ppc-softmmu ppc64-softmmu sparc-softmmu sparc64-softmmu"

Guest is Windows XP SP3 (uniprocessor), crash with exact same error as
above occurs when attempting to install qxl 0.6.3 spice driver on the
guest.  Guest has no virtio-serial or vdagent, but has viostor and
virtio network drivers.

Started using:

qemu-system-x86_64 -M pc -m 512 -vga qxl -soundhw ac97 -localtime -rtc-
td-hack -enable-kvm -name WinXP -net
nic,model=virtio,macaddr=00:77:69:6e:78:70 -net tap,ifname=winxp -drive
file=winxppro.img,if=virtio,aio=threads,boot=on -boot c

-- 
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:
  New

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 vdagent 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=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,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.

^ permalink raw reply	[flat|nested] 82+ messages in thread

* [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-02-23 18:24 [Qemu-devel] [Bug 723871] [NEW] qemu-kvm-0.14.0 Aborts with -vga qxl Rick Vernam
                   ` (2 preceding siblings ...)
  2011-02-26  9:23 ` Paul Whittaker
@ 2011-03-01  5:46 ` Serge Hallyn
  2011-03-01 12:52 ` Alon Levy
                   ` (66 subsequent siblings)
  70 siblings, 0 replies; 82+ messages in thread
From: Serge Hallyn @ 2011-03-01  5:46 UTC (permalink / raw)
  To: qemu-devel

** Changed in: qemu
       Status: New => Confirmed

** Changed in: qemu
       Status: Confirmed => New

** Changed in: qemu
       Status: New => Confirmed

-- 
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:
  Confirmed

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 vdagent 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=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,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.

^ permalink raw reply	[flat|nested] 82+ messages in thread

* [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-02-23 18:24 [Qemu-devel] [Bug 723871] [NEW] qemu-kvm-0.14.0 Aborts with -vga qxl Rick Vernam
                   ` (3 preceding siblings ...)
  2011-03-01  5:46 ` Serge Hallyn
@ 2011-03-01 12:52 ` Alon Levy
  2011-03-01 17:16 ` Serge Hallyn
                   ` (65 subsequent siblings)
  70 siblings, 0 replies; 82+ messages in thread
From: Alon Levy @ 2011-03-01 12:52 UTC (permalink / raw)
  To: qemu-devel

This is fixed by the following patch on the list (confirmed by xming on
list):

 http://patchwork.ozlabs.org/patch/84704/

Hopefully that patch will be merged soon.

Alon

-- 
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:
  Confirmed

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 vdagent 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=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,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.

^ permalink raw reply	[flat|nested] 82+ messages in thread

* [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-02-23 18:24 [Qemu-devel] [Bug 723871] [NEW] qemu-kvm-0.14.0 Aborts with -vga qxl Rick Vernam
                   ` (4 preceding siblings ...)
  2011-03-01 12:52 ` Alon Levy
@ 2011-03-01 17:16 ` Serge Hallyn
  2011-03-01 17:19 ` Launchpad Bug Tracker
                   ` (64 subsequent siblings)
  70 siblings, 0 replies; 82+ messages in thread
From: Serge Hallyn @ 2011-03-01 17:16 UTC (permalink / raw)
  To: qemu-devel

** Also affects: qemu-kvm (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: qemu-kvm (Ubuntu)
   Importance: Undecided => Medium

** Changed in: qemu-kvm (Ubuntu)
     Assignee: (unassigned) => Serge Hallyn (serge-hallyn)

-- 
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:
  Confirmed
Status in “qemu-kvm” package in Ubuntu:
  New

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 vdagent 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=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,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.

^ permalink raw reply	[flat|nested] 82+ messages in thread

* [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-02-23 18:24 [Qemu-devel] [Bug 723871] [NEW] qemu-kvm-0.14.0 Aborts with -vga qxl Rick Vernam
                   ` (5 preceding siblings ...)
  2011-03-01 17:16 ` Serge Hallyn
@ 2011-03-01 17:19 ` Launchpad Bug Tracker
  2011-03-01 17:37 ` Serge Hallyn
                   ` (63 subsequent siblings)
  70 siblings, 0 replies; 82+ messages in thread
From: Launchpad Bug Tracker @ 2011-03-01 17:19 UTC (permalink / raw)
  To: qemu-devel

** Branch linked: lp:~serge-hallyn/ubuntu/natty/qemu-kvm/qxl-lock

-- 
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:
  Confirmed
Status in “qemu-kvm” package in Ubuntu:
  New

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 vdagent 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=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,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.

^ permalink raw reply	[flat|nested] 82+ messages in thread

* [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-02-23 18:24 [Qemu-devel] [Bug 723871] [NEW] qemu-kvm-0.14.0 Aborts with -vga qxl Rick Vernam
                   ` (6 preceding siblings ...)
  2011-03-01 17:19 ` Launchpad Bug Tracker
@ 2011-03-01 17:37 ` Serge Hallyn
  2011-03-01 17:39 ` Serge Hallyn
                   ` (62 subsequent siblings)
  70 siblings, 0 replies; 82+ messages in thread
From: Serge Hallyn @ 2011-03-01 17:37 UTC (permalink / raw)
  To: qemu-devel

** Attachment added: "debs with proposed fix for amd64 natty"
   https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/723871/+attachment/1879081/+files/nattydebs.tgz

-- 
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:
  Confirmed
Status in “qemu-kvm” package in Ubuntu:
  New

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 vdagent 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=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,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.

^ permalink raw reply	[flat|nested] 82+ messages in thread

* [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-02-23 18:24 [Qemu-devel] [Bug 723871] [NEW] qemu-kvm-0.14.0 Aborts with -vga qxl Rick Vernam
                   ` (7 preceding siblings ...)
  2011-03-01 17:37 ` Serge Hallyn
@ 2011-03-01 17:39 ` Serge Hallyn
  2011-03-01 18:02 ` Rick Vernam
                   ` (61 subsequent siblings)
  70 siblings, 0 replies; 82+ messages in thread
From: Serge Hallyn @ 2011-03-01 17:39 UTC (permalink / raw)
  To: qemu-devel

@Rick,

could you tell me if the debs in comment #5 fix the issue?  If so I'll
go ahead and do a merge request.

-- 
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:
  Confirmed
Status in “qemu-kvm” package in Ubuntu:
  New

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 vdagent 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=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,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.

^ permalink raw reply	[flat|nested] 82+ messages in thread

* [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-02-23 18:24 [Qemu-devel] [Bug 723871] [NEW] qemu-kvm-0.14.0 Aborts with -vga qxl Rick Vernam
                   ` (8 preceding siblings ...)
  2011-03-01 17:39 ` Serge Hallyn
@ 2011-03-01 18:02 ` Rick Vernam
  2011-03-01 18:21 ` Serge Hallyn
                   ` (60 subsequent siblings)
  70 siblings, 0 replies; 82+ messages in thread
From: Rick Vernam @ 2011-03-01 18:02 UTC (permalink / raw)
  To: qemu-devel

Serge,
I run qemu-kvm from source.  My distro is Gentoo, so I can't check your debs.
I applied the patch from comment #4 last night and found that I have not encountered this bug since.

Let me know if I can provide any additional info...

-- 
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:
  Confirmed
Status in “qemu-kvm” package in Ubuntu:
  New

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 vdagent 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=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,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.

^ permalink raw reply	[flat|nested] 82+ messages in thread

* [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-02-23 18:24 [Qemu-devel] [Bug 723871] [NEW] qemu-kvm-0.14.0 Aborts with -vga qxl Rick Vernam
                   ` (9 preceding siblings ...)
  2011-03-01 18:02 ` Rick Vernam
@ 2011-03-01 18:21 ` Serge Hallyn
  2011-03-01 18:29 ` Serge Hallyn
                   ` (59 subsequent siblings)
  70 siblings, 0 replies; 82+ messages in thread
From: Serge Hallyn @ 2011-03-01 18:21 UTC (permalink / raw)
  To: qemu-devel

Ok, thanks Rick.  Actually, I guess as this isn't an SRU I can go ahead
and verify it myself and upload.

** Changed in: qemu-kvm (Ubuntu)
       Status: New => In Progress

-- 
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:
  Confirmed
Status in “qemu-kvm” package in Ubuntu:
  In Progress

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 vdagent 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=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,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.

^ permalink raw reply	[flat|nested] 82+ messages in thread

* [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-02-23 18:24 [Qemu-devel] [Bug 723871] [NEW] qemu-kvm-0.14.0 Aborts with -vga qxl Rick Vernam
                   ` (10 preceding siblings ...)
  2011-03-01 18:21 ` Serge Hallyn
@ 2011-03-01 18:29 ` Serge Hallyn
  2011-03-01 18:53   ` Rick Vernam
  2011-03-01 23:54 ` Serge Hallyn
                   ` (58 subsequent siblings)
  70 siblings, 1 reply; 82+ messages in thread
From: Serge Hallyn @ 2011-03-01 18:29 UTC (permalink / raw)
  To: qemu-devel

@Rick,

would you expect a fedora guest to reproduce this?  Would it have the
qxl driver?  Or must it be Windows?

-- 
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:
  Confirmed
Status in “qemu-kvm” package in Ubuntu:
  In Progress

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 vdagent 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=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,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.

^ permalink raw reply	[flat|nested] 82+ messages in thread

* Re: [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-03-01 18:29 ` Serge Hallyn
@ 2011-03-01 18:53   ` Rick Vernam
  2011-03-01 21:58     ` Frédéric Grelot
  2011-03-02 10:54     ` Alon Levy
  0 siblings, 2 replies; 82+ messages in thread
From: Rick Vernam @ 2011-03-01 18:53 UTC (permalink / raw)
  To: qemu-devel, Bug 723871

On Tuesday 01 March 2011 12:29:14 Serge Hallyn wrote:
> @Rick,
> 
> would you expect a fedora guest to reproduce this?  Would it have the
> qxl driver?  Or must it be Windows?

I don't have a fedora guest to test on, and I don't know the implementation 
details well enough to postulate.
-Rick

^ permalink raw reply	[flat|nested] 82+ messages in thread

* Re: [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-03-01 18:53   ` Rick Vernam
@ 2011-03-01 21:58     ` Frédéric Grelot
  2011-03-02 10:54     ` Alon Levy
  1 sibling, 0 replies; 82+ messages in thread
From: Frédéric Grelot @ 2011-03-01 21:58 UTC (permalink / raw)
  To: rickv; +Cc: Bug 723871, qemu-devel

Hi all, 

I had the same crash using Fedora 14 guest.
I described it here :
http://www.mail-archive.com/virt@lists.fedoraproject.org/msg00768.html
I built qemu by myself since, using git tag spice.kvm.v28 from spice git repository : it seemed to solve the bug.


----- Mail original -----
> On Tuesday 01 March 2011 12:29:14 Serge Hallyn wrote:
> > @Rick,
> > 
> > would you expect a fedora guest to reproduce this?  Would it have
> > the
> > qxl driver?  Or must it be Windows?
> 
> I don't have a fedora guest to test on, and I don't know the
> implementation
> details well enough to postulate.
> -Rick
> 
> 

^ permalink raw reply	[flat|nested] 82+ messages in thread

* [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-02-23 18:24 [Qemu-devel] [Bug 723871] [NEW] qemu-kvm-0.14.0 Aborts with -vga qxl Rick Vernam
                   ` (11 preceding siblings ...)
  2011-03-01 18:29 ` Serge Hallyn
@ 2011-03-01 23:54 ` Serge Hallyn
  2011-03-02 10:15 ` Launchpad Bug Tracker
                   ` (57 subsequent siblings)
  70 siblings, 0 replies; 82+ messages in thread
From: Serge Hallyn @ 2011-03-01 23:54 UTC (permalink / raw)
  To: qemu-devel

Thanks - I was able to reproduce the lockup with a RHEL boot cd, and
confirm that the proposed fix works.

-- 
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:
  Confirmed
Status in “qemu-kvm” package in Ubuntu:
  In Progress

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 vdagent 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=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,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.

^ permalink raw reply	[flat|nested] 82+ messages in thread

* [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-02-23 18:24 [Qemu-devel] [Bug 723871] [NEW] qemu-kvm-0.14.0 Aborts with -vga qxl Rick Vernam
                   ` (12 preceding siblings ...)
  2011-03-01 23:54 ` Serge Hallyn
@ 2011-03-02 10:15 ` Launchpad Bug Tracker
  2011-03-02 10:18 ` Dave Walker
                   ` (56 subsequent siblings)
  70 siblings, 0 replies; 82+ messages in thread
From: Launchpad Bug Tracker @ 2011-03-02 10:15 UTC (permalink / raw)
  To: qemu-devel

This bug was fixed in the package qemu-kvm - 0.14.0~rc1+noroms-0ubuntu4

---------------
qemu-kvm (0.14.0~rc1+noroms-0ubuntu4) natty; urgency=low

  * Apply spice-qxl-locking-fix-for-qemu-kvm.patch to fix bug with -qxl.
    (LP: #723871)
 -- Serge Hallyn <serge.hallyn@ubuntu.com>   Tue, 01 Mar 2011 11:12:44 -0600

** Changed in: qemu-kvm (Ubuntu)
       Status: In Progress => Fix Released

** Branch linked: lp:ubuntu/qemu-kvm

-- 
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:
  Confirmed
Status in “qemu-kvm” 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 vdagent 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=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,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.

^ permalink raw reply	[flat|nested] 82+ messages in thread

* [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-02-23 18:24 [Qemu-devel] [Bug 723871] [NEW] qemu-kvm-0.14.0 Aborts with -vga qxl Rick Vernam
                   ` (13 preceding siblings ...)
  2011-03-02 10:15 ` Launchpad Bug Tracker
@ 2011-03-02 10:18 ` Dave Walker
  2011-04-24 16:07 ` Boris Derzhavets
                   ` (55 subsequent siblings)
  70 siblings, 0 replies; 82+ messages in thread
From: Dave Walker @ 2011-03-02 10:18 UTC (permalink / raw)
  To: qemu-devel

@Serge, I had to re-target your branch (and merge) against 0.14.0~rc1
+noroms-0ubuntu4 as *ubuntu3 had already been uploaded for a different
fix, and the package-importer failed to suck it in.

-- 
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:
  Confirmed
Status in “qemu-kvm” 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 vdagent 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=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,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.

^ permalink raw reply	[flat|nested] 82+ messages in thread

* Re: [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-03-01 18:53   ` Rick Vernam
  2011-03-01 21:58     ` Frédéric Grelot
@ 2011-03-02 10:54     ` Alon Levy
  1 sibling, 0 replies; 82+ messages in thread
From: Alon Levy @ 2011-03-02 10:54 UTC (permalink / raw)
  To: Rick Vernam; +Cc: Bug 723871, qemu-devel

On Tue, Mar 01, 2011 at 12:53:40PM -0600, Rick Vernam wrote:
> On Tuesday 01 March 2011 12:29:14 Serge Hallyn wrote:
> > @Rick,
> > 
> > would you expect a fedora guest to reproduce this?  Would it have the
> > qxl driver?  Or must it be Windows?
> 
> I don't have a fedora guest to test on, and I don't know the implementation 
> details well enough to postulate.
> -Rick
> 

This is guest independent, as long as the guest uses a qxl driver.

^ permalink raw reply	[flat|nested] 82+ messages in thread

* [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-02-23 18:24 [Qemu-devel] [Bug 723871] [NEW] qemu-kvm-0.14.0 Aborts with -vga qxl Rick Vernam
                   ` (14 preceding siblings ...)
  2011-03-02 10:18 ` Dave Walker
@ 2011-04-24 16:07 ` Boris Derzhavets
  2011-04-24 23:59   ` Serge Hallyn
  2011-04-25  0:08 ` David Rando
                   ` (54 subsequent siblings)
  70 siblings, 1 reply; 82+ messages in thread
From: Boris Derzhavets @ 2011-04-24 16:07 UTC (permalink / raw)
  To: qemu-devel

Packages from "ppa:serge-hallyn/spice"  have been installed on Ubuntu
11.04 Beta 2.  Bug with " -vga qxl" is still in place :-

root@NattyNarwhal:/usr/tmp# /usr/bin/kvm-spice -cpu host -enable-kvm -name  VF14 -m 2048  \
> -drive file=/usr/tmp/disk.qcow2,if=virtio,media=disk,aio=native \
> -net nic,model=virtio -net user -localtime \
> -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent \
> -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 \
> -spice port=5900,disable-ticketing
do_spice_init: starting 0.8.0
spice_server_add_interface: SPICE_INTERFACE_KEYBOARD
spice_server_add_interface: SPICE_INTERFACE_MOUSE
spice_server_add_interface: SPICE_INTERFACE_QXL
red_worker_main: begin
kvm-spice: pci_add_option_rom: failed to find romfile "pxe-virtio.bin"
handle_dev_destroy_surfaces: 
handle_dev_destroy_surfaces: 
handle_dev_input: start
reds_handle_main_link: 
reds_show_new_channel: channel 1:0, connected successfully, over Non Secure link
reds_main_handle_message: net test: invalid values, latency 0 roundtrip 9651. assuming highbandwidth
reds_show_new_channel: channel 4:0, connected successfully, over Non Secure link
red_dispatcher_set_cursor_peer: 
handle_dev_input: cursor connect
reds_show_new_channel: channel 2:0, connected successfully, over Non Secure link
red_dispatcher_set_peer: 
handle_dev_input: connect
handle_new_display_channel: jpeg disabled
handle_new_display_channel: zlib-over-glz disabled
reds_show_new_channel: channel 3:0, connected successfully, over Non Secure link
inputs_link: 
kvm-spice: /build/buildd/qemu-kvm-spice-0.14.0+noroms/qemu-kvm.c:1724: kvm_mutex_unlock: Assertion `!cpu_single_env' failed.
Aborted

This issue has been fixed on Fedora 15  on 03 /18/2001 . 
In meantime , view  patches in qemu-0.14.0-7.fc14.src.rpm  :-
http://repos.fedorapeople.org/repos/jforbes/virt-preview/fedora-14/SRPMS/
. . . . . . . 
qemu-0.14.0-7.fc14.src.rpm             07-Apr-2011 21:46  5.1M  
. . . . . . . .

-- 
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:
  Confirmed
Status in “qemu-kvm” 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 vdagent 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=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,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.

^ permalink raw reply	[flat|nested] 82+ messages in thread

* Re: [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-04-24 16:07 ` Boris Derzhavets
@ 2011-04-24 23:59   ` Serge Hallyn
  0 siblings, 0 replies; 82+ messages in thread
From: Serge Hallyn @ 2011-04-24 23:59 UTC (permalink / raw)
  To: qemu-devel

Quoting Boris Derzhavets (723871@bugs.launchpad.net):
> Packages from "ppa:serge-hallyn/spice"  have been installed on Ubuntu
> 11.04 Beta 2.  Bug with " -vga qxl" is still in place :-

Hi,

thanks for reporting this bug.  We have decided not to proceed with that
ppa, but rather to take the qemu-kvm-spice packaging in that ppa and
apply it to updated packages in dev-zero's ppa.  Then push that to
universe.

dev-zero, as you've been rather busy the last few weeks, unless you say
otherwise I will go ahead (early next week) and take a stab at an updated
version of your packages and forward the result to you.

thanks,
-serge

-- 
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:
  Confirmed
Status in “qemu-kvm” 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 vdagent 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=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,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.

^ permalink raw reply	[flat|nested] 82+ messages in thread

* [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-02-23 18:24 [Qemu-devel] [Bug 723871] [NEW] qemu-kvm-0.14.0 Aborts with -vga qxl Rick Vernam
                   ` (15 preceding siblings ...)
  2011-04-24 16:07 ` Boris Derzhavets
@ 2011-04-25  0:08 ` David Rando
  2011-04-25  7:48 ` Boris Derzhavets
                   ` (53 subsequent siblings)
  70 siblings, 0 replies; 82+ messages in thread
From: David Rando @ 2011-04-25  0:08 UTC (permalink / raw)
  To: qemu-devel

Looking forward to it.

Thanks!!!

-- 
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:
  Confirmed
Status in “qemu-kvm” 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 vdagent 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=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,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.

^ permalink raw reply	[flat|nested] 82+ messages in thread

* [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-02-23 18:24 [Qemu-devel] [Bug 723871] [NEW] qemu-kvm-0.14.0 Aborts with -vga qxl Rick Vernam
                   ` (16 preceding siblings ...)
  2011-04-25  0:08 ` David Rando
@ 2011-04-25  7:48 ` Boris Derzhavets
  2011-04-25  7:58 ` Boris Derzhavets
                   ` (52 subsequent siblings)
  70 siblings, 0 replies; 82+ messages in thread
From: Boris Derzhavets @ 2011-04-25  7:48 UTC (permalink / raw)
  To: qemu-devel

Current patches on F15:-
[root@fedora15a SOURCES]# ls -l
total 5360
-rw-r--r--. 1 root root    4618 Mar 30 01:58 0001-qxl-spice-display-move-pipe-to-ssd.patch
-rw-r--r--. 1 root root   10176 Mar 30 01:58 0002-qxl-implement-get_command-in-vga-mode-without-locks.patch
-rw-r--r--. 1 root root    5073 Mar 30 01:58 0003-qxl-spice-remove-qemu_mutex_-un-lock_iothread-around.patch
-rw-r--r--. 1 root root    7783 Mar 30 01:58 0004-hw-qxl-render-drop-cursor-locks-replace-with-pipe.patch
-rw-r--r--. 1 root root    1733 Mar 30 01:58 0005-char-Split-out-tcp-socket-close-code-in-a-separate-f.patch
-rw-r--r--. 1 root root   22320 Mar 30 01:58 0006-char-Add-a-QemuChrHandlers-struct-to-initialise-char.patch
-rw-r--r--. 1 root root    1913 Mar 30 01:58 0007-iohandlers-Add-enable-disable_write_fd_handler-funct.patch
-rw-r--r--. 1 root root    2182 Mar 30 01:58 0008-char-Add-framework-for-a-write-unblocked-callback.patch
-rw-r--r--. 1 root root    6678 Mar 30 01:58 0009-char-Update-send_all-to-handle-nonblocking-chardev-w.patch
-rw-r--r--. 1 root root    2583 Mar 30 01:58 0010-char-Equip-the-unix-tcp-backend-to-handle-nonblockin.patch
-rw-r--r--. 1 root root    2000 Mar 30 01:58 0011-char-Throttle-when-host-connection-is-down.patch
-rw-r--r--. 1 root root    1650 Mar 30 01:58 0012-virtio-console-Enable-port-throttling-when-chardev-i.patch
-rw-r--r--. 1 root root    5036 Mar 30 01:58 0013-spice-qemu-char.c-add-throttling.patch
-rw-r--r--. 1 root root    2822 Mar 30 01:58 0014-spice-qemu-char.c-remove-intermediate-buffer.patch
-rw-r--r--. 1 root root    2807 Mar 30 01:58 0015-chardev-Allow-frontends-to-notify-backends-of-guest-.patch
-rw-r--r--. 1 root root    1592 Mar 30 01:58 0016-virtio-console-notify-backend-of-guest-open-close.patch
-rw-r--r--. 1 root root    1536 Mar 30 01:58 0017-spice-chardev-listen-to-frontend-guest-open-close.patch
-rw-r--r--. 1 root root    1784 Mar 30 01:58 0018-spice-qemu-char-Fix-flow-control-in-client-guest-dir.patch
-rw-r--r--. 1 root root      40 Mar 30 01:58 80-kvm.rules
-rw-r--r--. 1 root root    2202 Mar 30 01:58 ksm.init
-rw-r--r--. 1 root root     168 Mar 30 01:58 ksm.sysconfig
-rw-r--r--. 1 root root    3442 Mar 30 01:58 ksmtuned
-rw-r--r--. 1 root root     478 Mar 30 01:58 ksmtuned.conf
-rw-r--r--. 1 root root    1968 Mar 30 01:58 ksmtuned.init
-rwxr-xr-x. 1 root root     284 Mar 30 01:58 kvm.modules
-rw-r--r--. 1 root root    1155 Mar 30 01:58 pc-add-a-Fedora-13-machine-type-for-backward-compat.patch
-rw-r--r--. 1 root root    1748 Mar 30 01:58 qemu-fix-non-PCI-target-build.patch
-rwxr-xr-x. 1 root root    3199 Mar 30 01:58 qemu.init
-rw-rw-r--. 1 root root 5320696 Feb 24 19:11 qemu-kvm-0.14.0.tar.gz
-rw-r--r--. 1 root root    1045 Mar 30 01:58 qemu-vhost-fix-dirty-page-handling.patch

I believe there is no the one  http://patchwork.ozlabs.org/patch/84704/
you have been using

-- 
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:
  Confirmed
Status in “qemu-kvm” 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 vdagent 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=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,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.

^ permalink raw reply	[flat|nested] 82+ messages in thread

* [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-02-23 18:24 [Qemu-devel] [Bug 723871] [NEW] qemu-kvm-0.14.0 Aborts with -vga qxl Rick Vernam
                   ` (17 preceding siblings ...)
  2011-04-25  7:48 ` Boris Derzhavets
@ 2011-04-25  7:58 ` Boris Derzhavets
  2011-04-25 14:06   ` Serge Hallyn
  2011-04-27 10:03 ` Boris Derzhavets
                   ` (51 subsequent siblings)
  70 siblings, 1 reply; 82+ messages in thread
From: Boris Derzhavets @ 2011-04-25  7:58 UTC (permalink / raw)
  To: qemu-devel

View also

http://lists.fedoraproject.org/pipermail/virt/2011-March/002572.html

Per Alon Levy :-

here is a new patchset, it's basically the old plus first patch of reverting gerd's
(cpu_single_env hackage) and last one removing all the locks, after being
convinced by hans (cc'ed) and uri that it should work. Tested with rhel
qemu-kvm, which should be identical (tm) to fedora qemu-kvm. On account of
being too lame to figure out how to add the patches to qemu.spec and doing a
scratch build right now..

-- 
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:
  Confirmed
Status in “qemu-kvm” 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 vdagent 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=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,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.

^ permalink raw reply	[flat|nested] 82+ messages in thread

* Re: [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-04-25  7:58 ` Boris Derzhavets
@ 2011-04-25 14:06   ` Serge Hallyn
  0 siblings, 0 replies; 82+ messages in thread
From: Serge Hallyn @ 2011-04-25 14:06 UTC (permalink / raw)
  To: qemu-devel

Quoting Boris Derzhavets (723871@bugs.launchpad.net):
> View also
> 
> http://lists.fedoraproject.org/pipermail/virt/2011-March/002572.html

Thanks, this should be added to the qemu-kvm-spice package then.  Note
that this patch is not yet upstream, but should be going in through the
spice tree at some point.

-- 
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:
  Confirmed
Status in “qemu-kvm” 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 vdagent 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=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,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.

^ permalink raw reply	[flat|nested] 82+ messages in thread

* [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-02-23 18:24 [Qemu-devel] [Bug 723871] [NEW] qemu-kvm-0.14.0 Aborts with -vga qxl Rick Vernam
                   ` (18 preceding siblings ...)
  2011-04-25  7:58 ` Boris Derzhavets
@ 2011-04-27 10:03 ` Boris Derzhavets
  2011-04-27 10:36 ` Alon Levy
                   ` (50 subsequent siblings)
  70 siblings, 0 replies; 82+ messages in thread
From: Boris Derzhavets @ 2011-04-27 10:03 UTC (permalink / raw)
  To: qemu-devel

Packages installed via ppa:serge-hallyn/spice2   have been tested positive for F14, W7 KVMs  installs and runtime.
qemu-kvm-spice (0.14.0+noroms-0ubuntu4qxl2) natty is based on the most recent RH's QXL patches set for qemu-kvm-0.14.tar.gz
as far as i could see.

-- 
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:
  Confirmed
Status in “qemu-kvm” 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 vdagent 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=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,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.

^ permalink raw reply	[flat|nested] 82+ messages in thread

* [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-02-23 18:24 [Qemu-devel] [Bug 723871] [NEW] qemu-kvm-0.14.0 Aborts with -vga qxl Rick Vernam
                   ` (19 preceding siblings ...)
  2011-04-27 10:03 ` Boris Derzhavets
@ 2011-04-27 10:36 ` Alon Levy
  2011-04-27 12:02 ` Serge Hallyn
                   ` (49 subsequent siblings)
  70 siblings, 0 replies; 82+ messages in thread
From: Alon Levy @ 2011-04-27 10:36 UTC (permalink / raw)
  To: qemu-devel

(reply to #20) what does tested positive mean? works, or that the bug is
manifest, i.e. doesn't work?

regarding latest patches, the required patches are the ones in the
fedora package.

Links to patches would make it easy to verify you have the correct ones
(sorry for being lazy to look into the package myself).

Alon

-- 
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:
  Confirmed
Status in “qemu-kvm” 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 vdagent 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=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,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.

^ permalink raw reply	[flat|nested] 82+ messages in thread

* [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-02-23 18:24 [Qemu-devel] [Bug 723871] [NEW] qemu-kvm-0.14.0 Aborts with -vga qxl Rick Vernam
                   ` (20 preceding siblings ...)
  2011-04-27 10:36 ` Alon Levy
@ 2011-04-27 12:02 ` Serge Hallyn
  2011-04-27 12:51 ` David Rando
                   ` (48 subsequent siblings)
  70 siblings, 0 replies; 82+ messages in thread
From: Serge Hallyn @ 2011-04-27 12:02 UTC (permalink / raw)
  To: qemu-devel

@Alon,

Here are the patches I cherrypicked, as you suggested on irc yesterday:

Subject: [PATCH 1/4] qxl/spice-display: move pipe to ssd
Subject: [PATCH 2/4] qxl: implement get_command in vga mode without locks
Subject: [PATCH 3/4] qxl/spice: remove qemu_mutex_{un,}lock_iothread around dispatcher
Subject: [PATCH 4/4] hw/qxl-render: drop cursor locks, replace with pipe

@Borislav,

thanks for testing.

-- 
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:
  Confirmed
Status in “qemu-kvm” 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 vdagent 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=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,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.

^ permalink raw reply	[flat|nested] 82+ messages in thread

* [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-02-23 18:24 [Qemu-devel] [Bug 723871] [NEW] qemu-kvm-0.14.0 Aborts with -vga qxl Rick Vernam
                   ` (21 preceding siblings ...)
  2011-04-27 12:02 ` Serge Hallyn
@ 2011-04-27 12:51 ` David Rando
  2011-04-27 14:19 ` Boris Derzhavets
                   ` (47 subsequent siblings)
  70 siblings, 0 replies; 82+ messages in thread
From: David Rando @ 2011-04-27 12:51 UTC (permalink / raw)
  To: qemu-devel

i've just tested it and it's working on a ubuntu natty installation. Qxl
driver works and sound too.

Now when i tried to add the virtio-serial from virt-manager, i couldn't.
So I compiled the latest 0.8.7 version with virtinst 0.500.6, but when i
tried to add the spicevmc it complains with an error from libvirt.

So I searched and looks like it needs the libvirt 0.9.0 released april
4th. That's where i stopped.

So for this bug, here's a positive test. I guess the libvirt issue would
be in another bug entry.

Thanks for the work !

-- 
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:
  Confirmed
Status in “qemu-kvm” 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 vdagent 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=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,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.

^ permalink raw reply	[flat|nested] 82+ messages in thread

* [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-02-23 18:24 [Qemu-devel] [Bug 723871] [NEW] qemu-kvm-0.14.0 Aborts with -vga qxl Rick Vernam
                   ` (22 preceding siblings ...)
  2011-04-27 12:51 ` David Rando
@ 2011-04-27 14:19 ` Boris Derzhavets
  2011-04-27 15:20 ` Boris Derzhavets
                   ` (46 subsequent siblings)
  70 siblings, 0 replies; 82+ messages in thread
From: Boris Derzhavets @ 2011-04-27 14:19 UTC (permalink / raw)
  To: qemu-devel

@Serg,

I started getting execution denied errors in VirtManager or same in terminal after
virsh start W7 , when updated XML as follows 

<emulator>/usr/bin/kvm-spice</emulatror>
. .  .  .   .

<graphics type='spice' port='5930' autoport='no' listen='0.0.0.0'/>
<video>
<model type='qxl' vram='32768' heads='1'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
</video>

When i attempted to fool libvirt and replace symlink kvm-spice or binary it's referencing
i got another execution denied error when spice-server started.
Fedora's libvirt doesn't have any problems of such kind ( even F14's libvirt in the very early times )

Install libvirt-0.8.8-4.fc15.src.rpm shows following patches in SOURCES
:-

libvirt-0.8.8-avoid-resetting-errors.patch  
libvirt-0.8.8-read-only-checks.patch
libvirt-0.8.8-kernel-boot-index.patch       
libvirt-0.8.8-threadsafe-libvirtd-error-reporting.patch


It's hard to understand what part of code ( in patches ) is responsible for spice-server
behaviour. Once again RH's support is pretty much desired.

-- 
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:
  Confirmed
Status in “qemu-kvm” 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 vdagent 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=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,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.

^ permalink raw reply	[flat|nested] 82+ messages in thread

* [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-02-23 18:24 [Qemu-devel] [Bug 723871] [NEW] qemu-kvm-0.14.0 Aborts with -vga qxl Rick Vernam
                   ` (23 preceding siblings ...)
  2011-04-27 14:19 ` Boris Derzhavets
@ 2011-04-27 15:20 ` Boris Derzhavets
  2011-04-27 18:46 ` Serge Hallyn
                   ` (45 subsequent siblings)
  70 siblings, 0 replies; 82+ messages in thread
From: Boris Derzhavets @ 2011-04-27 15:20 UTC (permalink / raw)
  To: qemu-devel

root@boris-System-P5Q3:/usr/bin# cp qemu-system-x86_64-spice qemu-system-x86_64
root@boris-System-P5Q3:/usr/bin# cp qemu-x86_64-spice qemu-x86_64

root@boris-System-P5Q3:~# cat W7.xml
<domain type='kvm'>
  <name>W7S</name>
  <memory>2097152</memory>
  <currentMemory>2097152</currentMemory>
  <vcpu>2</vcpu>
  <os>
    <type arch='x86_64' machine='pc-0.14'>hvm</type>
    <boot dev='hd'/>
  </os>
  <features>
    <acpi/>
    <apic/>
    <pae/>
  </features>
  <clock offset='localtime'/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
  <devices>
    <emulator>/usr/bin/kvm</emulator>
    <disk type='block' device='disk'>
      <driver name='qemu' type='raw'/>
      <source dev='/dev/sdb7'/>
      <target dev='hda' bus='ide'/>
      <address type='drive' controller='0' bus='0' unit='0'/>
    </disk>
    <controller type='ide' index='0'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
    </controller>
    <interface type='bridge'>
      <mac address='52:54:00:d7:d7:c6'/>
      <source bridge='br0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
    </interface>
    <serial type='pty'>
      <target port='0'/>
    </serial>
    <console type='pty'>
      <target type='serial' port='0'/>
    </console>
    <input type='tablet' bus='usb'/>
    <input type='mouse' bus='ps2'/>
    <graphics type='spice' port='5930' autoport='no' listen='0.0.0.0'/>
    <sound model='ac97'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
    </sound>
    <video>
      <model type='qxl' vram='32786' heads='1'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
    </video>
    <memballoon model='virtio'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
    </memballoon>
  </devices>
</domain>

root@boris-System-P5Q3:~# virsh define W7.xml
Domain W7S defined from W7.xml


root@boris-System-P5Q3:~# virsh start W7S
error: Failed to start domain W7S
error: internal error process exited while connecting to monitor: char device redirected to /dev/pts/1
do_spice_init: starting 0.8.1
do_spice_init: statistics shm_open failed, Permission denied

-- 
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:
  Confirmed
Status in “qemu-kvm” 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 vdagent 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=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,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.

^ permalink raw reply	[flat|nested] 82+ messages in thread

* [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-02-23 18:24 [Qemu-devel] [Bug 723871] [NEW] qemu-kvm-0.14.0 Aborts with -vga qxl Rick Vernam
                   ` (24 preceding siblings ...)
  2011-04-27 15:20 ` Boris Derzhavets
@ 2011-04-27 18:46 ` Serge Hallyn
  2011-04-27 23:47 ` Serge Hallyn
                   ` (44 subsequent siblings)
  70 siblings, 0 replies; 82+ messages in thread
From: Serge Hallyn @ 2011-04-27 18:46 UTC (permalink / raw)
  To: qemu-devel

The permission denied will likely require an apparmor policy update.
However I've also been seeing patches for spice support go by the
mailing lists, so probably more will go wrong.

I will work on a updated libvirt sync in the same ppa, in preparation
for o-series opening.

** Also affects: libvirt (Ubuntu)
   Importance: Undecided
       Status: New

-- 
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:
  Confirmed
Status in “libvirt” package in Ubuntu:
  New
Status in “qemu-kvm” 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 vdagent 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=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,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.

^ permalink raw reply	[flat|nested] 82+ messages in thread

* [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-02-23 18:24 [Qemu-devel] [Bug 723871] [NEW] qemu-kvm-0.14.0 Aborts with -vga qxl Rick Vernam
                   ` (25 preceding siblings ...)
  2011-04-27 18:46 ` Serge Hallyn
@ 2011-04-27 23:47 ` Serge Hallyn
  2011-04-28  7:38 ` Boris Derzhavets
                   ` (43 subsequent siblings)
  70 siblings, 0 replies; 82+ messages in thread
From: Serge Hallyn @ 2011-04-27 23:47 UTC (permalink / raw)
  To: qemu-devel

** Changed in: libvirt (Ubuntu)
       Status: New => Triaged

-- 
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:
  Confirmed
Status in “libvirt” package in Ubuntu:
  Triaged
Status in “qemu-kvm” 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 vdagent 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=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,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.

^ permalink raw reply	[flat|nested] 82+ messages in thread

* [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-02-23 18:24 [Qemu-devel] [Bug 723871] [NEW] qemu-kvm-0.14.0 Aborts with -vga qxl Rick Vernam
                   ` (26 preceding siblings ...)
  2011-04-27 23:47 ` Serge Hallyn
@ 2011-04-28  7:38 ` Boris Derzhavets
  2011-04-28  8:57 ` Boris Derzhavets
                   ` (42 subsequent siblings)
  70 siblings, 0 replies; 82+ messages in thread
From: Boris Derzhavets @ 2011-04-28  7:38 UTC (permalink / raw)
  To: qemu-devel

Disabling AppArmor really allows libvirt to go with no problems.

-- 
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:
  Confirmed
Status in “libvirt” package in Ubuntu:
  Triaged
Status in “qemu-kvm” 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 vdagent 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=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,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.

^ permalink raw reply	[flat|nested] 82+ messages in thread

* [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-02-23 18:24 [Qemu-devel] [Bug 723871] [NEW] qemu-kvm-0.14.0 Aborts with -vga qxl Rick Vernam
                   ` (27 preceding siblings ...)
  2011-04-28  7:38 ` Boris Derzhavets
@ 2011-04-28  8:57 ` Boris Derzhavets
  2011-04-28 13:43 ` Jamie Strandboge
                   ` (41 subsequent siblings)
  70 siblings, 0 replies; 82+ messages in thread
From: Boris Derzhavets @ 2011-04-28  8:57 UTC (permalink / raw)
  To: qemu-devel

Just disabling libvirtd profile is enough as well :-

# apparmor_parser -R /etc/apparmor.d/usr.sbin.libvirtd
# ln -s /etx/apparmor.d/usr.sbin.libvirtd /etc/apparmor.d/disable/

-- 
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:
  Confirmed
Status in “libvirt” package in Ubuntu:
  Triaged
Status in “qemu-kvm” 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 vdagent 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=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,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.

^ permalink raw reply	[flat|nested] 82+ messages in thread

* [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-02-23 18:24 [Qemu-devel] [Bug 723871] [NEW] qemu-kvm-0.14.0 Aborts with -vga qxl Rick Vernam
                   ` (28 preceding siblings ...)
  2011-04-28  8:57 ` Boris Derzhavets
@ 2011-04-28 13:43 ` Jamie Strandboge
  2011-04-28 14:14 ` Boris Derzhavets
                   ` (40 subsequent siblings)
  70 siblings, 0 replies; 82+ messages in thread
From: Jamie Strandboge @ 2011-04-28 13:43 UTC (permalink / raw)
  To: qemu-devel

Boris, you should not disable the profile but instead update it. See
https://wiki.ubuntu.com/DebuggingApparmor and /usr/share/doc/libvirt-
bin/README.Debian for details.

-- 
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:
  Confirmed
Status in “libvirt” package in Ubuntu:
  Triaged
Status in “qemu-kvm” 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 vdagent 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=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,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.

^ permalink raw reply	[flat|nested] 82+ messages in thread

* [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-02-23 18:24 [Qemu-devel] [Bug 723871] [NEW] qemu-kvm-0.14.0 Aborts with -vga qxl Rick Vernam
                   ` (29 preceding siblings ...)
  2011-04-28 13:43 ` Jamie Strandboge
@ 2011-04-28 14:14 ` Boris Derzhavets
  2011-05-04  9:46 ` Boris Derzhavets
                   ` (39 subsequent siblings)
  70 siblings, 0 replies; 82+ messages in thread
From: Boris Derzhavets @ 2011-04-28 14:14 UTC (permalink / raw)
  To: qemu-devel

Thanks for advice. My primary target was to make sure , that it's not
libvirt 8.8.1 on Ubuntu 11.04 issue.

-- 
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:
  Confirmed
Status in “libvirt” package in Ubuntu:
  Triaged
Status in “qemu-kvm” 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 vdagent 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=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,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.

^ permalink raw reply	[flat|nested] 82+ messages in thread

* [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-02-23 18:24 [Qemu-devel] [Bug 723871] [NEW] qemu-kvm-0.14.0 Aborts with -vga qxl Rick Vernam
                   ` (30 preceding siblings ...)
  2011-04-28 14:14 ` Boris Derzhavets
@ 2011-05-04  9:46 ` Boris Derzhavets
  2011-05-04  9:48 ` Boris Derzhavets
                   ` (38 subsequent siblings)
  70 siblings, 0 replies; 82+ messages in thread
From: Boris Derzhavets @ 2011-05-04  9:46 UTC (permalink / raw)
  To: qemu-devel

git clone git://git.freedesktop.org/git/spice/qemu
cd qemu/
git checkout -b spice.v35 origin/spice.35

Allows to build qemu-kvm-spice_0.14.0+noroms-0ubuntu4qxl3_amd64.deb
with patches

larger_default_ram_size.patch
# Detect-and-use-GCC-atomic-builtins-for-locking.patch
# 0001-qxl-spice-display-move-pipe-to-ssd.patch
# 0002-qxl-implement-get_command-in-vga-mode-without-locks.patch
# 0003-qxl-spice-remove-qemu_mutex_-un-lock_iothread-around.patch
# 0004-hw-qxl-render-drop-cursor-locks-replace-with-pipe.patch

Package seems to work OK with SPICE2 PPA

-- 
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:
  Confirmed
Status in “libvirt” package in Ubuntu:
  Triaged
Status in “qemu-kvm” 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 vdagent 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=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,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.

^ permalink raw reply	[flat|nested] 82+ messages in thread

* [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-02-23 18:24 [Qemu-devel] [Bug 723871] [NEW] qemu-kvm-0.14.0 Aborts with -vga qxl Rick Vernam
                   ` (31 preceding siblings ...)
  2011-05-04  9:46 ` Boris Derzhavets
@ 2011-05-04  9:48 ` Boris Derzhavets
  2011-05-04 14:41 ` Serge Hallyn
                   ` (37 subsequent siblings)
  70 siblings, 0 replies; 82+ messages in thread
From: Boris Derzhavets @ 2011-05-04  9:48 UTC (permalink / raw)
  To: qemu-devel

** Attachment added: "qemu-kvm-spice based  spice.v35"
   https://bugs.launchpad.net/qemu/+bug/723871/+attachment/2111482/+files/qemu-kvm-spice_0.14.0%2Bnoroms-0ubuntu4qxl3_amd64.deb

-- 
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:
  Confirmed
Status in “libvirt” package in Ubuntu:
  Triaged
Status in “qemu-kvm” 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 vdagent 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=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,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.

^ permalink raw reply	[flat|nested] 82+ messages in thread

* [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-02-23 18:24 [Qemu-devel] [Bug 723871] [NEW] qemu-kvm-0.14.0 Aborts with -vga qxl Rick Vernam
                   ` (32 preceding siblings ...)
  2011-05-04  9:48 ` Boris Derzhavets
@ 2011-05-04 14:41 ` Serge Hallyn
  2011-05-04 17:33 ` Boris Derzhavets
                   ` (36 subsequent siblings)
  70 siblings, 0 replies; 82+ messages in thread
From: Serge Hallyn @ 2011-05-04 14:41 UTC (permalink / raw)
  To: qemu-devel

@Boris

Thanks for this work.  Would you be interested in pursuing the process
to push these packages (celt051, the spice packages, and qemu-kvm-spice
based on your new package) into the Ubuntu archive?  The process is
described at https://wiki.ubuntu.com/UbuntuDevelopment/NewPackages.

-- 
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:
  Confirmed
Status in “libvirt” package in Ubuntu:
  Triaged
Status in “qemu-kvm” 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 vdagent 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=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,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.

^ permalink raw reply	[flat|nested] 82+ messages in thread

* [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-02-23 18:24 [Qemu-devel] [Bug 723871] [NEW] qemu-kvm-0.14.0 Aborts with -vga qxl Rick Vernam
                   ` (33 preceding siblings ...)
  2011-05-04 14:41 ` Serge Hallyn
@ 2011-05-04 17:33 ` Boris Derzhavets
  2011-05-05  0:31   ` Serge Hallyn
  2011-05-05  7:07 ` Boris Derzhavets
                   ` (35 subsequent siblings)
  70 siblings, 1 reply; 82+ messages in thread
From: Boris Derzhavets @ 2011-05-04 17:33 UTC (permalink / raw)
  To: qemu-devel

@Serge,
  Sorry, but answer is no.  I just learned how dh_make and dpkg-buildpackage works , picked up your's debian folder.
Updated debian/patches/series  and changelog . built new debian package ( based on new qemu-kvm-spice-0.14.0+noroms_0ubuntu4qxl3.orig.tar.gz)  due to three recent commits to upstream branch spice.v35 were done 
by Gerd Hoffmann and seemed  to solve the issue. 
  My major concern is port to Ubuntu spice-gtk 0.6 ( with python bindings) . It requires GLIBC 2.14 (gtk2-devel >= 2.14).
I've installed via alienating 6 fedora's packages ( i.e. ignoring dependencies ) /usr/lib64/python2.7/dist-packages/SpiceClientGtk.so and VM's window got opened. Fixing complains one by one i got stuck when libc.so.6 was reported too old  ( GLIBC 2.13) . You are going to switch to 2.14 only on 11.10 as far as i know. So , i should wait for alpha.

-- 
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:
  Confirmed
Status in “libvirt” package in Ubuntu:
  Triaged
Status in “qemu-kvm” 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 vdagent 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=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,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.

^ permalink raw reply	[flat|nested] 82+ messages in thread

* Re: [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-05-04 17:33 ` Boris Derzhavets
@ 2011-05-05  0:31   ` Serge Hallyn
  0 siblings, 0 replies; 82+ messages in thread
From: Serge Hallyn @ 2011-05-05  0:31 UTC (permalink / raw)
  To: qemu-devel

> You are going to switch to 2.14 only on 11.10 as far as i know. So , i
should wait for alpha.

Natty has been released, so the ITP would in fact be for oneiric
(11.10).

Thanks again for your help.  If dev-zero isn't interested, I'll go
ahead and push the ITP.

-- 
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:
  Confirmed
Status in “libvirt” package in Ubuntu:
  Triaged
Status in “qemu-kvm” 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 vdagent 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=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,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.

^ permalink raw reply	[flat|nested] 82+ messages in thread

* [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-02-23 18:24 [Qemu-devel] [Bug 723871] [NEW] qemu-kvm-0.14.0 Aborts with -vga qxl Rick Vernam
                   ` (34 preceding siblings ...)
  2011-05-04 17:33 ` Boris Derzhavets
@ 2011-05-05  7:07 ` Boris Derzhavets
  2011-05-05 13:37   ` Serge Hallyn
  2011-05-06 12:31 ` Boris Derzhavets
                   ` (34 subsequent siblings)
  70 siblings, 1 reply; 82+ messages in thread
From: Boris Derzhavets @ 2011-05-05  7:07 UTC (permalink / raw)
  To: qemu-devel

What is ITP  ?

-- 
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:
  Confirmed
Status in “libvirt” package in Ubuntu:
  Triaged
Status in “qemu-kvm” 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 vdagent 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=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,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.

^ permalink raw reply	[flat|nested] 82+ messages in thread

* Re: [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-05-05  7:07 ` Boris Derzhavets
@ 2011-05-05 13:37   ` Serge Hallyn
  0 siblings, 0 replies; 82+ messages in thread
From: Serge Hallyn @ 2011-05-05 13:37 UTC (permalink / raw)
  To: qemu-devel

Quoting Boris Derzhavets (723871@bugs.launchpad.net):
> What is ITP  ?

ITP is an 'Intent to Package', as outlined at
https://wiki.ubuntu.com/UbuntuDevelopment/NewPackages.  It's a type of
bug to open in order to get packages into the universe archive.

-- 
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:
  Confirmed
Status in “libvirt” package in Ubuntu:
  Triaged
Status in “qemu-kvm” 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 vdagent 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=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,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.

^ permalink raw reply	[flat|nested] 82+ messages in thread

* [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-02-23 18:24 [Qemu-devel] [Bug 723871] [NEW] qemu-kvm-0.14.0 Aborts with -vga qxl Rick Vernam
                   ` (35 preceding siblings ...)
  2011-05-05  7:07 ` Boris Derzhavets
@ 2011-05-06 12:31 ` Boris Derzhavets
  2011-05-06 13:01 ` Boris Derzhavets
                   ` (33 subsequent siblings)
  70 siblings, 0 replies; 82+ messages in thread
From: Boris Derzhavets @ 2011-05-06 12:31 UTC (permalink / raw)
  To: qemu-devel

Uncompress regular Natty qemu-kvm package :-

qemu-kvm_0.14.0+noroms-0ubuntu4.diff.gz
qemu-kvm_0.14.0+noroms-0ubuntu4.dsc
qemu-kvm_0.14.0+noroms.orig.tar.gz

# dpkg-source -x qemu-kvm_0.14.0+noroms-0ubuntu4.dsc
# cd qemu-kvm_0.14.0+noroms-0ubuntu4

Edit  debian/rules and comment following  line ( per Serge Hallyn)

#       $(MAKE) -f debian/rules unpatch

to get patching to work !!

That's a reason why hack "spice-qxl-locking-fix-for-qemu-kvm.patch"
didn't work originally.

Change ./configure part of debian/rules adding "--enable-spice" :-

config-host.mak: $(QUILT_STAMPFN)
        dh_testdir
        ./configure \
            --target-list="x86_64-softmmu i386-softmmu x86_64-linux-user i386-linux-user" \
            --prefix=/usr \
            --interp-prefix=/etc/qemu-binfmt/%M \
            --disable-blobs \
            --disable-strip \
            --enable-spice \
            $(conf_arch)
Save

Edit debian/patches/series:-

larger_default_ram_size.patch
Detect-and-use-GCC-atomic-builtins-for-locking.patch
# spice-qxl-locking-fix-for-qemu-kvm.patch
0001-qxl-spice-display-move-pipe-to-ssd.patch
0002-qxl-implement-get_command-in-vga-mode-without-locks.patch
0003-qxl-spice-remove-qemu_mutex_-un-lock_iothread-around.patch
0004-hw-qxl-render-drop-cursor-locks-replace-with-pipe.patch

Save and copy required patches to debian/patches.

Edit debian/control like in SPICE2 PPA:-

Build-Depends: bcc,
               bzip2,
               debhelper (>= 7),
               device-tree-compiler [powerpc],
               iasl,
               libaio-dev,
               libasound2-dev,
               libcelt051-dev,
               libcurl4-gnutls-dev,
               libgnutls-dev,
               libncurses5-dev,
               libpci-dev,
               libpixman-1-dev,
               libpulse-dev,
               libsasl2-dev,
               libsdl1.2-dev (>= 1.2.14),
               libssl-dev,
               libx11-dev,
               nasm,
               perl,
               pkg-config,
               quilt (>= 0.40),
               libspice-server-dev,
               spice-protocol-dev,
               sysv-rc (>= 2.86.ds1-14.1ubuntu2),
               texi2html,
               texinfo,
               uuid-dev,
               zlib1g-dev
Save.

# touch -f debian/chagelog
# cd ..
# dpkg-buildpackage -rfakeroot -b -us -uc
# cd ..

Remove regular qemu-kvm package via Synaptic Manager
Install been built just now :-

root@boris-System-P5Q3:~/QEMU14# dpkg -i ./qemu_0.14.0+noroms-0ubuntu4_amd64.deb \
> qemu-common_0.14.0+noroms-0ubuntu4_all.deb


root@boris-System-P5Q3:~/QEMU14# ls -l /usr/bin/kvm*
lrwxrwxrwx 1 root root    18 2011-05-06 15:24 /usr/bin/kvm -> qemu-system-x86_64
lrwxrwxrwx 1 root root     8 2011-05-06 15:24 /usr/bin/kvm-img -> qemu-img
lrwxrwxrwx 1 root root     8 2011-05-06 15:24 /usr/bin/kvm-nbd -> qemu-nbd
-rwxr-xr-x 1 root root 11792 2011-02-22 16:34 /usr/bin/kvm_stat

root@boris-System-P5Q3:~/QEMU14# ls -l /usr/bin/qemu*
-rwxr-xr-x 1 root root 3520568 2011-05-06 15:08 /usr/bin/qemu
-rwxr-xr-x 1 root root 2014976 2011-05-06 15:08 /usr/bin/qemu-i386
-rwxr-xr-x 1 root root     270 2011-05-06 14:04 /usr/bin/qemu-ifdown
-rwxr-xr-x 1 root root     138 2011-02-22 16:34 /usr/bin/qemu-ifup
-rwxr-xr-x 1 root root  350640 2011-05-06 15:08 /usr/bin/qemu-img
-rwxr-xr-x 1 root root  362928 2011-05-06 15:08 /usr/bin/qemu-io
-rwxr-xr-x 1 root root  338384 2011-05-06 15:08 /usr/bin/qemu-nbd
lrwxrwxrwx 1 root root       4 2011-05-06 15:24 /usr/bin/qemu-system-i386 -> qemu
-rwxr-xr-x 1 root root 3590968 2011-05-06 15:08 /usr/bin/qemu-system-x86_64
-rwxr-xr-x 1 root root 2055128 2011-05-06 15:08 /usr/bin/qemu-x86_64

Done.

-- 
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:
  Confirmed
Status in “libvirt” package in Ubuntu:
  Triaged
Status in “qemu-kvm” 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 vdagent 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=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,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.

^ permalink raw reply	[flat|nested] 82+ messages in thread

* [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-02-23 18:24 [Qemu-devel] [Bug 723871] [NEW] qemu-kvm-0.14.0 Aborts with -vga qxl Rick Vernam
                   ` (36 preceding siblings ...)
  2011-05-06 12:31 ` Boris Derzhavets
@ 2011-05-06 13:01 ` Boris Derzhavets
  2011-05-07 10:38 ` Boris Derzhavets
                   ` (32 subsequent siblings)
  70 siblings, 0 replies; 82+ messages in thread
From: Boris Derzhavets @ 2011-05-06 13:01 UTC (permalink / raw)
  To: qemu-devel

Sorry, for typo in package name ( qemu-kvm) . I've upgraded version in
debian/changelog.

root@boris-System-P5Q3:~/QEMU14# ls -l *.deb |grep -v "0ubuntu4_"

-rw-r--r-- 1 root root   19494 2011-05-06 16:45 kvm_84+dfsg-0ubuntu16+0.14.0+noroms+0ubuntu5_amd64.deb
-rw-r--r-- 1 root root   18958 2011-05-06 16:45 qemu_0.14.0+noroms-0ubuntu5_amd64.deb
-rw-r--r-- 1 root root   37758 2011-05-06 16:41 qemu-common_0.14.0+noroms-0ubuntu5_all.deb
-rw-r--r-- 1 root root 3512986 2011-05-06 16:45 qemu-kvm_0.14.0+noroms-0ubuntu5_amd64.deb


root@boris-System-P5Q3:~/QEMU14# dpkg -i ./qemu-kvm_0.14.0+noroms-0ubuntu5_amd64.deb \
> qemu_0.14.0+noroms-0ubuntu5_amd64.deb \
> qemu-common_0.14.0+noroms-0ubuntu5_all.deb

(Reading database ... 141175 files and directories currently installed.)
Preparing to replace qemu-kvm 0.14.0+noroms-0ubuntu4 (using .../qemu-kvm_0.14.0+noroms-0ubuntu5_amd64.deb) ...
Unpacking replacement qemu-kvm ...
Preparing to replace qemu 0.14.0+noroms-0ubuntu4 (using qemu_0.14.0+noroms-0ubuntu5_amd64.deb) ...
Unpacking replacement qemu ...
Preparing to replace qemu-common 0.14.0+noroms-0ubuntu4 (using qemu-common_0.14.0+noroms-0ubuntu5_all.deb) ...
Unpacking replacement qemu-common ...
Setting up qemu-common (0.14.0+noroms-0ubuntu5) ...
Setting up qemu-kvm (0.14.0+noroms-0ubuntu5) ...
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
Processing triggers for man-db ...
Setting up qemu (0.14.0+noroms-0ubuntu5) ...

# dpkg -l | grep qemu
ii  qemu                              0.14.0+noroms-0ubuntu5                     dummy transitional package from qemu to qemu-kvm
ii  qemu-common             0.14.0+noroms-0ubuntu5                     qemu common functionality (bios, documentation, etc)
ii  qemu-kvm                     0.14.0+noroms-0ubuntu5                     Full virtualization on i386 and amd64 har

root@boris-System-P5Q3:~/QEMU14# ls -l /usr/bin/qemu*

-rwxr-xr-x 1 root root 3520568 2011-05-06 16:45 /usr/bin/qemu
-rwxr-xr-x 1 root root 2014976 2011-05-06 16:45 /usr/bin/qemu-i386
-rwxr-xr-x 1 root root     270 2011-05-06 14:04 /usr/bin/qemu-ifdown
-rwxr-xr-x 1 root root     138 2011-02-22 16:34 /usr/bin/qemu-ifup
-rwxr-xr-x 1 root root  350640 2011-05-06 16:45 /usr/bin/qemu-img
-rwxr-xr-x 1 root root  362928 2011-05-06 16:45 /usr/bin/qemu-io
-rwxr-xr-x 1 root root  338384 2011-05-06 16:45 /usr/bin/qemu-nbd
lrwxrwxrwx 1 root root       4 2011-05-06 16:48 /usr/bin/qemu-system-i386 -> qemu
-rwxr-xr-x 1 root root 3590968 2011-05-06 16:45 /usr/bin/qemu-system-x86_64
-rwxr-xr-x 1 root root 2055128 2011-05-06 16:45 /usr/bin/qemu-x86_64

-- 
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:
  Confirmed
Status in “libvirt” package in Ubuntu:
  Triaged
Status in “qemu-kvm” 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 vdagent 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=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,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.

^ permalink raw reply	[flat|nested] 82+ messages in thread

* [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-02-23 18:24 [Qemu-devel] [Bug 723871] [NEW] qemu-kvm-0.14.0 Aborts with -vga qxl Rick Vernam
                   ` (37 preceding siblings ...)
  2011-05-06 13:01 ` Boris Derzhavets
@ 2011-05-07 10:38 ` Boris Derzhavets
  2011-05-07 10:51 ` Boris Derzhavets
                   ` (31 subsequent siblings)
  70 siblings, 0 replies; 82+ messages in thread
From: Boris Derzhavets @ 2011-05-07 10:38 UTC (permalink / raw)
  To: qemu-devel

I cannot upload packages to PPA :-

root@boris-System-P5Q3:~/KVMQEMU14# dput ppa:bderzhavets/spice2  qemu-kvm_0.14.0+noroms-0ubuntu7_amd64.changes
Checking signature on .changes
gpg: Signature made Sat 07 May 2011 02:27:25 PM MSD using RSA key ID 930900E6
gpg: Good signature from "Boris Derzhavets (Development key) <bderzhavets@yahoo.com>"
Good signature on /root/KVMQEMU14/qemu-kvm_0.14.0+noroms-0ubuntu7_amd64.changes.
Uploading to ppa (via ftp to ppa.launchpad.net):
  Uploading qemu-common_0.14.0+noroms-0ubuntu7_all.deb: done.  
  Uploading qemu-kvm_0.14.0+noroms-0ubuntu7_amd64.deb: done.      
  Uploading qemu_0.14.0+noroms-0ubuntu7_amd64.deb: done.  
  Uploading kvm_84+dfsg-0ubuntu16+0.14.0+noroms+0ubuntu7_amd64.deb: done.  
  Uploading qemu-kvm_0.14.0+noroms-0ubuntu7_amd64.changes: 2k/3k550 Changes file must be signed with a valid GPG signature: Verification failed 3 times: ["(7, 9, u'No public key')", "(7, 9, u'No public key')", "(7, 9, u'No public key')"] : Permission denied.
Note: This error might indicate a problem with your passive_ftp setting.
      Please consult dput.cf(5) for details on this configuration option.

Please, advise.

-- 
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:
  Confirmed
Status in “libvirt” package in Ubuntu:
  Triaged
Status in “qemu-kvm” 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 vdagent 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=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,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.

^ permalink raw reply	[flat|nested] 82+ messages in thread

* [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-02-23 18:24 [Qemu-devel] [Bug 723871] [NEW] qemu-kvm-0.14.0 Aborts with -vga qxl Rick Vernam
                   ` (38 preceding siblings ...)
  2011-05-07 10:38 ` Boris Derzhavets
@ 2011-05-07 10:51 ` Boris Derzhavets
  2011-05-07 18:29 ` Boris Derzhavets
                   ` (30 subsequent siblings)
  70 siblings, 0 replies; 82+ messages in thread
From: Boris Derzhavets @ 2011-05-07 10:51 UTC (permalink / raw)
  To: qemu-devel

Similar issues mentioned here :-
https://answers.launchpad.net/launchpad/+question/152715

-- 
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:
  Confirmed
Status in “libvirt” package in Ubuntu:
  Triaged
Status in “qemu-kvm” 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 vdagent 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=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,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.

^ permalink raw reply	[flat|nested] 82+ messages in thread

* [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-02-23 18:24 [Qemu-devel] [Bug 723871] [NEW] qemu-kvm-0.14.0 Aborts with -vga qxl Rick Vernam
                   ` (39 preceding siblings ...)
  2011-05-07 10:51 ` Boris Derzhavets
@ 2011-05-07 18:29 ` Boris Derzhavets
  2011-05-08 14:50 ` Boris Derzhavets
                   ` (29 subsequent siblings)
  70 siblings, 0 replies; 82+ messages in thread
From: Boris Derzhavets @ 2011-05-07 18:29 UTC (permalink / raw)
  To: qemu-devel

It's done now as PPA :-
https://launchpad.net/~bderzhavets/+archive/spice2

-- 
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:
  Confirmed
Status in “libvirt” package in Ubuntu:
  Triaged
Status in “qemu-kvm” 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 vdagent 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=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,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.

^ permalink raw reply	[flat|nested] 82+ messages in thread

* [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-02-23 18:24 [Qemu-devel] [Bug 723871] [NEW] qemu-kvm-0.14.0 Aborts with -vga qxl Rick Vernam
                   ` (40 preceding siblings ...)
  2011-05-07 18:29 ` Boris Derzhavets
@ 2011-05-08 14:50 ` Boris Derzhavets
  2011-05-08 20:15 ` Boris Derzhavets
                   ` (28 subsequent siblings)
  70 siblings, 0 replies; 82+ messages in thread
From: Boris Derzhavets @ 2011-05-08 14:50 UTC (permalink / raw)
  To: qemu-devel

Build spice-gtk-0.6 on Ubuntu 11.04 ( --with-pyton)

#  cd /root/spice-gtk-0.6
# ./configure --prefix=/usr --build=x86_64-linux-gnu \
 --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share \
 --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/bin \
 --with-python 

. . .

configure:

        Spice-Gtk 0.6
        ==============

        prefix:                   /usr
        c compiler:               gcc -std=gnu99
        c++ compiler:             g++

        Coroutine:                ucontext
        Audio:                    pulse
        Target:                   
        SASL support:             yes
        Gtk:                      2.0

        Now type 'make' to build spice-gtk


# make

# find . -name "SpiceClientGtk*" -print
./gtk/SpiceClientGtk_la-spice-client-gtk-module.defs.o
./gtk/SpiceClientGtk.la
./gtk/SpiceClientGtk_la-spice-client-gtk-module.o
./gtk/.deps/SpiceClientGtk_la-spice-client-gtk-module.Plo
./gtk/.deps/SpiceClientGtk_la-spice-client-gtk-module.defs.Plo
./gtk/SpiceClientGtk_la-spice-client-gtk-module.lo
./gtk/.libs/SpiceClientGtk_la-spice-client-gtk-module.defs.o
./gtk/.libs/SpiceClientGtk.la
./gtk/.libs/SpiceClientGtk_la-spice-client-gtk-module.o
./gtk/.libs/SpiceClientGtk.a
./gtk/.libs/SpiceClientGtk.so
./gtk/.libs/SpiceClientGtk.lai
./gtk/SpiceClientGtk_la-spice-client-gtk-module.defs.lo


# make install (Doing so, i understand potential problems with spicec installed via PPA)

......

----------------------------------------------------------------------
test -z "/usr/bin" || /bin/mkdir -p "/usr/bin"
  /bin/bash ../libtool   --mode=install /usr/bin/install -c spicy snappy '/usr/bin'
libtool: install: /usr/bin/install -c .libs/spicy /usr/bin/spicy
libtool: install: /usr/bin/install -c .libs/snappy /usr/bin/snappy
test -z "/usr/lib/python2.7/dist-packages" || /bin/mkdir -p "/usr/lib/python2.7/dist-packages"
 /bin/bash ../libtool   --mode=install /usr/bin/install -c   SpiceClientGtk.la '/usr/lib/python2.7/dist-packages'
libtool: install: warning: relinking `SpiceClientGtk.la'
libtool: install: (cd /root/spice-gtk-0.6/gtk; /bin/bash /root/spice-gtk-0.6/libtool  --silent --tag CC --mode=relink gcc -std=gnu99 -pthread -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pixman-1 -I/usr/include/python2.7 -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pygtk-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pixman-1 -g -O2 -module -avoid-version -fPIC -o SpiceClientGtk.la -rpath /usr/lib/python2.7/dist-packages SpiceClientGtk_la-spice-client-gtk-module.lo SpiceClientGtk_la-spice-client-gtk-module.defs.lo libspice-client-gtk-2.0.la libspice-client-glib-2.0.la -pthread -L/usr/lib/x86_64-linux-gnu -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lm -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 )
libtool: install: /usr/bin/install -c .libs/SpiceClientGtk.soT /usr/lib/python2.7/dist-packages/SpiceClientGtk.so
libtool: install: /usr/bin/install -c .libs/SpiceClientGtk.lai /usr/lib/python2.7/dist-packages/SpiceClientGtk.la
libtool: install: /usr/bin/install -c .libs/SpiceClientGtk.a /usr/lib/python2.7/dist-packages/SpiceClientGtk.a
libtool: install: chmod 644 /usr/lib/python2.7/dist-packages/SpiceClientGtk.a
libtool: install: ranlib /usr/lib/python2.7/dist-packages/SpiceClientGtk.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/sbin" ldconfig -n /usr/lib/python2.7/dist-packages
----------------------------------------------------------------------

. . . . . .


Virt-manager 0.8.6  opens Spice Window session for F14 as expected.
Spice Client  (spice-gtk - 0.6-0ubuntu1 ) installed via Serge's  PPA works fine.

-- 
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:
  Confirmed
Status in “libvirt” package in Ubuntu:
  Triaged
Status in “qemu-kvm” 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 vdagent 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=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,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.

^ permalink raw reply	[flat|nested] 82+ messages in thread

* [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-02-23 18:24 [Qemu-devel] [Bug 723871] [NEW] qemu-kvm-0.14.0 Aborts with -vga qxl Rick Vernam
                   ` (41 preceding siblings ...)
  2011-05-08 14:50 ` Boris Derzhavets
@ 2011-05-08 20:15 ` Boris Derzhavets
  2011-05-12 12:22 ` Boris Derzhavets
                   ` (27 subsequent siblings)
  70 siblings, 0 replies; 82+ messages in thread
From: Boris Derzhavets @ 2011-05-08 20:15 UTC (permalink / raw)
  To: qemu-devel

In spice session activated via virt-manager guest may run only in "VGA" mode. Setting video to "QXL" causes mouse to
disappear in VM's window.

-- 
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:
  Confirmed
Status in “libvirt” package in Ubuntu:
  Triaged
Status in “qemu-kvm” 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 vdagent 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=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,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.

^ permalink raw reply	[flat|nested] 82+ messages in thread

* [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-02-23 18:24 [Qemu-devel] [Bug 723871] [NEW] qemu-kvm-0.14.0 Aborts with -vga qxl Rick Vernam
                   ` (42 preceding siblings ...)
  2011-05-08 20:15 ` Boris Derzhavets
@ 2011-05-12 12:22 ` Boris Derzhavets
  2011-05-12 12:22 ` Boris Derzhavets
                   ` (26 subsequent siblings)
  70 siblings, 0 replies; 82+ messages in thread
From: Boris Derzhavets @ 2011-05-12 12:22 UTC (permalink / raw)
  To: qemu-devel

I386 build constantly fails in my PPA  https://launchpad.net/~bderzhavets/+archive/git-spice.
Build on local box ( Q9550,8 GB ) Ubuntu 11.04 (64-bit)

debuild -rfakeroot -b -k930900E6 | tee build-v35.log

doesn't have any problems with ./hw/qxl.c. I attached log and packages

** Attachment added: "Buid log"
   https://bugs.launchpad.net/qemu/+bug/723871/+attachment/2125644/+files/build-v35.log

-- 
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:
  Confirmed
Status in “libvirt” package in Ubuntu:
  Triaged
Status in “qemu-kvm” 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 vdagent 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=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,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.

^ permalink raw reply	[flat|nested] 82+ messages in thread

* [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-02-23 18:24 [Qemu-devel] [Bug 723871] [NEW] qemu-kvm-0.14.0 Aborts with -vga qxl Rick Vernam
                   ` (43 preceding siblings ...)
  2011-05-12 12:22 ` Boris Derzhavets
@ 2011-05-12 12:22 ` Boris Derzhavets
  2011-05-12 12:23 ` Boris Derzhavets
                   ` (25 subsequent siblings)
  70 siblings, 0 replies; 82+ messages in thread
From: Boris Derzhavets @ 2011-05-12 12:22 UTC (permalink / raw)
  To: qemu-devel

** Attachment added: "qemu_0.14.0+spice-v35-0ubuntu1_amd64.deb"
   https://bugs.launchpad.net/qemu/+bug/723871/+attachment/2125645/+files/qemu_0.14.0%2Bspice-v35-0ubuntu1_amd64.deb

-- 
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:
  Confirmed
Status in “libvirt” package in Ubuntu:
  Triaged
Status in “qemu-kvm” 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 vdagent 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=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,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.

^ permalink raw reply	[flat|nested] 82+ messages in thread

* [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-02-23 18:24 [Qemu-devel] [Bug 723871] [NEW] qemu-kvm-0.14.0 Aborts with -vga qxl Rick Vernam
                   ` (44 preceding siblings ...)
  2011-05-12 12:22 ` Boris Derzhavets
@ 2011-05-12 12:23 ` Boris Derzhavets
  2011-05-12 12:25 ` Boris Derzhavets
                   ` (24 subsequent siblings)
  70 siblings, 0 replies; 82+ messages in thread
From: Boris Derzhavets @ 2011-05-12 12:23 UTC (permalink / raw)
  To: qemu-devel

** Attachment added: "qemu-common_0.14.0+spice-v35-0ubuntu1_all.deb"
   https://bugs.launchpad.net/qemu/+bug/723871/+attachment/2125646/+files/qemu-common_0.14.0%2Bspice-v35-0ubuntu1_all.deb

-- 
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:
  Confirmed
Status in “libvirt” package in Ubuntu:
  Triaged
Status in “qemu-kvm” 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 vdagent 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=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,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.

^ permalink raw reply	[flat|nested] 82+ messages in thread

* [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-02-23 18:24 [Qemu-devel] [Bug 723871] [NEW] qemu-kvm-0.14.0 Aborts with -vga qxl Rick Vernam
                   ` (45 preceding siblings ...)
  2011-05-12 12:23 ` Boris Derzhavets
@ 2011-05-12 12:25 ` Boris Derzhavets
  2011-05-12 15:55 ` Serge Hallyn
                   ` (23 subsequent siblings)
  70 siblings, 0 replies; 82+ messages in thread
From: Boris Derzhavets @ 2011-05-12 12:25 UTC (permalink / raw)
  To: qemu-devel

** Attachment added: "qemu-kvm_0.14.0+spice-v35-0ubuntu1_amd64.deb"
   https://bugs.launchpad.net/qemu/+bug/723871/+attachment/2125647/+files/qemu-kvm_0.14.0%2Bspice-v35-0ubuntu1_amd64.deb

-- 
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:
  Confirmed
Status in “libvirt” package in Ubuntu:
  Triaged
Status in “qemu-kvm” 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 vdagent 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=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,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.

^ permalink raw reply	[flat|nested] 82+ messages in thread

* [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-02-23 18:24 [Qemu-devel] [Bug 723871] [NEW] qemu-kvm-0.14.0 Aborts with -vga qxl Rick Vernam
                   ` (46 preceding siblings ...)
  2011-05-12 12:25 ` Boris Derzhavets
@ 2011-05-12 15:55 ` Serge Hallyn
  2011-05-13  9:10 ` Boris Derzhavets
                   ` (22 subsequent siblings)
  70 siblings, 0 replies; 82+ messages in thread
From: Serge Hallyn @ 2011-05-12 15:55 UTC (permalink / raw)
  To: qemu-devel

@Boris,

The failure (in https://launchpadlibrarian.net/71569256/buildlog_ubuntu-
natty-i386.qemu-kvm_0.14.0%2Bspice-v35-0ubuntu1_FAILEDTOBUILD.txt.gz)
is:

/build/buildd/qemu-kvm-0.14.0+spice-v35/hw/qxl.c: In function 'interface_release_resource':
/build/buildd/qemu-kvm-0.14.0+spice-v35/hw/qxl.c:456:46: error: cast to pointer from integer of different size
/build/buildd/qemu-kvm-0.14.0+spice-v35/hw/qxl.c: In function 'qxl_add_memslot':
/build/buildd/qemu-kvm-0.14.0+spice-v35/hw/qxl.c:771:5: error: format '%llx' expects type 'long long unsigned int', but argument 5 has type 'long unsigned int'
/build/buildd/qemu-kvm-0.14.0+spice-v35/hw/qxl.c:771:5: error: format '%llx' expects type 'long long unsigned int', but argument 6 has type 'long unsigned int'
/build/buildd/qemu-kvm-0.14.0+spice-v35/hw/qxl.c: In function 'qxl_phys2virt':
/build/buildd/qemu-kvm-0.14.0+spice-v35/hw/qxl.c:813:16: error: cast to pointer from integer of different size
/build/buildd/qemu-kvm-0.14.0+spice-v35/hw/qxl.c: In function 'qxl_set_mode':
/build/buildd/qemu-kvm-0.14.0+spice-v35/hw/qxl.c:892:5: error: format '%lx' expects type 'long unsigned int', but argument 8 has type 'uint64_t'
/build/buildd/qemu-kvm-0.14.0+spice-v35/hw/qxl.c: In function 'qxl_map':
/build/buildd/qemu-kvm-0.14.0+spice-v35/hw/qxl.c:1028:5: error: format '%lx' expects type 'long unsigned int', but argument 6 has type 'pcibus_t'
/build/buildd/qemu-kvm-0.14.0+spice-v35/hw/qxl.c:1028:5: error: format '%lx' expects type 'long unsigned int', but argument 7 has type 'pcibus_t'
make[2]: *** [qxl.o] Error 1

-- 
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:
  Confirmed
Status in “libvirt” package in Ubuntu:
  Triaged
Status in “qemu-kvm” 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 vdagent 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=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,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.

^ permalink raw reply	[flat|nested] 82+ messages in thread

* [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-02-23 18:24 [Qemu-devel] [Bug 723871] [NEW] qemu-kvm-0.14.0 Aborts with -vga qxl Rick Vernam
                   ` (47 preceding siblings ...)
  2011-05-12 15:55 ` Serge Hallyn
@ 2011-05-13  9:10 ` Boris Derzhavets
  2011-05-13 10:48 ` Boris Derzhavets
                   ` (21 subsequent siblings)
  70 siblings, 0 replies; 82+ messages in thread
From: Boris Derzhavets @ 2011-05-13  9:10 UTC (permalink / raw)
  To: qemu-devel

@Serge,

I saw that.  It doesn't happen when i extract source on local box via *.dsc file and build with 64-bit glibc.
I would guess  it was attempt to compile with 32-bit version of glibc. 32-bit support on spice.v35 was dropped.

-- 
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:
  Confirmed
Status in “libvirt” package in Ubuntu:
  Triaged
Status in “qemu-kvm” 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 vdagent 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=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,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.

^ permalink raw reply	[flat|nested] 82+ messages in thread

* [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-02-23 18:24 [Qemu-devel] [Bug 723871] [NEW] qemu-kvm-0.14.0 Aborts with -vga qxl Rick Vernam
                   ` (48 preceding siblings ...)
  2011-05-13  9:10 ` Boris Derzhavets
@ 2011-05-13 10:48 ` Boris Derzhavets
  2011-05-13 17:27 ` Boris Derzhavets
                   ` (20 subsequent siblings)
  70 siblings, 0 replies; 82+ messages in thread
From: Boris Derzhavets @ 2011-05-13 10:48 UTC (permalink / raw)
  To: qemu-devel

I commited  build in mentioned  PPA  via

diff -Nru qemu-kvm-0.14.0+spice-v35/configure qemu-kvm-0.14.0+spicev35/configure
--- qemu-kvm-0.14.0+spice-v35/configure	2011-05-12 05:36:32.000000000 +0000
+++ qemu-kvm-0.14.0+spicev35/configure	2011-05-13 09:17:01.000000000 +0000
@@ -2484,7 +2484,7 @@
 if test -z "$werror" ; then
     if test "$z_version" = "50" -a \
         "$linux" = "yes" ; then
-        werror="yes"
+        werror="no"
     else
         werror="no"
     fi

Actually , disabling "-Werror" to build qemu-common_0.14.0+spicev35-0ubuntu1_all.deb.
"qemu-kvm", "qemu" amd64 packages may be built with "-Werror" with no problems.
Please , DON'T install packages from https://launchpad.net/~bderzhavets/+archive/git-spice in 32-bit  environment.

-- 
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:
  Confirmed
Status in “libvirt” package in Ubuntu:
  Triaged
Status in “qemu-kvm” 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 vdagent 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=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,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.

^ permalink raw reply	[flat|nested] 82+ messages in thread

* [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-02-23 18:24 [Qemu-devel] [Bug 723871] [NEW] qemu-kvm-0.14.0 Aborts with -vga qxl Rick Vernam
                   ` (49 preceding siblings ...)
  2011-05-13 10:48 ` Boris Derzhavets
@ 2011-05-13 17:27 ` Boris Derzhavets
  2011-05-13 18:57 ` Serge Hallyn
                   ` (19 subsequent siblings)
  70 siblings, 0 replies; 82+ messages in thread
From: Boris Derzhavets @ 2011-05-13 17:27 UTC (permalink / raw)
  To: qemu-devel

Finally, i got it.

https://launchpadlibrarian.net/71622307/buildlog_ubuntu-natty-amd64
.qemu-kvm_0.14.0%2Bspicev35-0ubuntu1_BUILDING.txt.gz

Log is clean

https://launchpadlibrarian.net/71622306/buildlog_ubuntu-natty-i386.qemu-
kvm_0.14.0%2Bspicev35-0ubuntu1_BUILDING.txt.gz

qemu-common_0.14.0+spicev35-0ubuntu1_all.deb has nothing to do with
"-Werror"

chroot-autobuild/build/buildd/qemu-common_0.14.0+spicev35-0ubuntu1_all.deb:
drwxr-xr-x root/root         0 2011-05-13 09:45 ./
drwxr-xr-x root/root         0 2011-05-13 09:45 ./usr/
drwxr-xr-x root/root         0 2011-05-13 09:45 ./usr/share/
drwxr-xr-x root/root         0 2011-05-13 09:45 ./usr/share/apport/
drwxr-xr-x root/root         0 2011-05-13 09:45 ./usr/share/apport/package-hooks/
-rw-r--r-- root/root       350 2011-05-13 09:15 ./usr/share/apport/package-hooks/source_qemu-kvm.py
drwxr-xr-x root/root         0 2011-05-13 09:45 ./usr/share/qemu/
-rwxr-xr-x root/root      1024 2011-05-13 09:44 ./usr/share/qemu/multiboot.bin
drwxr-xr-x root/root         0 2011-05-13 09:14 ./usr/share/qemu/keymaps/
-rw-r--r-- root/root      2587 2011-05-13 09:14 ./usr/share/qemu/keymaps/fr
-rw-r--r-- root/root      2576 2011-05-13 09:14 ./usr/share/qemu/keymaps/no
-rw-r--r-- root/root      1354 2011-05-13 09:14 ./usr/share/qemu/keymaps/pt-br
-rw-r--r-- root/root      2699 2011-05-13 09:14 ./usr/share/qemu/keymaps/hr
-rw-r--r-- root/root       934 2011-05-13 09:14 ./usr/share/qemu/keymaps/fr-ca
-rw-r--r-- root/root     11421 2011-05-13 09:14 ./usr/share/qemu/keymaps/bepo
-rw-r--r-- root/root      1866 2011-05-13 09:14 ./usr/share/qemu/keymaps/hu
-rw-r--r-- root/root      2672 2011-05-13 09:14 ./usr/share/qemu/keymaps/pl
-rw-r--r-- root/root      3064 2011-05-13 09:14 ./usr/share/qemu/keymaps/is
-rw-r--r-- root/root      1105 2011-05-13 09:14 ./usr/share/qemu/keymaps/nl
-rw-r--r-- root/root      3123 2011-05-13 09:14 ./usr/share/qemu/keymaps/th
-rw-r--r-- root/root       609 2011-05-13 09:14 ./usr/share/qemu/keymaps/en-us
-rw-r--r-- root/root      2735 2011-05-13 09:14 ./usr/share/qemu/keymaps/fr-be
-rw-r--r-- root/root      2649 2011-05-13 09:14 ./usr/share/qemu/keymaps/tr
-rw-r--r-- root/root      1096 2011-05-13 09:14 ./usr/share/qemu/keymaps/lt
-rw-r--r-- root/root       906 2011-05-13 09:14 ./usr/share/qemu/keymaps/fo
-rw-r--r-- root/root       293 2011-05-13 09:14 ./usr/share/qemu/keymaps/modifiers
-rw-r--r-- root/root      2450 2011-05-13 09:14 ./usr/share/qemu/keymaps/pt
-rw-r--r-- root/root      2462 2011-05-13 09:14 ./usr/share/qemu/keymaps/it
-rw-r--r-- root/root      2366 2011-05-13 09:14 ./usr/share/qemu/keymaps/mk
-rw-r--r-- root/root      2293 2011-05-13 09:14 ./usr/share/qemu/keymaps/sl
-rw-r--r-- root/root      1115 2011-05-13 09:14 ./usr/share/qemu/keymaps/et
-rw-r--r-- root/root        43 2011-05-13 09:14 ./usr/share/qemu/keymaps/nl-be
-rw-r--r-- root/root      2467 2011-05-13 09:14 ./usr/share/qemu/keymaps/de
-rw-r--r-- root/root      1008 2011-05-13 09:14 ./usr/share/qemu/keymaps/sv
-rw-r--r-- root/root      2581 2011-05-13 09:14 ./usr/share/qemu/keymaps/en-gb
-rw-r--r-- root/root      2239 2011-05-13 09:14 ./usr/share/qemu/keymaps/ar
-rw-r--r-- root/root      2576 2011-05-13 09:14 ./usr/share/qemu/keymaps/da
-rw-r--r-- root/root      2236 2011-05-13 09:14 ./usr/share/qemu/keymaps/es
-rw-r--r-- root/root      2685 2011-05-13 09:14 ./usr/share/qemu/keymaps/fi
-rw-r--r-- root/root      2554 2011-05-13 09:14 ./usr/share/qemu/keymaps/ru
-rw-r--r-- root/root      2140 2011-05-13 09:14 ./usr/share/qemu/keymaps/ja
-rw-r--r-- root/root      2077 2011-05-13 09:14 ./usr/share/qemu/keymaps/common
-rw-r--r-- root/root      2840 2011-05-13 09:14 ./usr/share/qemu/keymaps/lv
-rw-r--r-- root/root      2471 2011-05-13 09:14 ./usr/share/qemu/keymaps/fr-ch
-rw-r--r-- root/root      2533 2011-05-13 09:14 ./usr/share/qemu/keymaps/de-ch
-rwxr-xr-x root/root      1024 2011-05-13 09:45 ./usr/share/qemu/linuxboot.bin
drwxr-xr-x root/root         0 2011-05-13 09:45 ./usr/share/doc/
drwxr-xr-x root/root         0 2011-05-13 09:45 ./usr/share/doc/qemu-common/
-rw-r--r-- root/root     15720 2011-05-13 09:20 ./usr/share/doc/qemu-common/changelog.Debian.gz
-rw-r--r-- root/root      4079 2011-05-13 09:15 ./usr/share/doc/qemu-common/copyright
drwxr-xr-x root/root         0 2011-05-13 09:45 ./usr/bin/
-rwxr-xr-x root/root       270 2011-05-13 09:15 ./usr/bin/qemu-ifdown
-rwxr-xr-x root/root       138 2011-05-13 09:15 ./usr/bin/qemu-ifup
drwxr-xr-x root/root         0 2011-05-13 09:45 ./etc/
lrwxrwxrwx root/root         0 2011-05-13 09:45 ./usr/share/qemu/vgabios.bin -> ../vgabios/vgabios.bin
lrwxrwxrwx root/root         0 2011-05-13 09:45 ./usr/share/qemu/vgabios-qxl.bin -> ../vgabios/vgabios.qxl.bin
lrwxrwxrwx root/root         0 2011-05-13 09:45 ./usr/share/qemu/vgabios-vmware.bin -> ../vgabios/vgabios.vmware.bin
lrwxrwxrwx root/root         0 2011-05-13 09:45 ./usr/share/qemu/vgabios-stdvga.bin -> ../vgabios/vgabios.stdvga.bin
lrwxrwxrwx root/root         0 2011-05-13 09:45 ./usr/share/qemu/vgabios-cirrus.bin -> ../vgabios/vgabios.cirrus.bin
lrwxrwxrwx root/root         0 2011-05-13 09:45 ./usr/share/qemu/bios.bin -> ../seabios/bios.bin
lrwxrwxrwx root/root         0 2011-05-13 09:45 ./etc/qemu-ifdown -> /usr/bin/qemu-ifdown
lrwxrwxrwx root/root         0 2011-05-13 09:45 ./etc/qemu-ifup -> /usr/bin/qemu-ifup

-- 
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:
  Confirmed
Status in “libvirt” package in Ubuntu:
  Triaged
Status in “qemu-kvm” 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 vdagent 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=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,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.

^ permalink raw reply	[flat|nested] 82+ messages in thread

* [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-02-23 18:24 [Qemu-devel] [Bug 723871] [NEW] qemu-kvm-0.14.0 Aborts with -vga qxl Rick Vernam
                   ` (50 preceding siblings ...)
  2011-05-13 17:27 ` Boris Derzhavets
@ 2011-05-13 18:57 ` Serge Hallyn
  2011-05-14  9:47 ` Boris Derzhavets
                   ` (18 subsequent siblings)
  70 siblings, 0 replies; 82+ messages in thread
From: Serge Hallyn @ 2011-05-13 18:57 UTC (permalink / raw)
  To: qemu-devel

Disabling -Werror on 32-bit builds is of course a workaround, but the
right answer will be to see that the issues are fixed upstream.

-- 
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:
  Confirmed
Status in “libvirt” package in Ubuntu:
  Triaged
Status in “qemu-kvm” 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 vdagent 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=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,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.

^ permalink raw reply	[flat|nested] 82+ messages in thread

* [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-02-23 18:24 [Qemu-devel] [Bug 723871] [NEW] qemu-kvm-0.14.0 Aborts with -vga qxl Rick Vernam
                   ` (51 preceding siblings ...)
  2011-05-13 18:57 ` Serge Hallyn
@ 2011-05-14  9:47 ` Boris Derzhavets
  2011-05-14 13:06 ` Serge Hallyn
                   ` (17 subsequent siblings)
  70 siblings, 0 replies; 82+ messages in thread
From: Boris Derzhavets @ 2011-05-14  9:47 UTC (permalink / raw)
  To: qemu-devel

Please, view one more time #50.

-- 
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:
  Confirmed
Status in “libvirt” package in Ubuntu:
  Triaged
Status in “qemu-kvm” 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 vdagent 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=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,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.

^ permalink raw reply	[flat|nested] 82+ messages in thread

* [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-02-23 18:24 [Qemu-devel] [Bug 723871] [NEW] qemu-kvm-0.14.0 Aborts with -vga qxl Rick Vernam
                   ` (52 preceding siblings ...)
  2011-05-14  9:47 ` Boris Derzhavets
@ 2011-05-14 13:06 ` Serge Hallyn
  2011-05-14 13:25 ` blueswirl
                   ` (16 subsequent siblings)
  70 siblings, 0 replies; 82+ messages in thread
From: Serge Hallyn @ 2011-05-14 13:06 UTC (permalink / raw)
  To: qemu-devel

I have a hard time stomaching '32-bit support was dropped'.  Is there an
archived mailing list message saying more about that?

Can you build a 32-bit package (on a 32-bit host) with -Werror?  If so,
then I'm still misunderstanding your comment #50.

Sorry, please help me become unconfused :)

-- 
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:
  Confirmed
Status in “libvirt” package in Ubuntu:
  Triaged
Status in “qemu-kvm” 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 vdagent 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=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,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.

^ permalink raw reply	[flat|nested] 82+ messages in thread

* [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-02-23 18:24 [Qemu-devel] [Bug 723871] [NEW] qemu-kvm-0.14.0 Aborts with -vga qxl Rick Vernam
                   ` (53 preceding siblings ...)
  2011-05-14 13:06 ` Serge Hallyn
@ 2011-05-14 13:25 ` blueswirl
  2011-05-14 13:47 ` Boris Derzhavets
                   ` (15 subsequent siblings)
  70 siblings, 0 replies; 82+ messages in thread
From: blueswirl @ 2011-05-14 13:25 UTC (permalink / raw)
  To: qemu-devel

qemu-kvm.c does not exist in QEMU.

** Changed in: qemu
       Status: Confirmed => Invalid

-- 
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 “libvirt” package in Ubuntu:
  Triaged
Status in “qemu-kvm” 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 vdagent 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=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,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.

^ permalink raw reply	[flat|nested] 82+ messages in thread

* [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-02-23 18:24 [Qemu-devel] [Bug 723871] [NEW] qemu-kvm-0.14.0 Aborts with -vga qxl Rick Vernam
                   ` (54 preceding siblings ...)
  2011-05-14 13:25 ` blueswirl
@ 2011-05-14 13:47 ` Boris Derzhavets
  2011-05-14 18:20 ` Boris Derzhavets
                   ` (14 subsequent siblings)
  70 siblings, 0 replies; 82+ messages in thread
From: Boris Derzhavets @ 2011-05-14 13:47 UTC (permalink / raw)
  To: qemu-devel

@Serge,

> I have a hard time stomaching '32-bit support was dropped'.  Is there an
> archived mailing list message saying more about that?

View:  http://lists.freedesktop.org/archives/spice-
devel/2010-November/001738.html

> Can you build a 32-bit package (on a 32-bit host) with -Werror?

No. I cannot

-- 
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 “libvirt” package in Ubuntu:
  Triaged
Status in “qemu-kvm” 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 vdagent 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=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,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.

^ permalink raw reply	[flat|nested] 82+ messages in thread

* [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-02-23 18:24 [Qemu-devel] [Bug 723871] [NEW] qemu-kvm-0.14.0 Aborts with -vga qxl Rick Vernam
                   ` (55 preceding siblings ...)
  2011-05-14 13:47 ` Boris Derzhavets
@ 2011-05-14 18:20 ` Boris Derzhavets
  2011-05-14 20:03   ` Blue Swirl
  2011-05-14 18:27 ` Boris Derzhavets
                   ` (13 subsequent siblings)
  70 siblings, 1 reply; 82+ messages in thread
From: Boris Derzhavets @ 2011-05-14 18:20 UTC (permalink / raw)
  To: qemu-devel

Responding # 56

> qemu-kvm.c does not exist in QEMU.
> Changed in qemu:
> status: 	Confirmed → Invalid 

However ,

root@boris-System-P5Q3:~# lsmod | grep kvm
 kvm_intel              56851  8 
 kvm                   367707  1 kvm_intel

root@borus-System-P5Q3:~# virsh qemu-monitor-command --hmp VF15RC 'info kvm'
kvm support: enabled

Number 8 might decrease or en-crease when i stop and start domains. 
I will try upload snapshot

-- 
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 “libvirt” package in Ubuntu:
  Triaged
Status in “qemu-kvm” 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 vdagent 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=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,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.

^ permalink raw reply	[flat|nested] 82+ messages in thread

* [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-02-23 18:24 [Qemu-devel] [Bug 723871] [NEW] qemu-kvm-0.14.0 Aborts with -vga qxl Rick Vernam
                   ` (56 preceding siblings ...)
  2011-05-14 18:20 ` Boris Derzhavets
@ 2011-05-14 18:27 ` Boris Derzhavets
  2011-05-14 18:28 ` Boris Derzhavets
                   ` (12 subsequent siblings)
  70 siblings, 0 replies; 82+ messages in thread
From: Boris Derzhavets @ 2011-05-14 18:27 UTC (permalink / raw)
  To: qemu-devel

** Attachment added: "Snapshot 1"
   https://bugs.launchpad.net/qemu/+bug/723871/+attachment/2128636/+files/KVM1.png

-- 
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 “libvirt” package in Ubuntu:
  Triaged
Status in “qemu-kvm” 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 vdagent 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=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,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.

^ permalink raw reply	[flat|nested] 82+ messages in thread

* [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-02-23 18:24 [Qemu-devel] [Bug 723871] [NEW] qemu-kvm-0.14.0 Aborts with -vga qxl Rick Vernam
                   ` (57 preceding siblings ...)
  2011-05-14 18:27 ` Boris Derzhavets
@ 2011-05-14 18:28 ` Boris Derzhavets
  2011-05-14 18:43 ` Boris Derzhavets
                   ` (11 subsequent siblings)
  70 siblings, 0 replies; 82+ messages in thread
From: Boris Derzhavets @ 2011-05-14 18:28 UTC (permalink / raw)
  To: qemu-devel

** Attachment added: "Snapshot 2"
   https://bugs.launchpad.net/qemu/+bug/723871/+attachment/2128637/+files/KVM2.png

-- 
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 “libvirt” package in Ubuntu:
  Triaged
Status in “qemu-kvm” 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 vdagent 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=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,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.

^ permalink raw reply	[flat|nested] 82+ messages in thread

* [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-02-23 18:24 [Qemu-devel] [Bug 723871] [NEW] qemu-kvm-0.14.0 Aborts with -vga qxl Rick Vernam
                   ` (58 preceding siblings ...)
  2011-05-14 18:28 ` Boris Derzhavets
@ 2011-05-14 18:43 ` Boris Derzhavets
  2011-05-15 11:51 ` Boris Derzhavets
                   ` (10 subsequent siblings)
  70 siblings, 0 replies; 82+ messages in thread
From: Boris Derzhavets @ 2011-05-14 18:43 UTC (permalink / raw)
  To: qemu-devel

General directions i have been following :-

http://www.linux-
kvm.org/page/FAQ#How_can_I_check_that_I.27m_not_falling_back_to_QEMU_with_no_hardware_acceleration.3F

How to access the QEMU monitor through libvirt   View :-

http://blog.vmsplice.net/2011/03/how-to-access-qemu-monitor-through.html

-- 
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 “libvirt” package in Ubuntu:
  Triaged
Status in “qemu-kvm” 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 vdagent 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=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,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.

^ permalink raw reply	[flat|nested] 82+ messages in thread

* Re: [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-05-14 18:20 ` Boris Derzhavets
@ 2011-05-14 20:03   ` Blue Swirl
  0 siblings, 0 replies; 82+ messages in thread
From: Blue Swirl @ 2011-05-14 20:03 UTC (permalink / raw)
  To: Bug 723871, Serge E. Hallyn; +Cc: qemu-devel

On Sat, May 14, 2011 at 9:20 PM, Boris Derzhavets
<723871@bugs.launchpad.net> wrote:
> Responding # 56
>
>> qemu-kvm.c does not exist in QEMU.
>> Changed in qemu:
>> status:       Confirmed → Invalid
>
> However ,
>
> root@boris-System-P5Q3:~# lsmod | grep kvm
>  kvm_intel              56851  8
>  kvm                   367707  1 kvm_intel
>
> root@borus-System-P5Q3:~# virsh qemu-monitor-command --hmp VF15RC 'info kvm'
> kvm support: enabled
>
> Number 8 might decrease or en-crease when i stop and start domains.
> I will try upload snapshot

qemu-kvm is still somewhat different from plain QEMU, even with
-no-kvm. Specifically the file where the crash happens only exists in
qemu-kvm.

In general, it's annoying to be bothered by bug report chatter of
other unrelated packages or for example distro packaging problems. In
this case, qemu-kvm and QEMU are very much related but this bug does
not happen to affect QEMU.

Maybe someone can unsubscribe qemu-devel-ml from this bug report,
please. Marking the bug 'Invalid' for QEMU didn't help. I couldn't
find anything from Launchpad docs and about 1,870,000 Google hits for
'unsubscribe launchpad' show that many others can't either.

^ permalink raw reply	[flat|nested] 82+ messages in thread

* [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-02-23 18:24 [Qemu-devel] [Bug 723871] [NEW] qemu-kvm-0.14.0 Aborts with -vga qxl Rick Vernam
                   ` (59 preceding siblings ...)
  2011-05-14 18:43 ` Boris Derzhavets
@ 2011-05-15 11:51 ` Boris Derzhavets
  2011-05-17 17:32 ` Boris Derzhavets
                   ` (9 subsequent siblings)
  70 siblings, 0 replies; 82+ messages in thread
From: Boris Derzhavets @ 2011-05-15 11:51 UTC (permalink / raw)
  To: qemu-devel

> In this case, qemu-kvm and QEMU are very much related but this bug does
> not happen to affect QEMU.

In meantime, yes due to the most recent 3 commits .View :-

http://cgit.freedesktop.org/spice/qemu/log/?h=spice.v35

12 days	spice: drop obsolete iothread lockingspice.v35	                     Gerd Hoffmann	2	-14/+0
12 days	spice: don't call displaystate callbacks from spice server context.  Gerd Hoffmann	4	-13/+29
12 days	spice: don't create updates in spice server context.	             Gerd Hoffmann	3	-27/+54

-- 
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 “libvirt” package in Ubuntu:
  Triaged
Status in “qemu-kvm” 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 vdagent 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=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,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.

^ permalink raw reply	[flat|nested] 82+ messages in thread

* [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-02-23 18:24 [Qemu-devel] [Bug 723871] [NEW] qemu-kvm-0.14.0 Aborts with -vga qxl Rick Vernam
                   ` (60 preceding siblings ...)
  2011-05-15 11:51 ` Boris Derzhavets
@ 2011-05-17 17:32 ` Boris Derzhavets
  2011-05-17 20:43   ` Blue Swirl
  2011-05-17 18:02 ` Boris Derzhavets
                   ` (8 subsequent siblings)
  70 siblings, 1 reply; 82+ messages in thread
From: Boris Derzhavets @ 2011-05-17 17:32 UTC (permalink / raw)
  To: qemu-devel

Also in meantime git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git
contains commits:-

commit 196a778428989217b82de042725dc8eb29c8f8d8
Author: Gerd Hoffmann <kraxel@redhat.com>
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 <kraxel@redhat.com>

commit 075360945860ad9bdd491921954b383bf762b0e5
Author: Gerd Hoffmann <kraxel@redhat.com>
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 <kraxel@redhat.com>

commit e0c64d08d11736dcea7c5a6373e3e7f62db51d9e
Author: Gerd Hoffmann <kraxel@redhat.com>
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 <kraxel@redhat.com>

commit 14da8345b2f7c21bab20fd12b755a61d6277f171
Author: Jes Sorensen <Jes.Sorensen@redhat.com>
Date:   Tue Feb 1 15:53:23 2011 +0100

    Make spice dummy functions inline to fix calls not checking return values
    
    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 <Jes.Sorensen@redhat.com>
    Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>

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"  packages , 
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 “libvirt” package in Ubuntu:
  Triaged
Status in “qemu-kvm” 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 vdagent 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=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,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.

^ permalink raw reply	[flat|nested] 82+ messages in thread

* [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-02-23 18:24 [Qemu-devel] [Bug 723871] [NEW] qemu-kvm-0.14.0 Aborts with -vga qxl Rick Vernam
                   ` (61 preceding siblings ...)
  2011-05-17 17:32 ` Boris Derzhavets
@ 2011-05-17 18:02 ` Boris Derzhavets
  2011-05-17 18:04 ` Boris Derzhavets
                   ` (7 subsequent siblings)
  70 siblings, 0 replies; 82+ messages in thread
From: Boris Derzhavets @ 2011-05-17 18:02 UTC (permalink / raw)
  To: qemu-devel

** Attachment added: "Packages been built"
   https://bugs.launchpad.net/qemu/+bug/723871/+attachment/2132690/+files/qemu-kvm_051711-0ubuntu1_amd64.deb

-- 
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 “libvirt” package in Ubuntu:
  Triaged
Status in “qemu-kvm” 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 vdagent 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=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,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.

^ permalink raw reply	[flat|nested] 82+ messages in thread

* [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-02-23 18:24 [Qemu-devel] [Bug 723871] [NEW] qemu-kvm-0.14.0 Aborts with -vga qxl Rick Vernam
                   ` (62 preceding siblings ...)
  2011-05-17 18:02 ` Boris Derzhavets
@ 2011-05-17 18:04 ` Boris Derzhavets
  2011-05-17 18:05 ` Boris Derzhavets
                   ` (6 subsequent siblings)
  70 siblings, 0 replies; 82+ messages in thread
From: Boris Derzhavets @ 2011-05-17 18:04 UTC (permalink / raw)
  To: qemu-devel

** Attachment added: "qemu_051711-0ubuntu1_amd64.deb"
   https://bugs.launchpad.net/qemu/+bug/723871/+attachment/2132691/+files/qemu_051711-0ubuntu1_amd64.deb

-- 
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 “libvirt” package in Ubuntu:
  Triaged
Status in “qemu-kvm” 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 vdagent 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=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,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.

^ permalink raw reply	[flat|nested] 82+ messages in thread

* [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-02-23 18:24 [Qemu-devel] [Bug 723871] [NEW] qemu-kvm-0.14.0 Aborts with -vga qxl Rick Vernam
                   ` (63 preceding siblings ...)
  2011-05-17 18:04 ` Boris Derzhavets
@ 2011-05-17 18:05 ` Boris Derzhavets
  2011-05-18  9:10 ` Boris Derzhavets
                   ` (5 subsequent siblings)
  70 siblings, 0 replies; 82+ messages in thread
From: Boris Derzhavets @ 2011-05-17 18:05 UTC (permalink / raw)
  To: qemu-devel

** Attachment added: "qemu-common_051711-0ubuntu1_all.deb"
   https://bugs.launchpad.net/qemu/+bug/723871/+attachment/2132692/+files/qemu-common_051711-0ubuntu1_all.deb

-- 
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 “libvirt” package in Ubuntu:
  Triaged
Status in “qemu-kvm” 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 vdagent 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=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,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.

^ permalink raw reply	[flat|nested] 82+ messages in thread

* Re: [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-05-17 17:32 ` Boris Derzhavets
@ 2011-05-17 20:43   ` Blue Swirl
  0 siblings, 0 replies; 82+ messages in thread
From: Blue Swirl @ 2011-05-17 20:43 UTC (permalink / raw)
  To: Bug 723871; +Cc: qemu-devel

On Tue, May 17, 2011 at 8:32 PM, Boris Derzhavets
<723871@bugs.launchpad.net> wrote:
> Also in meantime git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git

This is not QEMU tree, but qemu-kvm. They are not the same.

^ permalink raw reply	[flat|nested] 82+ messages in thread

* [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-02-23 18:24 [Qemu-devel] [Bug 723871] [NEW] qemu-kvm-0.14.0 Aborts with -vga qxl Rick Vernam
                   ` (64 preceding siblings ...)
  2011-05-17 18:05 ` Boris Derzhavets
@ 2011-05-18  9:10 ` Boris Derzhavets
  2011-05-22 16:38 ` Boris Derzhavets
                   ` (4 subsequent siblings)
  70 siblings, 0 replies; 82+ messages in thread
From: Boris Derzhavets @ 2011-05-18  9:10 UTC (permalink / raw)
  To: qemu-devel

PPA "Building qemu-kvm&spice based on current /virt/kvm/qemu-kvm.git for Ubuntu 11.04 " :-
https://launchpad.net/~bderzhavets/+archive/git-spice
is ready .  In meantime build is based on unstable mater branch.

-- 
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 “libvirt” package in Ubuntu:
  Triaged
Status in “qemu-kvm” 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 vdagent 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=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,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.

^ permalink raw reply	[flat|nested] 82+ messages in thread

* [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-02-23 18:24 [Qemu-devel] [Bug 723871] [NEW] qemu-kvm-0.14.0 Aborts with -vga qxl Rick Vernam
                   ` (65 preceding siblings ...)
  2011-05-18  9:10 ` Boris Derzhavets
@ 2011-05-22 16:38 ` Boris Derzhavets
  2011-05-22 16:43 ` Boris Derzhavets
                   ` (3 subsequent siblings)
  70 siblings, 0 replies; 82+ messages in thread
From: Boris Derzhavets @ 2011-05-22 16:38 UTC (permalink / raw)
  To: qemu-devel

apt-get install gobject-introspection libgirepository1.0-dev

./configure --prefix=/usr --build=x86_64-linux-gnu \
 --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share \
 --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/bin \
 --with-python --disable-static --enable-introspection

. . . . . .

        Spice-Gtk 0.6
        ==============

        prefix:                   /usr
        c compiler:               gcc -std=gnu99
        c++ compiler:             g++

        Coroutine:                ucontext
        Audio:                    pulse
        Target:                   
        SASL support:             yes
        Gtk:                      2.0

        Now type 'make' to build spice-gtk

make
checkinstall  --install=no
dpkg -i   --force-overwrite  ./spice-gtk_0.6-1_amd64.deb

Libraries and binaries been overwritten are exactly the same as before.
Spice session via Virt-Manager ( video "qxl")  is manageable via keyboard
before logging in (F14,Natty VM's). Mouse pointer appears and works stable
during all the time after login.

-- 
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 “libvirt” package in Ubuntu:
  Triaged
Status in “qemu-kvm” 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 vdagent 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=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,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.

^ permalink raw reply	[flat|nested] 82+ messages in thread

* [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-02-23 18:24 [Qemu-devel] [Bug 723871] [NEW] qemu-kvm-0.14.0 Aborts with -vga qxl Rick Vernam
                   ` (66 preceding siblings ...)
  2011-05-22 16:38 ` Boris Derzhavets
@ 2011-05-22 16:43 ` Boris Derzhavets
  2011-05-22 19:27 ` Boris Derzhavets
                   ` (2 subsequent siblings)
  70 siblings, 0 replies; 82+ messages in thread
From: Boris Derzhavets @ 2011-05-22 16:43 UTC (permalink / raw)
  To: qemu-devel

# dpkg -i --force-overwrite ./spice-gtk_0.6-1_amd64.deb

Generates :-

root@boris-System-P5Q3:/usr/src/SPICE_GTK_0.6/WORK/usr# ls -CR
.:
bin  include  lib  share

./bin:
snappy  spicy

./include:
spice-client-glib-2.0  spice-client-gtk-2.0  spice-controller

./include/spice-client-glib-2.0:
channel-cursor.h   channel-main.h      spice-audio.h          spice-client.h      spice-types.h
channel-display.h  channel-playback.h  spice-channel-enums.h  spice-glib-enums.h  spice-util.h
channel-inputs.h   channel-record.h    spice-channel.h        spice-session.h

./include/spice-client-gtk-2.0:
spice-grabsequence.h  spice-widget-enums.h  spice-widget.h

./include/spice-controller:
spice-controller.h

./lib:
girepository-1.0                   libspice-client-gtk-2.0.la        libspice-controller.so
libspice-client-glib-2.0.la        libspice-client-gtk-2.0.so        libspice-controller.so.0
libspice-client-glib-2.0.so        libspice-client-gtk-2.0.so.1      libspice-controller.so.0.0.0
libspice-client-glib-2.0.so.3      libspice-client-gtk-2.0.so.1.1.0  pkgconfig
libspice-client-glib-2.0.so.3.0.2  libspice-controller.la            python2.7

./lib/girepository-1.0:
SpiceClientGLib-2.0.typelib  SpiceClientGtk-2.0.typelib

./lib/pkgconfig:
spice-client-glib-2.0.pc  spice-client-gtk-2.0.pc  spice-controller.pc

./lib/python2.7:
dist-packages

./lib/python2.7/dist-packages:
SpiceClientGtk.la  SpiceClientGtk.so

./share:
doc  gir-1.0  gtk-doc  locale  vala

./share/doc:
spice-gtk

./share/doc/spice-gtk:
ABOUT-NLS  AUTHORS  COPYING  doc  NEWS  README  THANKS  TODO

./share/doc/spice-gtk/doc:
Makefile  Makefile.am  Makefile.in  reference

./share/doc/spice-gtk/doc/reference:
html      Makefile.am  spice-gtk-docs.xml       spice-gtk-sections.txt
Makefile  Makefile.in  spice-gtk-overrides.txt  spice-gtk.types

./share/doc/spice-gtk/doc/reference/html:
api-index-deprecated.html  home.png          SpiceChannel.html         SpiceInputsChannel.html
api-index-full.html        index.html        SpiceCursorChannel.html   SpiceMainChannel.html
api-reference.html         index.sgml        SpiceDisplayChannel.html  SpicePlaybackChannel.html
application-support.html   left.png          SpiceDisplay.html         SpiceRecordChannel.html
ch01.html                  object-tree.html  spice-gtk.devhelp         SpiceSession.html
ch02.html                  right.png         spice-gtk.devhelp2        style.css
ch03.html                  SpiceAudio.html   spice-gtk-Utilities.html  up.png

./share/gir-1.0:
SpiceClientGLib-2.0.gir  SpiceClientGtk-2.0.gir

./share/gtk-doc:
html

./share/gtk-doc/html:
spice-gtk

./share/gtk-doc/html/spice-gtk:
api-index-deprecated.html  home.png          SpiceChannel.html         SpiceInputsChannel.html
api-index-full.html        index.html        SpiceCursorChannel.html   SpiceMainChannel.html
api-reference.html         index.sgml        SpiceDisplayChannel.html  SpicePlaybackChannel.html
application-support.html   left.png          SpiceDisplay.html         SpiceRecordChannel.html
ch01.html                  object-tree.html  spice-gtk.devhelp         SpiceSession.html
ch02.html                  right.png         spice-gtk.devhelp2        style.css
ch03.html                  SpiceAudio.html   spice-gtk-Utilities.html  up.png

./share/locale:
fr

./share/locale/fr:
LC_MESSAGES

./share/locale/fr/LC_MESSAGES:
spice-gtk.mo

./share/vala:
vapi

./share/vala/vapi:
spice-protocol.vapi

-- 
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 “libvirt” package in Ubuntu:
  Triaged
Status in “qemu-kvm” 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 vdagent 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=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,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.

^ permalink raw reply	[flat|nested] 82+ messages in thread

* [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-02-23 18:24 [Qemu-devel] [Bug 723871] [NEW] qemu-kvm-0.14.0 Aborts with -vga qxl Rick Vernam
                   ` (67 preceding siblings ...)
  2011-05-22 16:43 ` Boris Derzhavets
@ 2011-05-22 19:27 ` Boris Derzhavets
  2011-05-24 12:47 ` Boris Derzhavets
  2011-12-02 17:08 ` Serge Hallyn
  70 siblings, 0 replies; 82+ messages in thread
From: Boris Derzhavets @ 2011-05-22 19:27 UTC (permalink / raw)
  To: qemu-devel

** Attachment added: "spice-gtk-0.6-1ubuntu1_0.6-1_amd64.deb"
   https://bugs.launchpad.net/qemu/+bug/723871/+attachment/2138919/+files/spice-gtk-0.6-1ubuntu1_0.6-1_amd64.deb

-- 
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 “libvirt” package in Ubuntu:
  Triaged
Status in “qemu-kvm” 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 vdagent 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=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,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.

^ permalink raw reply	[flat|nested] 82+ messages in thread

* [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-02-23 18:24 [Qemu-devel] [Bug 723871] [NEW] qemu-kvm-0.14.0 Aborts with -vga qxl Rick Vernam
                   ` (68 preceding siblings ...)
  2011-05-22 19:27 ` Boris Derzhavets
@ 2011-05-24 12:47 ` Boris Derzhavets
  2011-05-24 14:42   ` Serge Hallyn
  2011-12-02 17:08 ` Serge Hallyn
  70 siblings, 1 reply; 82+ messages in thread
From: Boris Derzhavets @ 2011-05-24 12:47 UTC (permalink / raw)
  To: qemu-devel

@Serge,

I am getting error when build in PPA :-

make[2]: Entering directory `/build/buildd/spice-gtk-0.6/po'
cd .. \
	  && CONFIG_FILES=po/Makefile.in CONFIG_HEADERS= CONFIG_LINKS= \
	       /bin/bash ./config.status
config.status: creating po/Makefile.in
./config.status: line 1509: gawk: command not found                 <= ??
config.status: error: could not create po/Makefile.in
make[2]: *** [stamp-it] Error 127
make[2]: Leaving directory `/build/buildd/spice-gtk-0.6/po'
make[1]: *** [distclean-recursive] Error 1
make[1]: Leaving directory `/build/buildd/spice-gtk-0.6'
dh_auto_clean: make -j1 distclean returned exit code 2
make: *** [clean] Error 29
dpkg-buildpackage: error: /usr/bin/fakeroot debian/rules clean gave error exit status 2

Locally it doesn't happen.
# which gawk
/usr/bin/gawk

-- 
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 “libvirt” package in Ubuntu:
  Triaged
Status in “qemu-kvm” 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 vdagent 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=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,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.

^ permalink raw reply	[flat|nested] 82+ messages in thread

* Re: [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-05-24 12:47 ` Boris Derzhavets
@ 2011-05-24 14:42   ` Serge Hallyn
  0 siblings, 0 replies; 82+ messages in thread
From: Serge Hallyn @ 2011-05-24 14:42 UTC (permalink / raw)
  To: qemu-devel

Please move this thread to a wiki.ubuntu.com wiki page and a
private or different mailing list.

Since gawk is needed for the build, you need to add gawk to
the build-depends line in debian/control.

-serge

Quoting Boris Derzhavets (723871@bugs.launchpad.net):
> @Serge,
> 
> I am getting error when build in PPA :-
> 
> make[2]: Entering directory `/build/buildd/spice-gtk-0.6/po'
> cd .. \
> 	  && CONFIG_FILES=po/Makefile.in CONFIG_HEADERS= CONFIG_LINKS= \
> 	       /bin/bash ./config.status
> config.status: creating po/Makefile.in
> ./config.status: line 1509: gawk: command not found                 <= ??
> config.status: error: could not create po/Makefile.in
> make[2]: *** [stamp-it] Error 127
> make[2]: Leaving directory `/build/buildd/spice-gtk-0.6/po'
> make[1]: *** [distclean-recursive] Error 1
> make[1]: Leaving directory `/build/buildd/spice-gtk-0.6'
> dh_auto_clean: make -j1 distclean returned exit code 2
> make: *** [clean] Error 29
> dpkg-buildpackage: error: /usr/bin/fakeroot debian/rules clean gave error exit status 2
> 
> Locally it doesn't happen.
> # which gawk
> /usr/bin/gawk
> 
> -- 
> You received this bug notification because you are a bug assignee.
> https://bugs.launchpad.net/bugs/723871
> 
> Title:
>   qemu-kvm-0.14.0 Aborts with -vga qxl
> 
> Status in QEMU:
>   Invalid
> Status in “libvirt” package in Ubuntu:
>   Triaged
> Status in “qemu-kvm” 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 vdagent 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=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,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.

-- 
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 “libvirt” package in Ubuntu:
  Triaged
Status in “qemu-kvm” 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 vdagent 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=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,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.

^ permalink raw reply	[flat|nested] 82+ messages in thread

* [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl
  2011-02-23 18:24 [Qemu-devel] [Bug 723871] [NEW] qemu-kvm-0.14.0 Aborts with -vga qxl Rick Vernam
                   ` (69 preceding siblings ...)
  2011-05-24 12:47 ` Boris Derzhavets
@ 2011-12-02 17:08 ` Serge Hallyn
  70 siblings, 0 replies; 82+ messages in thread
From: Serge Hallyn @ 2011-12-02 17:08 UTC (permalink / raw)
  To: qemu-devel

** Changed in: libvirt (Ubuntu)
       Status: Triaged => Fix Released

** Changed in: libvirt (Ubuntu)
       Status: Fix Released => Invalid

-- 
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 “libvirt” package in Ubuntu:
  Invalid
Status in “qemu-kvm” 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 vdagent 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=/home/rick/qemu/hds/wxp.raw,if=virtio,media=disk,aio=native,snapshot=on -m 768 -name WinXP -net nic,model=virtio -net user -localtime -usb -vga qxl -device virtio-serial -chardev spicevmc,name=vdagent,id=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice port=1234,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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/723871/+subscriptions

^ permalink raw reply	[flat|nested] 82+ messages in thread

end of thread, other threads:[~2011-12-02 17:22 UTC | newest]

Thread overview: 82+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-23 18:24 [Qemu-devel] [Bug 723871] [NEW] qemu-kvm-0.14.0 Aborts with -vga qxl Rick Vernam
2011-02-23 18:25 ` [Qemu-devel] [Bug 723871] " Rick Vernam
2011-02-23 18:59 ` Rick Vernam
2011-02-26  9:23 ` Paul Whittaker
2011-03-01  5:46 ` Serge Hallyn
2011-03-01 12:52 ` Alon Levy
2011-03-01 17:16 ` Serge Hallyn
2011-03-01 17:19 ` Launchpad Bug Tracker
2011-03-01 17:37 ` Serge Hallyn
2011-03-01 17:39 ` Serge Hallyn
2011-03-01 18:02 ` Rick Vernam
2011-03-01 18:21 ` Serge Hallyn
2011-03-01 18:29 ` Serge Hallyn
2011-03-01 18:53   ` Rick Vernam
2011-03-01 21:58     ` Frédéric Grelot
2011-03-02 10:54     ` Alon Levy
2011-03-01 23:54 ` Serge Hallyn
2011-03-02 10:15 ` Launchpad Bug Tracker
2011-03-02 10:18 ` Dave Walker
2011-04-24 16:07 ` Boris Derzhavets
2011-04-24 23:59   ` Serge Hallyn
2011-04-25  0:08 ` David Rando
2011-04-25  7:48 ` Boris Derzhavets
2011-04-25  7:58 ` Boris Derzhavets
2011-04-25 14:06   ` Serge Hallyn
2011-04-27 10:03 ` Boris Derzhavets
2011-04-27 10:36 ` Alon Levy
2011-04-27 12:02 ` Serge Hallyn
2011-04-27 12:51 ` David Rando
2011-04-27 14:19 ` Boris Derzhavets
2011-04-27 15:20 ` Boris Derzhavets
2011-04-27 18:46 ` Serge Hallyn
2011-04-27 23:47 ` Serge Hallyn
2011-04-28  7:38 ` Boris Derzhavets
2011-04-28  8:57 ` Boris Derzhavets
2011-04-28 13:43 ` Jamie Strandboge
2011-04-28 14:14 ` Boris Derzhavets
2011-05-04  9:46 ` Boris Derzhavets
2011-05-04  9:48 ` Boris Derzhavets
2011-05-04 14:41 ` Serge Hallyn
2011-05-04 17:33 ` Boris Derzhavets
2011-05-05  0:31   ` Serge Hallyn
2011-05-05  7:07 ` Boris Derzhavets
2011-05-05 13:37   ` Serge Hallyn
2011-05-06 12:31 ` Boris Derzhavets
2011-05-06 13:01 ` Boris Derzhavets
2011-05-07 10:38 ` Boris Derzhavets
2011-05-07 10:51 ` Boris Derzhavets
2011-05-07 18:29 ` Boris Derzhavets
2011-05-08 14:50 ` Boris Derzhavets
2011-05-08 20:15 ` Boris Derzhavets
2011-05-12 12:22 ` Boris Derzhavets
2011-05-12 12:22 ` Boris Derzhavets
2011-05-12 12:23 ` Boris Derzhavets
2011-05-12 12:25 ` Boris Derzhavets
2011-05-12 15:55 ` Serge Hallyn
2011-05-13  9:10 ` Boris Derzhavets
2011-05-13 10:48 ` Boris Derzhavets
2011-05-13 17:27 ` Boris Derzhavets
2011-05-13 18:57 ` Serge Hallyn
2011-05-14  9:47 ` Boris Derzhavets
2011-05-14 13:06 ` Serge Hallyn
2011-05-14 13:25 ` blueswirl
2011-05-14 13:47 ` Boris Derzhavets
2011-05-14 18:20 ` Boris Derzhavets
2011-05-14 20:03   ` Blue Swirl
2011-05-14 18:27 ` Boris Derzhavets
2011-05-14 18:28 ` Boris Derzhavets
2011-05-14 18:43 ` Boris Derzhavets
2011-05-15 11:51 ` Boris Derzhavets
2011-05-17 17:32 ` Boris Derzhavets
2011-05-17 20:43   ` Blue Swirl
2011-05-17 18:02 ` Boris Derzhavets
2011-05-17 18:04 ` Boris Derzhavets
2011-05-17 18:05 ` Boris Derzhavets
2011-05-18  9:10 ` Boris Derzhavets
2011-05-22 16:38 ` Boris Derzhavets
2011-05-22 16:43 ` Boris Derzhavets
2011-05-22 19:27 ` Boris Derzhavets
2011-05-24 12:47 ` Boris Derzhavets
2011-05-24 14:42   ` Serge Hallyn
2011-12-02 17:08 ` Serge Hallyn

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.