qemu-kvm-0.14.0 Aborts with -vga qxl
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Invalid
|
Undecided
|
Unassigned | ||
libvirt (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
qemu-kvm (Ubuntu) |
Fix Released
|
Medium
|
Serge Hallyn |
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-
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/
and crashes with:
qemu-system-x86_64: /home/rick/
Aborted
If I use -no-kvm, it works fine. If I use -vga std, it works fine. -enable-kvm and -vga qxl crashes.
Rick Vernam (rickv-hobi) wrote : | #1 |
Rick Vernam (rickv-hobi) wrote : | #2 |
sorry, on the guest it is virtio-
Paul Whittaker (paul-whittaker) wrote : | #3 |
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 \
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=
Changed in qemu: | |
status: | New → Confirmed |
status: | Confirmed → New |
status: | New → Confirmed |
Alon Levy (alonlevy1) wrote : | #4 |
This is fixed by the following patch on the list (confirmed by xming on list):
http://
Hopefully that patch will be merged soon.
Alon
Changed in qemu-kvm (Ubuntu): | |
importance: | Undecided → Medium |
assignee: | nobody → Serge Hallyn (serge-hallyn) |
Serge Hallyn (serge-hallyn) wrote : | #5 |
Serge Hallyn (serge-hallyn) wrote : | #6 |
@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.
Rick Vernam (rickv-hobi) wrote : | #7 |
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...
Serge Hallyn (serge-hallyn) wrote : | #8 |
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 |
Serge Hallyn (serge-hallyn) wrote : | #9 |
@Rick,
would you expect a fedora guest to reproduce this? Would it have the qxl driver? Or must it be Windows?
Rick Vernam (rickv-hobi) wrote : Re: [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl | #10 |
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
Serge Hallyn (serge-hallyn) wrote : | #11 |
Thanks - I was able to reproduce the lockup with a RHEL boot cd, and confirm that the proposed fix works.
Launchpad Janitor (janitor) wrote : | #12 |
This bug was fixed in the package qemu-kvm - 0.14.0~
---------------
qemu-kvm (0.14.0~
* Apply spice-qxl-
(LP: #723871)
-- Serge Hallyn <email address hidden> Tue, 01 Mar 2011 11:12:44 -0600
Changed in qemu-kvm (Ubuntu): | |
status: | In Progress → Fix Released |
Dave Walker (davewalker) wrote : | #13 |
@Serge, I had to re-target your branch (and merge) against 0.14.0~
Boris Derzhavets (bderzhavets) wrote : | #14 |
Packages from "ppa:serge-
root@NattyNarwh
> -drive file=/usr/
> -net nic,model=virtio -net user -localtime \
> -usb -vga qxl -device virtio-serial -chardev spicevmc,
> -device virtserialport,
> -spice port=5900,
do_spice_init: starting 0.8.0
spice_server_
spice_server_
spice_server_
red_worker_main: begin
kvm-spice: pci_add_option_rom: failed to find romfile "pxe-virtio.bin"
handle_
handle_
handle_dev_input: start
reds_handle_
reds_show_
reds_main_
reds_show_
red_dispatcher_
handle_dev_input: cursor connect
reds_show_
red_dispatcher_
handle_dev_input: connect
handle_
handle_
reds_show_
inputs_link:
kvm-spice: /build/
Aborted
This issue has been fixed on Fedora 15 on 03 /18/2001 .
In meantime , view patches in qemu-0.
http://
. . . . . . .
qemu-0.
. . . . . . . .
Serge Hallyn (serge-hallyn) wrote : Re: [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl | #15 |
Quoting Boris Derzhavets (<email address hidden>):
> Packages from "ppa:serge-
> 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
David Rando (david-rando) wrote : | #16 |
Looking forward to it.
Thanks!!!
Boris Derzhavets (bderzhavets) wrote : | #17 |
Current patches on F15:-
[root@fedora15a SOURCES]# ls -l
total 5360
-rw-r--r--. 1 root root 4618 Mar 30 01:58 0001-qxl-
-rw-r--r--. 1 root root 10176 Mar 30 01:58 0002-qxl-
-rw-r--r--. 1 root root 5073 Mar 30 01:58 0003-qxl-
-rw-r--r--. 1 root root 7783 Mar 30 01:58 0004-hw-
-rw-r--r--. 1 root root 1733 Mar 30 01:58 0005-char-
-rw-r--r--. 1 root root 22320 Mar 30 01:58 0006-char-
-rw-r--r--. 1 root root 1913 Mar 30 01:58 0007-iohandlers
-rw-r--r--. 1 root root 2182 Mar 30 01:58 0008-char-
-rw-r--r--. 1 root root 6678 Mar 30 01:58 0009-char-
-rw-r--r--. 1 root root 2583 Mar 30 01:58 0010-char-
-rw-r--r--. 1 root root 2000 Mar 30 01:58 0011-char-
-rw-r--r--. 1 root root 1650 Mar 30 01:58 0012-virtio-
-rw-r--r--. 1 root root 5036 Mar 30 01:58 0013-spice-
-rw-r--r--. 1 root root 2822 Mar 30 01:58 0014-spice-
-rw-r--r--. 1 root root 2807 Mar 30 01:58 0015-chardev-
-rw-r--r--. 1 root root 1592 Mar 30 01:58 0016-virtio-
-rw-r--r--. 1 root root 1536 Mar 30 01:58 0017-spice-
-rw-r--r--. 1 root root 1784 Mar 30 01:58 0018-spice-
-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-
-rw-r--r--. 1 root root 1748 Mar 30 01:58 qemu-fix-
-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-
-rw-r--r--. 1 root root 1045 Mar 30 01:58 qemu-vhost-
I believe there is no the one http://
Boris Derzhavets (bderzhavets) wrote : | #18 |
View also
http://
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..
Serge Hallyn (serge-hallyn) wrote : | #19 |
Quoting Boris Derzhavets (<email address hidden>):
> View also
>
> http://
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.
Boris Derzhavets (bderzhavets) wrote : | #20 |
Packages installed via ppa:serge-
qemu-kvm-spice (0.14.0+
as far as i could see.
Alon Levy (alonlevy1) wrote : | #21 |
(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
Serge Hallyn (serge-hallyn) wrote : | #22 |
@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_
Subject: [PATCH 4/4] hw/qxl-render: drop cursor locks, replace with pipe
@Borislav,
thanks for testing.
David Rando (david-rando) wrote : | #23 |
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 !
Boris Derzhavets (bderzhavets) wrote : | #24 |
@Serg,
I started getting execution denied errors in VirtManager or same in terminal after
virsh start W7 , when updated XML as follows
<emulator>
. . . . .
<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-
libvirt-
libvirt-
libvirt-
libvirt-
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.
Boris Derzhavets (bderzhavets) wrote : | #25 |
root@boris-
root@boris-
root@boris-
<domain type='kvm'>
<name>W7S</name>
<memory>
<currentMemor
<vcpu>2</vcpu>
<os>
<type arch='x86_64' machine=
<boot dev='hd'/>
</os>
<features>
<acpi/>
<apic/>
<pae/>
</features>
<clock offset=
<on_poweroff>
<on_reboot>
<on_crash>
<devices>
<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=
<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-
Domain W7S defined from W7.xml
root@boris-
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
Serge Hallyn (serge-hallyn) wrote : | #26 |
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.
Changed in libvirt (Ubuntu): | |
status: | New → Triaged |
Boris Derzhavets (bderzhavets) wrote : | #27 |
Disabling AppArmor really allows libvirt to go with no problems.
Boris Derzhavets (bderzhavets) wrote : | #28 |
Just disabling libvirtd profile is enough as well :-
# apparmor_parser -R /etc/apparmor.
# ln -s /etx/apparmor.
Jamie Strandboge (jdstrand) wrote : | #29 |
Boris, you should not disable the profile but instead update it. See https:/
Boris Derzhavets (bderzhavets) wrote : | #30 |
Thanks for advice. My primary target was to make sure , that it's not libvirt 8.8.1 on Ubuntu 11.04 issue.
Boris Derzhavets (bderzhavets) wrote : | #31 |
git clone git://git.
cd qemu/
git checkout -b spice.v35 origin/spice.35
Allows to build qemu-kvm-
larger_
# Detect-
# 0001-qxl-
# 0002-qxl-
# 0003-qxl-
# 0004-hw-
Package seems to work OK with SPICE2 PPA
Boris Derzhavets (bderzhavets) wrote : | #32 |
Serge Hallyn (serge-hallyn) wrote : | #33 |
@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:/
Boris Derzhavets (bderzhavets) wrote : | #34 |
@Serge,
Sorry, but answer is no. I just learned how dh_make and dpkg-buildpackage works , picked up your's debian folder.
Updated debian/
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/
Serge Hallyn (serge-hallyn) wrote : | #35 |
> 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.
Boris Derzhavets (bderzhavets) wrote : | #36 |
What is ITP ?
Serge Hallyn (serge-hallyn) wrote : | #37 |
Quoting Boris Derzhavets (<email address hidden>):
> What is ITP ?
ITP is an 'Intent to Package', as outlined at
https:/
bug to open in order to get packages into the universe archive.
Boris Derzhavets (bderzhavets) wrote : | #38 |
Uncompress regular Natty qemu-kvm package :-
qemu-kvm_
qemu-kvm_
qemu-kvm_
# dpkg-source -x qemu-kvm_
# cd qemu-kvm_
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-
Change ./configure part of debian/rules adding "--enable-spice" :-
config-host.mak: $(QUILT_STAMPFN)
dh_testdir
./configure \
Save
Edit debian/
larger_
Detect-
# spice-qxl-
0001-qxl-
0002-qxl-
0003-qxl-
0004-hw-
Save and copy required patches to debian/patches.
Edit debian/control like in SPICE2 PPA:-
Build-Depends: bcc,
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-
> qemu-common_
root@boris-
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-
-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/
-rwxr-xr-x 1 root root 13...
Boris Derzhavets (bderzhavets) wrote : | #39 |
Sorry, for typo in package name ( qemu-kvm) . I've upgraded version in debian/changelog.
root@boris-
-rw-r--r-- 1 root root 19494 2011-05-06 16:45 kvm_84+
-rw-r--r-- 1 root root 18958 2011-05-06 16:45 qemu_0.
-rw-r--r-- 1 root root 37758 2011-05-06 16:41 qemu-common_
-rw-r--r-- 1 root root 3512986 2011-05-06 16:45 qemu-kvm_
root@boris-
> qemu_0.
> qemu-common_
(Reading database ... 141175 files and directories currently installed.)
Preparing to replace qemu-kvm 0.14.0+
Unpacking replacement qemu-kvm ...
Preparing to replace qemu 0.14.0+
Unpacking replacement qemu ...
Preparing to replace qemu-common 0.14.0+
Unpacking replacement qemu-common ...
Setting up qemu-common (0.14.0+
Setting up qemu-kvm (0.14.0+
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
Processing triggers for man-db ...
Setting up qemu (0.14.0+
# dpkg -l | grep qemu
ii qemu 0.14.0+
ii qemu-common 0.14.0+
ii qemu-kvm 0.14.0+
root@boris-
-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/
-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/
-rwxr-xr-x 1 root root 3590968 2011-05-06 16:45 /usr/bin/
-rwxr-xr-x 1 root root 2055128 2011-05-06 16:45 /usr/bin/
Boris Derzhavets (bderzhavets) wrote : | #40 |
I cannot upload packages to PPA :-
root@boris-
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) <email address hidden>"
Good signature on /root/KVMQEMU14
Uploading to ppa (via ftp to ppa.launchpad.net):
Uploading qemu-common_
Uploading qemu-kvm_
Uploading qemu_0.
Uploading kvm_84+
Uploading qemu-kvm_
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.
Boris Derzhavets (bderzhavets) wrote : | #41 |
Similar issues mentioned here :-
https:/
Boris Derzhavets (bderzhavets) wrote : | #42 |
It's done now as PPA :-
https:/
Boris Derzhavets (bderzhavets) wrote : | #43 |
Build spice-gtk-0.6 on Ubuntu 11.04 ( --with-pyton)
# cd /root/spice-gtk-0.6
# ./configure --prefix=/usr --build=
--mandir=
--sysconfdir=/etc --localstatedir
--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/SpiceClie
./gtk/SpiceClie
./gtk/SpiceClie
./gtk/.
./gtk/.
./gtk/SpiceClie
./gtk/.
./gtk/.
./gtk/.
./gtk/.
./gtk/.
./gtk/.
./gtk/SpiceClie
# 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/
/bin/bash ../libtool --mode=install /usr/bin/install -c SpiceClientGtk.la '/usr/lib/
libtool: install: warning: relinking `SpiceClientGtk.la'
libtool: install: (cd /root/spice-
Boris Derzhavets (bderzhavets) wrote : | #44 |
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.
Boris Derzhavets (bderzhavets) wrote : | #45 |
I386 build constantly fails in my PPA https:/
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
Boris Derzhavets (bderzhavets) wrote : | #46 |
Boris Derzhavets (bderzhavets) wrote : | #47 |
Boris Derzhavets (bderzhavets) wrote : | #48 |
Serge Hallyn (serge-hallyn) wrote : | #49 |
@Boris,
The failure (in https:/
/build/
/build/
/build/
/build/
/build/
/build/
/build/
/build/
/build/
/build/
/build/
/build/
make[2]: *** [qxl.o] Error 1
Boris Derzhavets (bderzhavets) wrote : | #50 |
@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.
Boris Derzhavets (bderzhavets) wrote : | #51 |
I commited build in mentioned PPA via
diff -Nru qemu-kvm-
--- qemu-kvm-
+++ qemu-kvm-
@@ -2484,7 +2484,7 @@
if test -z "$werror" ; then
if test "$z_version" = "50" -a \
"$linux" = "yes" ; then
- werror="yes"
+ werror="no"
else
fi
Actually , disabling "-Werror" to build qemu-common_
"qemu-kvm", "qemu" amd64 packages may be built with "-Werror" with no problems.
Please , DON'T install packages from https:/
Boris Derzhavets (bderzhavets) wrote : | #52 |
Finally, i got it.
Log is clean
qemu-common_
chroot-
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/
-rw-r--r-- root/root 350 2011-05-13 09:15 ./usr/share/
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/
drwxr-xr-x root/root 0 2011-05-13 09:14 ./usr/share/
-rw-r--r-- root/root 2587 2011-05-13 09:14 ./usr/share/
-rw-r--r-- root/root 2576 2011-05-13 09:14 ./usr/share/
-rw-r--r-- root/root 1354 2011-05-13 09:14 ./usr/share/
-rw-r--r-- root/root 2699 2011-05-13 09:14 ./usr/share/
-rw-r--r-- root/root 934 2011-05-13 09:14 ./usr/share/
-rw-r--r-- root/root 11421 2011-05-13 09:14 ./usr/share/
-rw-r--r-- root/root 1866 2011-05-13 09:14 ./usr/share/
-rw-r--r-- root/root 2672 2011-05-13 09:14 ./usr/share/
-rw-r--r-- root/root 3064 2011-05-13 09:14 ./usr/share/
-rw-r--r-- root/root 1105 2011-05-13 09:14 ./usr/share/
-rw-r--r-- root/root 3123 2011-05-13 09:14 ./usr/share/
-rw-r--r-- root/root 609 2011-05-13 09:14 ./usr/share/
-rw-r--r-- root/root 2735 2011-05-13 09:14 ./usr/share/
-rw-r--r-- root/root 2649 2011-05-13 09:14 ./usr/share/
-rw-r--r-- root/root 1096 2011-05-13 09:14 ./usr/share/
-rw-r--r-- root/root 906 2011-05-13 09:14 ./usr/share/
-rw-r--r-- root/root 293 2011-05-13 09:14 ./usr/share/
-rw-r--r-- root/root 2450 2011-05-13 09:14 ./usr/share/
-rw-r--r-- root/root 2462 2011-05-13 09:14 ./usr/share/
-rw-r--r-- root/root 2366 2011-05-13 09:14 ./usr/share/
-rw-r--r-- root/root 2293 2011-05-13 09:14 ./usr/share/
-rw-r--r-- root/root 1115 2011-05-13 09:14 ./usr/share/
-rw-r--r-- root/root 43 2011-05-13 09:14 ./usr/share/
-rw-r--r-- root/root 2467 2011-05-13 09:14 ./usr/share/
-rw-r--r-- root/root 1008 2011-05-13 09:14 ./usr/share/
-rw-r--r-- root/root 2581 2011-05-13 09:14 ./usr/share/
-rw-r--r-- root/root 2239 2011-05-13 09:14 ./usr/share/
-rw-r--r-- root/root 2576 2011-05-13 09:14 ./usr/s...
Serge Hallyn (serge-hallyn) wrote : | #53 |
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.
Boris Derzhavets (bderzhavets) wrote : | #54 |
Please, view one more time #50.
Serge Hallyn (serge-hallyn) wrote : | #55 |
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 :)
blueswirl (blauwirbel) wrote : | #56 |
qemu-kvm.c does not exist in QEMU.
Changed in qemu: | |
status: | Confirmed → Invalid |
Boris Derzhavets (bderzhavets) wrote : | #57 |
@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://
> Can you build a 32-bit package (on a 32-bit host) with -Werror?
No. I cannot
Boris Derzhavets (bderzhavets) wrote : | #58 |
Responding # 56
> qemu-kvm.c does not exist in QEMU.
> Changed in qemu:
> status: Confirmed → Invalid
However ,
root@boris-
kvm_intel 56851 8
kvm 367707 1 kvm_intel
root@borus-
kvm support: enabled
Number 8 might decrease or en-crease when i stop and start domains.
I will try upload snapshot
Boris Derzhavets (bderzhavets) wrote : | #59 |
Boris Derzhavets (bderzhavets) wrote : | #60 |
Boris Derzhavets (bderzhavets) wrote : | #61 |
General directions i have been following :-
How to access the QEMU monitor through libvirt View :-
http://
blueswirl (blauwirbel) wrote : Re: [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl | #62 |
On Sat, May 14, 2011 at 9:20 PM, Boris Derzhavets
<email address hidden> wrote:
> Responding # 56
>
>> qemu-kvm.c does not exist in QEMU.
>> Changed in qemu:
>> status: Confirmed → Invalid
>
> However ,
>
> root@boris-
> kvm_intel 56851 8
> kvm 367707 1 kvm_intel
>
> root@borus-
> 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.
Boris Derzhavets (bderzhavets) wrote : | #63 |
> 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://
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
Boris Derzhavets (bderzhavets) wrote : | #64 |
Also in meantime git://git.
contains commits:-
commit 196a77842898921
Author: Gerd Hoffmann <email address hidden>
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 <email address hidden>
commit 075360945860ad9
Author: Gerd Hoffmann <email address hidden>
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 <email address hidden>
commit e0c64d08d11736d
Author: Gerd Hoffmann <email address hidden>
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 <email address hidden>
commit 14da8345b2f7c21
Author: Jes Sorensen <email address hidden>
Date: Tue Feb 1 15:53:23 2011 +0100
Make spice dummy functions inline to fix calls not checking return values
qemu_
needs to be inline, in order to handle the case where they are called
without checking the return value.
Signed-off-by: Jes Sorensen <email address hidden>
Signed-off-by: Gerd Hoffmann <email address hidden>
So , git clone git://git.
creates a directory allows to build tar ball for debian "qemu-kvm" packages ,
which work with no "QXL" patching at all.
Boris Derzhavets (bderzhavets) wrote : | #65 |
Boris Derzhavets (bderzhavets) wrote : | #66 |
Boris Derzhavets (bderzhavets) wrote : | #67 |
blueswirl (blauwirbel) wrote : | #68 |
On Tue, May 17, 2011 at 8:32 PM, Boris Derzhavets
<email address hidden> wrote:
> Also in meantime git://git.
This is not QEMU tree, but qemu-kvm. They are not the same.
Boris Derzhavets (bderzhavets) wrote : | #69 |
PPA "Building qemu-kvm&spice based on current /virt/kvm/
https:/
is ready . In meantime build is based on unstable mater branch.
Boris Derzhavets (bderzhavets) wrote : | #70 |
apt-get install gobject-
./configure --prefix=/usr --build=
--mandir=
--sysconfdir=/etc --localstatedir
--with-python --disable-static --enable-
. . . . . .
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-
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.
Boris Derzhavets (bderzhavets) wrote : | #71 |
# dpkg -i --force-overwrite ./spice-
Generates :-
root@boris-
.:
bin include lib share
./bin:
snappy spicy
./include:
spice-client-
./include/
channel-cursor.h channel-main.h spice-audio.h spice-client.h spice-types.h
channel-display.h channel-playback.h spice-channel-
channel-inputs.h channel-record.h spice-channel.h spice-session.h
./include/
spice-grabseque
./include/
spice-controller.h
./lib:
girepository-1.0 libspice-
libspice-
libspice-
libspice-
libspice-
./lib/gireposit
SpiceClientGLib
./lib/pkgconfig:
spice-client-
./lib/python2.7:
dist-packages
./lib/python2.
SpiceClientGtk.la SpiceClientGtk.so
./share:
doc gir-1.0 gtk-doc locale vala
./share/doc:
spice-gtk
./share/
ABOUT-NLS AUTHORS COPYING doc NEWS README THANKS TODO
./share/
Makefile Makefile.am Makefile.in reference
./share/
html Makefile.am spice-gtk-docs.xml spice-gtk-
Makefile Makefile.in spice-gtk-
./share/
api-index-
api-index-full.html index.html SpiceCursorChan
api-reference.html index.sgml SpiceDisplayCha
application-
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-
./share/gir-1.0:
SpiceClientGLib
./share/gtk-doc:
html
./share/
spice-gtk
./share/
api-index-
api-index-full.html index.html SpiceCursorChan
api-reference.html index.sgml SpiceDisplayCha
application-
ch01.html object-tree.html spice-gtk.devhelp SpiceSession.html
ch02.html right.png spice-gtk.devhelp2 style.css...
Boris Derzhavets (bderzhavets) wrote : | #72 |
Boris Derzhavets (bderzhavets) wrote : | #73 |
@Serge,
I am getting error when build in PPA :-
make[2]: Entering directory `/build/
cd .. \
&& CONFIG_
/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/
make[1]: *** [distclean-
make[1]: Leaving directory `/build/
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
Serge Hallyn (serge-hallyn) wrote : Re: [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl | #74 |
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 (<email address hidden>):
> @Serge,
>
> I am getting error when build in PPA :-
>
> make[2]: Entering directory `/build/
> cd .. \
> && CONFIG_
> /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/
> make[1]: *** [distclean-
> make[1]: Leaving directory `/build/
> 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:/
>
> 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-
> 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/
> and crashes with:
> qemu-system-x86_64: /home/rick/
> Aborted
>
> If I use -no-kvm, it works fine. If I use -vga std, it works fine.
> -enable-kvm and -vga qxl crashes.
Changed in libvirt (Ubuntu): | |
status: | Triaged → Fix Released |
status: | Fix Released → Invalid |
I also intended to mention that using qemu-0.14.0 works just fine; the crash only occurs with qemu-kvm-0.14.0.