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

2012-08-27 Thread Gerd Hoffmann
On 08/27/12 19:20, Søren Sandmann Pedersen wrote: > From: Søren Sandmann Pedersen > > This new interface lets spice server inform the guest whether > > (a) a client is connected > (b) what capabilities the client has > > There is a fixed number (464) of bits reserved for capabilities, and > whe

Re: [Spice-devel] [PATCH] Add new client_present and client capabilities fields to QXLRom

2012-08-27 Thread Gerd Hoffmann
On 08/27/12 19:20, Søren Sandmann Pedersen wrote: > From: Søren Sandmann Pedersen > > The client_present field is a byte that is set of non-zero when a > client is connected and to zero when no client is connected. > > The client_capabilities[58] array contains 464 bits that indicate the > capab

[Spice-devel] Add ability to advertise client capabilities to QXL device

2012-08-27 Thread Søren Sandmann Pedersen
Hi, The following patches add the ability for spice-server to advertise the capabilities of connected clients to guests. They do this through adding some new fields to QXLRom: - whether a client is present - a bit field to indicate which SPICE_DISPLAY_CAP_* capabilities the client has. Th

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

2012-08-27 Thread Søren Sandmann Pedersen
From: Søren Sandmann Pedersen This new interface lets spice server inform the guest whether (a) a client is connected (b) what capabilities the client has There is a fixed number (464) of bits reserved for capabilities, and when the capabilities bits change, the QXL_INTERRUPT_CLIENT interrupt i

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

2012-08-27 Thread Søren Sandmann Pedersen
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] Add new client_present and client capabilities fields to QXLRom

2012-08-27 Thread Søren Sandmann Pedersen
From: Søren Sandmann Pedersen The client_present field is a byte that is set of non-zero when a client is connected and to zero when no client is connected. The client_capabilities[58] array contains 464 bits that indicate the capabilities of the client. Each bit corresponds to a SPICE_DISPLAY_C

[Spice-devel] Add ability to advertise client capabilities to QXL device

2012-08-27 Thread Søren Sandmann Pedersen
Hi, The following patches add the ability for spice-server to advertise the capabilities of connected clients to guests. They do this through adding some new fields to QXLRom: - whether a client is present - a bit field to indicate which SPICE_DISPLAY_CAP_* capabilities the client has. Th

Re: [Spice-devel] spicy

2012-08-27 Thread Anthony James
Trebor, I did some testing and was able to successfully compile virt-viewer-0.5.3 with usb-redirection on a fresh install of Ubuntu 12.04 32-bit. Below are the steps that I used. Note: I chose to install the SPICE stuff to /usr/local/spice A) Install dependencies sudo apt-get install libusb-1.

Re: [Spice-devel] [spice-html5] implement handing of MJPEG display streams

2012-08-27 Thread Jeremy White
ACK On 08/27/2012 10:59 AM, Aric Stewart wrote: > Signed-off-by: Aric Stewart > --- > display.js | 66 ++ > enums.js|2 + > spicemsg.js | 92 > +++ > 3 files changed, 160 insertions(+), 0 del

[Spice-devel] [spice-html5] implement handing of MJPEG display streams

2012-08-27 Thread Aric Stewart
Signed-off-by: Aric Stewart --- display.js | 66 ++ enums.js|2 + spicemsg.js | 92 +++ 3 files changed, 160 insertions(+), 0 deletions(-) diff --git a/display.js b/display.js index 3efabb1.

Re: [Spice-devel] [spice-gtk PATCH v2 8/8] channel-smartcard: do not attach temporary migration channel to smartcard

2012-08-27 Thread Dunrong Huang
2012/8/26 Yonit Halperin : > During migration, the smartcard channel that belongs to the temporary > copied session shouldn't be active. > --- > gtk/channel-main.c |1 + > gtk/channel-smartcard.c | 55 > ++ > gtk/spice-session-priv.h |1

Re: [Spice-devel] SPICE session hanging randomly

2012-08-27 Thread Anthony James
I do have the QXL drivers and agent installed but it looks like the issue is network related. I happened to have an SSH connection open to my host when it occurred and noticed that the SSH session was hung as well. Thanks On Mon, Aug 27, 2012 at 8:28 AM, Christophe Fergeau wrote: > Hey, > > On

