[Spice-devel] USB-redirection

2012-09-04 Thread Trebor Forban
Hello spice developers, can someone help me debug the following error message, which is displayed after inserting an usb-device although all seems to work: "Could not auto-redirect ... at ...: Cannot connect an already connected usb device" Thanks, TF

[Spice-devel] [PATCH] server/red_parse_qxl: fix wrong bitmap_consistent

2012-09-04 Thread Alon Levy
The bit calculation was wrong for all the paletted types by a factor of between 8 and 1 (SPICE_BITMAP_FMT_{1,4,8}BIT_PLT_{LE,BE}) --- server/red_parse_qxl.c | 31 ++- 1 file changed, 26 insertions(+), 5 deletions(-) diff --git a/server/red_parse_qxl.c b/server/red_pars

Re: [Spice-devel] [ spice-devel ] libspice server segfault

2012-09-04 Thread Alon Levy
> hello > libspice 0.11.3 > qemu 1.2rc2 > > In windows XP Guest VM , > Change screensaver ( with small preview windows change) > causes a segfault in libspice server . > > I can always reproduce it , > two logs juste before segfault. > > > usr/local/bin/qemu:11553): SpiceWorker-Debug **: > ../s

[Spice-devel] [ spice-devel ] libspice server segfault

2012-09-04 Thread nicolas prochazka
hello libspice 0.11.3 qemu 1.2rc2 In windows XP Guest VM , Change screensaver ( with small preview windows change) causes a segfault in libspice server . I can always reproduce it , two logs juste before segfault. usr/local/bin/qemu:11553): SpiceWorker-Debug **: ../spice-common/common/rect.h:91

[Spice-devel] [ spice-devel ] libspice server warning red_parse_qxl.c:371

2012-09-04 Thread nicolas prochazka
Hello, with libspiceserver 0.11.3 and qemu 1.2rc2 : i've a lot of : red_dispatcher_set_display_peer: inputs_connect: inputs channel client create red_dispatcher_set_cursor_peer: (/usr/local/bin/qemu:16340): Spice-Warning **: red_parse_qxl.c:371:red_get_image: guest error: missing palette on bitmap

Re: [Spice-devel] [PATCH-v2 qemu] qxl: Add set_client_capabilities() interface to QXLInterface

2012-09-04 Thread Gerd Hoffmann
Hi, > static void qxl_enter_vga_mode(PCIQXLDevice *d) > @@ -1292,7 +1315,7 @@ static void qxl_set_mode(PCIQXLDevice *d, int modenr, > int loadvm) > > d->mode = QXL_MODE_COMPAT; > d->cmdflags = QXL_COMMAND_FLAG_COMPAT; > -#ifdef QXL_COMMAND_FLAG_COMPAT_16BPP /* new in spice 0.6.1 */

Re: [Spice-devel] remote-viewer "kiosk-mode"

2012-09-04 Thread Marc-André Lureau
Hey - Original Message - > 2012/9/3 Trebor Forban : > > >>> > > >>> >1. Configure grab-keyboard/grab-mouse. > >>> > >>> What do you want to configure exactly? > > > > I don't want the spice client to grab the mouse or keyboard, as > > this > > prevents xscreensaver from starting: > >

Re: [Spice-devel] [PATCH] server/red_parse_qxl: add bitmap consistency check

2012-09-04 Thread Alon Levy
> On 09/03/2012 07:24 PM, Alon Levy wrote: > > Just checks stride vs width times bpp. > > > > This fixes a potential abort on guest generated bad images in > > glz_encoder. > > > > Other files touched to move some consts to red_common, they are > > static so no problem to be defined in both red_wor

Re: [Spice-devel] [PATCH] server/red_parse_qxl: add bitmap consistency check

2012-09-04 Thread Uri Lublin
On 09/03/2012 07:24 PM, Alon Levy wrote: Just checks stride vs width times bpp. This fixes a potential abort on guest generated bad images in glz_encoder. Other files touched to move some consts to red_common, they are static so no problem to be defined in both red_worker.c and red_parse_qxl.c

Re: [Spice-devel] [PATCH] server/red_parse_qxl: add bitmap consistency check

2012-09-04 Thread Hans de Goede
Looks good, aCK. On 09/03/2012 06:24 PM, Alon Levy wrote: Just checks stride vs width times bpp. This fixes a potential abort on guest generated bad images in glz_encoder. Other files touched to move some consts to red_common, they are static so no problem to be defined in both red_worker.c an

Re: [Spice-devel] Usb-Serial converter redirection

2012-09-04 Thread Hans de Goede
Hi, On 09/03/2012 08:59 PM, Eduardo Elias Camponez wrote: Hi, I am having problem to use usb-redirection with an usb-serial converter. It works for the host (Linux). Although the guest (Win7) is able to see it and it seems to been redirected it does not work. For starters make sure you've a

Re: [Spice-devel] remote-viewer "kiosk-mode"

2012-09-04 Thread Trebor Forban
2012/9/3 Trebor Forban : >>> > >>> >1. Configure grab-keyboard/grab-mouse. >>> >>> What do you want to configure exactly? > > I don't want the spice client to grab the mouse or keyboard, as this > prevents xscreensaver from starting: > "xscreensaver unable to grab keyboard or mouse! Blanking