Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 392937 - app-emulation/qemu-kvm-0.15.1-r1 crashes when build and started with USE=spice (app-emulation/spice-0.10.0)
Summary: app-emulation/qemu-kvm-0.15.1-r1 crashes when build and started with USE=spic...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo QEMU Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-02 19:28 UTC by Sascha Lucas
Modified: 2012-12-27 16:25 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sascha Lucas 2011-12-02 19:28:04 UTC
Hi,

according the spice FAQ[1] the spice server (spice-enabled kvm) can only run on 64bit archs. See also [2].

So I request to mask the spice-flag at least for profiles/arch/x86.

[1] http://www.spice-space.org/faq.html
[2] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=640139

Sascha.

Reproducible: Always

Steps to Reproduce:
1. on a 32bit host: $ USE=spice emerge app-emulation/qemu-kvm
2. $ kvm -spice port=1234
Actual Results:  
do_spice_init: starting 0.10.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
ensure_display_channel_created: create display channel
ensure_cursor_channel_created: create cursor channel
id 0, group 0, virt start 0, virt end ffffffff, generation 0, delta 0
get_virt: panic: slot_id too big, addr=a9081008
Aborted


Expected Results:  
Step 1 should not be possible.
Comment 1 Robert Förster 2011-12-05 17:59:55 UTC
since spice 0.10, 32 bit server should be supported according to the changelog[1].

[2] uses 0.8 which won't work anyway, also i'm not really positive on what changes qemu-kvm 1.0 actually affected that behavior, so waiting for bug #393227 before any useflag masking seems a good idea to me.

also i was told upstream didn't really test 32 bit support in the first place, so if it still bugs out with a recent qemu-kvm, a upstream bugreport might be desired.

[1] http://lists.freedesktop.org/archives/spice-devel/2011-November/006038.html
Comment 2 Sascha Lucas 2011-12-05 20:27:36 UTC
(In reply to comment #1)
> since spice 0.10, 32 bit server should be supported according to the
> changelog[1].
> [1] http://lists.freedesktop.org/archives/spice-devel/2011-November/006038.html

thanks for this information. I didn't know that upstream is willing to support 32 bit server. so my mask request is wrong and, indeed, it should go upstream.

So let's wait for qemu-kvm-1.0.ebuild
Comment 3 Doug Goldstein (RETIRED) gentoo-dev 2012-01-18 17:46:41 UTC
Please retest with qemu-kvm-1.0
Comment 4 Sascha Lucas 2012-01-18 19:48:19 UTC
(In reply to comment #3)
> Please retest with qemu-kvm-1.0

$ kvm -version
QEMU emulator version 1.0 (qemu-kvm-1.0), Copyright (c) 2003-2008 Fabrice Bellard

$ kvm -machine pc,accel=tcg -spice port=5930,disable-ticketing
do_spice_init: starting 0.10.0
spice_server_add_interface: SPICE_INTERFACE_MIGRATION
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
ensure_display_channel_created: create display channel
ensure_cursor_channel_created: create cursor channel
id 0, group 0, virt start 0, virt end ffffffff, generation 0, delta 0
get_virt: panic: slot_id too big, addr=a8e4a008
Aborted

so keeping USE=spice masked for arch=x86 seems fine.

Sascha.
Comment 5 Toralf Förster gentoo-dev 2012-12-27 16:14:21 UTC
At my stable x86 (using gcc-4.6.3 except for the qemu package) it worked fine so far ...
Comment 6 Toralf Förster gentoo-dev 2012-12-27 16:25:22 UTC
(In reply to comment #5)
> At my stable x86 (using gcc-4.6.3 except for the qemu package) it worked
> fine so far ...

I was referring to app-emulation/qemu-1.1.2-r1 FWIW.