Re: [Spice-devel] [PATCH] Add config functions.

2010-08-29 Thread Alexander Larsson
On Fri, 2010-08-27 at 15:37 +0200, Gerd Hoffmann wrote: > A bunch of configuration functions where never ported forward from > rhel-6 to upstream. Add them so we can add qemu config options for > these settings. > --- > server/reds.c | 27 +++ > server/spice.h | 11 ++

Re: [Spice-devel] [PATCH] vdagent: support announce_capabilities

2010-08-29 Thread Yonit Halperin
On 29/08/2010 20:27, Alon Levy wrote: --- vdagent/vdagent.cpp | 52 ++- 1 files changed, 51 insertions(+), 1 deletions(-) diff --git a/vdagent/vdagent.cpp b/vdagent/vdagent.cpp index b1f47c0..8cba032 100644 --- a/vdagent/vdagent.cpp +++ b/vdag

Re: [Spice-devel] [PATCH] add vd_agent announce capabilities message

2010-08-29 Thread Yonit Halperin
On 29/08/2010 20:22, Alon Levy wrote: This adds a 256 bits capabilities bitmap message to spice-protocol. --- spice/vd_agent.h | 17 + 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/spice/vd_agent.h b/spice/vd_agent.h index 8e1e6ca..9007bee 100644 --- a/spi

Re: [Spice-devel] [PATCH] client: add announce_capabilities

2010-08-29 Thread Yonit Halperin
On 29/08/2010 20:24, Alon Levy wrote: send VDAgentAnnounceCapabilities on agent connection, DisplayConfig only sent if response received (another VDAgentAnnounceCapabilities) and contains the VD_AGENT_CAP_DISPLAY_CONFIG capability. --- client/red_client.cpp | 46 +

[Spice-devel] [PATCH] vdagent: support announce_capabilities

2010-08-29 Thread Alon Levy
--- vdagent/vdagent.cpp | 52 ++- 1 files changed, 51 insertions(+), 1 deletions(-) diff --git a/vdagent/vdagent.cpp b/vdagent/vdagent.cpp index b1f47c0..8cba032 100644 --- a/vdagent/vdagent.cpp +++ b/vdagent/vdagent.cpp @@ -37,6 +37,8 @@ private

[Spice-devel] [PATCH] client: add announce_capabilities

2010-08-29 Thread Alon Levy
send VDAgentAnnounceCapabilities on agent connection, DisplayConfig only sent if response received (another VDAgentAnnounceCapabilities) and contains the VD_AGENT_CAP_DISPLAY_CONFIG capability. --- client/red_client.cpp | 46 ++ client/red_client.h

[Spice-devel] [PATCH] add vd_agent announce capabilities message

2010-08-29 Thread Alon Levy
This adds a 256 bits capabilities bitmap message to spice-protocol. --- spice/vd_agent.h | 17 + 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/spice/vd_agent.h b/spice/vd_agent.h index 8e1e6ca..9007bee 100644 --- a/spice/vd_agent.h +++ b/spice/vd_agent.h @@ -5

Re: [Spice-devel] [PATCH 1/1] canvas: Better coordinate rounding in scaling

2010-08-29 Thread Yonit Halperin
On 08/27/2010 05:53 PM, al...@redhat.com wrote: From: Alexander Larsson When scaling in pixman you give the source coordinates in transformed space rather than in the source coordinates. This is a bit problematic when both source and destination coordinates are at integer positions, but the scal

Re: [Spice-devel] [PATCH 2/2] server: red_send_image() - append image data to right marshaller

2010-08-29 Thread Yonit Halperin
On 08/26/2010 09:10 PM, al...@redhat.com wrote: From: Alexander Larsson The actual bitmap data was added to the main marshaller rather than the submarshaller that pointed to the SpiceImage part. This made us send too short messages failing demarshalling in the client. --- server/red_worker.c |

Re: [Spice-devel] [PATCH 2/2] server: red_send_image() - append image data to right marshaller

2010-08-29 Thread Yonit Halperin
On 08/26/2010 09:10 PM, al...@redhat.com wrote: From: Alexander Larsson The actual bitmap data was added to the main marshaller rather than the submarshaller that pointed to the SpiceImage part. This made us send too short messages failing demarshalling in the client. --- server/red_worker.c |

Re: [Spice-devel] [PATCH 1/2] server: red_send_image() initialize bitmap.flags

2010-08-29 Thread Yonit Halperin
On 08/26/2010 09:10 PM, al...@redhat.com wrote: From: Alexander Larsson We're currently sending this to the network based on random memory. --- server/red_worker.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/server/red_worker.c b/server/red_worker.c index 27d9491.