[Spice-devel] Usb-Serial converter redirection

2012-09-03 Thread Eduardo Elias Camponez
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. Even a tip where to look or how to find the possibly errors messages is very welcome. -- Reg

Re: [Spice-devel] [PATCH 3/5] Process outstanding commands in the ring after changing capability bits

2012-09-03 Thread Alon Levy
> From: Søren Sandmann Pedersen > > When a new client connects, there may be commands in the ring that it > can't understand, so we need to process these before forwarding new > commands to the client. By doing this after changing the capability > bits we ensure that the new client will never see

[Spice-devel] [PATCH 5/5] Bump spice.h version number to 0.11.4

2012-09-03 Thread Søren Sandmann
From: Søren Sandmann Pedersen No new symbols are added, but there is an addition to QXLInterface: void (*set_client_capabilities)(QXLInstance *qin, uint8_t client_present, uint8_t caps[58]); --- server/spice.h |2 +-

[Spice-devel] [PATCH 4/5] Set a8 capability in the QXL device if supported by the client

2012-09-03 Thread Søren Sandmann
From: Søren Sandmann Pedersen --- server/red_worker.c |2 ++ spice-common|2 +- 2 files changed, 3 insertions(+), 1 deletions(-) diff --git a/server/red_worker.c b/server/red_worker.c index f87967c..17d9ef8 100644 --- a/server/red_worker.c +++ b/server/red_worker.c @@ -10377,6 +

[Spice-devel] [PATCH 3/5] Process outstanding commands in the ring after changing capability bits

2012-09-03 Thread Søren Sandmann
From: Søren Sandmann Pedersen When a new client connects, there may be commands in the ring that it can't understand, so we need to process these before forwarding new commands to the client. By doing this after changing the capability bits we ensure that the new client will never see a command t

[Spice-devel] [PATCH 2/5] Add new set_client_capabilities() interface to QXLInstance

2012-09-03 Thread Søren Sandmann
From: Søren Sandmann Pedersen A new interface set_client_capabilities (QXLInstance *qin, uint8_t client_present, uint8_t caps[58]); is added to QXLInstance, and spice server is changed to call it whenever a client connects or disconnects.

[Spice-devel] [PATCH 1/5] client: Advertise A8_SURFACE capability

2012-09-03 Thread Søren Sandmann
From: Søren Sandmann Pedersen --- client/display_channel.cpp |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/client/display_channel.cpp b/client/display_channel.cpp index d08072d..49a4c6a 100644 --- a/client/display_channel.cpp +++ b/client/display_channel.cpp @@ -652,6

Re: [Spice-devel] [Qemu-devel] [PATCH-v2 spice 1/2] Set a8 capability in the QXL device if supported by the client

2012-09-03 Thread Søren Sandmann
Søren Sandmann writes: > Alon Levy writes: > >>> --- >>> server/red_worker.c | 2 ++ >>> spice-common| 2 +- >>> 2 files changed, 3 insertions(+), 1 deletion(-) >>> >>> diff --git a/server/red_worker.c b/server/red_worker.c >>> index 843f559..23f3464 100644 >>> --- a/server/red_worker.

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

2012-09-03 Thread Søren Sandmann
Søren Sandmann Pedersen writes: > @@ -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 */ > +#if QXL_COMMAND_FLAG

Re: [Spice-devel] [Qemu-devel] [PATCH-v2 spice 1/2] Set a8 capability in the QXL device if supported by the client

2012-09-03 Thread Søren Sandmann
Alon Levy writes: >> --- >> server/red_worker.c | 2 ++ >> spice-common| 2 +- >> 2 files changed, 3 insertions(+), 1 deletion(-) >> >> diff --git a/server/red_worker.c b/server/red_worker.c >> index 843f559..23f3464 100644 >> --- a/server/red_worker.c >> +++ b/server/red_worker.c >> @@

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

2012-09-03 Thread Alon Levy
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 . --- server/red_common.h| 18

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

2012-09-03 Thread Trebor Forban
2012/9/3 David Jaša : > Christophe Fergeau píše v Po 03. 09. 2012 v 09:43 +0200: >> Hey, >> >> On Sat, Sep 01, 2012 at 02:22:07PM +0200, Trebor Forban wrote: >> > Hello spice developers, >> > >> > I'd like to be able to configure various features/options/parameters >> > of remote-viewer. >> > >> >

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

2012-09-03 Thread David Jaša
Christophe Fergeau píše v Po 03. 09. 2012 v 09:43 +0200: > Hey, > > On Sat, Sep 01, 2012 at 02:22:07PM +0200, Trebor Forban wrote: > > Hello spice developers, > > > > I'd like to be able to configure various features/options/parameters > > of remote-viewer. > > > > Can someone possibly tell me i

Re: [Spice-devel] remote-viewer

2012-09-03 Thread Christophe Fergeau
Hey, On Fri, Aug 31, 2012 at 10:22:07PM +0200, Trebor Forban wrote: > @Christophe, thanks for the tip with strace; I got it working. > I used "./configure --prefix=/usr/local/spice", and remote-viewer was > "looking" > for files in "/usr/local/share" that were in "/usr/local/spice/share". Any mo

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

2012-09-03 Thread Christophe Fergeau
Hey, On Sat, Sep 01, 2012 at 02:22:07PM +0200, Trebor Forban wrote: > Hello spice developers, > > I'd like to be able to configure various features/options/parameters > of remote-viewer. > > Can someone possibly tell me if the following options can be realized/set > with remote-viewer at present

Re: [Spice-devel] [Qemu-devel] [PATCH-v2 spice 1/2] Set a8 capability in the QXL device if supported by the client

2012-09-03 Thread Alon Levy
> --- > server/red_worker.c | 2 ++ > spice-common| 2 +- > 2 files changed, 3 insertions(+), 1 deletion(-) > > diff --git a/server/red_worker.c b/server/red_worker.c > index 843f559..23f3464 100644 > --- a/server/red_worker.c > +++ b/server/red_worker.c > @@ -10377,6 +10377,8 @@ static v

[Spice-devel] [PATCH] server: add dist-hook to prevent spice version configure/spice.h difference

2012-09-03 Thread Alon Levy
--- server/Makefile.am | 3 +++ server/tests/test_spice_version.sh | 42 ++ 2 files changed, 45 insertions(+) create mode 100755 server/tests/test_spice_version.sh diff --git a/server/Makefile.am b/server/Makefile.am index 16c8b6d..18a9d8a 100