Re: [Spice-devel] Spice is breaking in 32 bits hosts

2012-03-19 Thread Arnon Gilboa
AFAIK, Spice server works only on x86_64, because it is dependent on 64-bit atomic operations. There is no known plan to port it to other architecture. See http://www.spice-space.org/page/FAQ. Fabiano Fidêncio wrote: Guys, I've been trouble using spice-protocol/spice/qemu from git, in a 32

Re: [Spice-devel] Spice is breaking in 32 bits hosts

2012-03-19 Thread Alon Levy
On Mon, Mar 19, 2012 at 09:00:51AM +0200, Arnon Gilboa wrote: AFAIK, Spice server works only on x86_64, because it is dependent on 64-bit atomic operations. There is no known plan to port it to other architecture. See http://www.spice-space.org/page/FAQ. Arnon, we built it already for 32 bits,

Re: [Spice-devel] Spice is breaking in 32 bits hosts

2012-03-19 Thread Alon Levy
On Mon, Mar 19, 2012 at 12:48:37AM -0300, Fabiano Fidêncio wrote: Guys, I've been trouble using spice-protocol/spice/qemu from git, in a 32 bits host. Could somone take a look in this issue? fidencio@sasha ~/src/spice $ sudo LD_LIBRARY_PATH=/home/fidencio/dev/lib gdb --args

Re: [Spice-devel] Spice is breaking in 32 bits hosts

2012-03-19 Thread Alon Levy
On Mon, Mar 19, 2012 at 12:48:37AM -0300, Fabiano Fidêncio wrote: Guys, I've been trouble using spice-protocol/spice/qemu from git, in a 32 bits host. Could somone take a look in this issue? Please try the following patch. commit 5c3c02a581590bd746cc4c98a83f24ad40039cfa Author: Alon Levy

Re: [Spice-devel] Spice is breaking in 32 bits hosts

2012-03-19 Thread Christophe Fergeau
On Mon, Mar 19, 2012 at 10:19:29AM +0100, Alon Levy wrote: The address translation logic is probably assuming a long is 64 bits, and needs to be fixed. The stack trace is pointing you at the right place.. I think get_memslot_id/get_virt and all along should switch unsigned long with uint64_t.

Re: [Spice-devel] Spice is breaking in 32 bits hosts

2012-03-19 Thread Alon Levy
On Mon, Mar 19, 2012 at 11:19:51AM +0100, Christophe Fergeau wrote: On Mon, Mar 19, 2012 at 10:19:29AM +0100, Alon Levy wrote: The address translation logic is probably assuming a long is 64 bits, and needs to be fixed. The stack trace is pointing you at the right place.. I think

[Spice-devel] Spice is breaking in 32 bits hosts

2012-03-18 Thread Fabiano Fidêncio
Guys, I've been trouble using spice-protocol/spice/qemu from git, in a 32 bits host. Could somone take a look in this issue? fidencio@sasha ~/src/spice $ sudo LD_LIBRARY_PATH=/home/fidencio/dev/lib gdb --args /home/fidencio/dev/bin/qemu-system-i386 -enable-kvm -m 1024 -device e1000,vlan=0 -net