qemu-e2k/ui
Alon Levy a13ccc991a ui/spice-display: use uintptr_t when casting qxl physical addresses
The current intptr_t casts are a problem when the address's highest
bit is 1, and it is cast to a intptr_t and then to uint64_t, such
as at:
     surface.mem        = (intptr_t)ssd->buf;

This causes the sign bit to be extended which causes a wrong address to
be passed on to spice, which then complains when it gets the wrong
slot_id number, since the slot_id is taken from the higher bits.

The assertion happens early - during the first primary surface creation.

This fixes running "-vga qxl -spice" with 32 bit compiled
qemu-system-i386.

Signed-off-by: Alon Levy <alevy@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2012-03-22 14:29:13 +01:00
..
cocoa.m
curses_keys.h
curses.c
d3des.c
d3des.h
keymaps.c
keymaps.h
qemu-spice.h Revert "qemu-char: Print strerror message on failure" and deps 2012-02-24 09:06:56 -06:00
sdl_keysym.h
sdl_zoom_template.h
sdl_zoom.c
sdl_zoom.h
sdl.c sdl: remove NULL check, g_malloc0 can't fail 2012-02-27 09:46:51 +01:00
spice-core.c spice: fix broken initialization 2012-03-19 13:12:19 +01:00
spice-display.c ui/spice-display: use uintptr_t when casting qxl physical addresses 2012-03-22 14:29:13 +01:00
spice-display.h qxl: make qxl_render_update async 2012-02-27 09:46:52 +01:00
spice-input.c
vnc_keysym.h
vnc-auth-sasl.c vnc: Fix packed boolean struct members 2012-03-19 10:52:52 +00:00
vnc-auth-sasl.h vnc: Fix packed boolean struct members 2012-03-19 10:52:52 +00:00
vnc-auth-vencrypt.c
vnc-auth-vencrypt.h
vnc-enc-hextile-template.h vnc: Add break statement 2012-03-08 15:22:11 +00:00
vnc-enc-hextile.c
vnc-enc-tight.c
vnc-enc-tight.h
vnc-enc-zlib.c
vnc-enc-zrle-template.c
vnc-enc-zrle.c
vnc-enc-zrle.h
vnc-enc-zywrle-template.c Fix spelling in comments, documentation and messages 2011-12-14 11:09:44 +00:00
vnc-enc-zywrle.h Fix spelling in comments, documentation and messages 2011-12-14 11:09:44 +00:00
vnc-jobs-async.c vnc: don't mess up with iohandlers in the vnc thread 2012-03-14 16:22:46 -05:00
vnc-jobs-sync.c
vnc-jobs.h vnc: don't mess up with iohandlers in the vnc thread 2012-03-14 16:22:46 -05:00
vnc-palette.c
vnc-palette.h
vnc-tls.c
vnc-tls.h
vnc.c vnc: Limit r/w access to size of allocated memory 2012-03-14 16:22:46 -05:00
vnc.h vnc: don't mess up with iohandlers in the vnc thread 2012-03-14 16:22:46 -05:00
x_keymap.c
x_keymap.h