Re: [Spice-devel] [PATCH] support automake >= 1.12

2012-08-27 Thread Dunrong Huang
2012/8/27 Alon Levy : > Requires a single line (sans comments) change to configure.ac in > spice-common too, to define the new AM_PROG_AR. > --- > > Pushing without ack per the trivial rule. > > configure.ac | 3 +++ > spice-common | 2 +- > 2 files changed, 4 insertions(+), 1 deletion(-) > > diff

[Spice-devel] [PATCH] support automake >= 1.12

2012-08-27 Thread Alon Levy
Requires a single line (sans comments) change to configure.ac in spice-common too, to define the new AM_PROG_AR. --- Pushing without ack per the trivial rule. configure.ac | 3 +++ spice-common | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac inde

Re: [Spice-devel] about multihead

2012-08-27 Thread Christophe Fergeau
On Thu, Aug 23, 2012 at 08:56:30AM +0800, 蒋媛园 wrote: > Hi >I want to know more about multi-head. I didn't find any helpful > information. > Is there any relevant information of details of multi-head machination? This should be working in Windows guests, in Linux guests with xinerama, and ran

Re: [Spice-devel] spicy

2012-08-27 Thread Christophe Fergeau
Hey, On Thu, Aug 23, 2012 at 03:13:51PM +0200, Trebor Forban wrote: > wanting to be able to use the integrated spice USB-redirection seems > to incur having to use the spicy client instead of the spicec client. > With the spicec client, I was able to automatically position client > windows with de

Re: [Spice-devel] SPICE session hanging randomly

2012-08-27 Thread Christophe Fergeau
Hey, On Wed, Aug 22, 2012 at 09:45:31AM -0400, Anthony James wrote: > I was wondering if anyone else has experienced similar behavior to > what I'm seeing. Randomly, while I'm connected to a remote VM using > SPICE, the screen and all input will freeze/hang for about 30 seconds > to 1 minute. Wh

Re: [Spice-devel] [PATCH] client: fix missing stdarg.h include

2012-08-27 Thread Christophe Fergeau
Hey, On Sun, Aug 19, 2012 at 05:02:10PM +0200, Yann E. MORIN wrote: > When the C library is uClibc, stdarg.h is required to get the > definition for va_list et al. This is also what man va_arg is saying on my glibc system, so ACK Christophe > > Signed-off-by: "Yann E. MORIN" > > --- > Not ne

Re: [Spice-devel] New xrandr multi-mon / arbitrary resolution support issues

2012-08-27 Thread Alon Levy
On Mon, Aug 27, 2012 at 11:20:09AM +0200, Hans de Goede wrote: > Hi, > > So I've been playing around with this more, and except for the issues > when going fullscreen with multiple monitors (the one where the 2 windows end > up > on the same monitor), things look good. > > There are some issues

Re: [Spice-devel] New xrandr multi-mon / arbitrary resolution support issues

2012-08-27 Thread Hans de Goede
Hi, So I've been playing around with this more, and except for the issues when going fullscreen with multiple monitors (the one where the 2 windows end up on the same monitor), things look good. There are some issues with the agent which need some looking into though IMHO: 1) Sometimes messages

Re: [Spice-devel] New xrandr multi-mon / arbitrary resolution support issues

2012-08-27 Thread Hans de Goede
Hi, On 08/27/2012 09:36 AM, Marc-André Lureau wrote: On Sun, Aug 26, 2012 at 5:29 PM, Hans de Goede wrote: Hi, On 08/26/2012 03:48 PM, Hans de Goede wrote: Hi, As part of integrating the spice-vdagent xrandr patches (done, as there were many other patches pending, so fixes can just be appl

Re: [Spice-devel] New xrandr multi-mon / arbitrary resolution support issues

2012-08-27 Thread Marc-André Lureau
On Sun, Aug 26, 2012 at 5:29 PM, Hans de Goede wrote: > Hi, > > On 08/26/2012 03:48 PM, Hans de Goede wrote: >> >> Hi, >> >> As part of integrating the spice-vdagent xrandr patches >> (done, as there were many other patches pending, so fixes >> can just be applied on top), I've been testing the ne