Re: [Spice-devel] [PATCH spice-common] Add a return value to the default case in create_bitmap to satisfy VC++

2012-04-17 Thread Alon Levy
On Mon, Apr 16, 2012 at 11:47:25AM -0500, Aric Stewart wrote: > --- > common/gdi_canvas.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > ACK. I'll push > diff --git a/common/gdi_canvas.c b/common/gdi_canvas.c > index 4c5daea..0a04bf8 100644 > --- a/common/gdi_canvas.c > +++

Re: [Spice-devel] [PATCH spice] update windows client generate.bat and generate1.bat

2012-04-17 Thread Alon Levy
On Mon, Apr 16, 2012 at 01:10:01PM -0500, Aric Stewart wrote: > > the python script is now in spice-common and client_marshallers.h needs to > be included instead of marshallers.h Looks good, haven't tested but I'll assume you did :) ACK, and pushing. > --- > client/windows/generate.bat |

Re: [Spice-devel] [PATCH spice] Copy getopt.h from old common/win/my_getopt-1.5/my_getopt

2012-04-17 Thread Alon Levy
On Mon, Apr 16, 2012 at 02:17:37PM -0500, Aric Stewart wrote: > > This patch completes the copy from 4d8f39020ac83602c1647d4af04e8b19bf74ed6e > which missed this file. ACK, pushing. > --- > client/windows/getopt.h | 56 > +++ > 1 files changed, 56 i

Re: [Spice-devel] Introduction and Hello

2012-04-17 Thread Alon Levy
On Mon, Apr 16, 2012 at 02:25:33PM -0500, Aric Stewart wrote: > Hello, > > My name is Aric Stewart. Primarily a WINE hacker, due to interest from a > client I am starting work on spice. I will mostly be focusing on the win32 > client to begin with but we will see where work progresses. > > I

Re: [Spice-devel] [PATCH spice] update windows client generate.bat and generate1.bat

2012-04-17 Thread Alon Levy
On Mon, Apr 16, 2012 at 01:10:01PM -0500, Aric Stewart wrote: > In the future could you send the patches inlined and not attached? I use git format-patch or git send-email directly. > the python script is now in spice-common and client_marshallers.h needs to > be included instead of marshallers.

Re: [Spice-devel] [PATCH spice] update windows client generate.bat and generate1.bat

2012-04-17 Thread Alon Levy
On Mon, Apr 16, 2012 at 01:10:01PM -0500, Aric Stewart wrote: > > the python script is now in spice-common and client_marshallers.h needs to > be included instead of marshallers.h Third, the patch doesn't apply because of EOL issues. You should be using no EOL convertion magic. If you use msysgit

Re: [Spice-devel] Introduction and Hello

2012-04-17 Thread Lubos Kocman
Great news Alon, Aric. Lubos - Original Message - From: "Alon Levy" To: "Aric Stewart" Cc: spice-devel@lists.freedesktop.org Sent: Tuesday, April 17, 2012 9:34:11 AM Subject: Re: [Spice-devel] Introduction and Hello On Mon, Apr 16, 2012 at 02:25:33PM -0500, Aric Stewart wrote: > Hello,

[Spice-devel] what does spice multiple monitor exactly mean?

2012-04-17 Thread 周伟
Hi what does spice multi monitor mean? Does it mean one computer with 2 or more monitors? or multi session, that can support more than one spicy from different computer. I was trying to use spice in ubuntu 10.04.4, and I start win7 guest with -vga qxl -device qxl, and see 2 graphic cards in dev

Re: [Spice-devel] what does spice multiple monitor exactly mean?

2012-04-17 Thread Lubos Kocman
Hello -device qxl adds one more qxl device to your guest. In fact it will open you one more client window in case thatyou have proper drivers installed. Each client window represents display on the guest. So it's not multi session. Lubos - Original Message - From: "周伟" To: "spice-dev

[Spice-devel] [PATCH v2 spice-protocol 0/2] video streaming enhancements and bandwidth monitoring

2012-04-17 Thread Yonit Halperin
Diff from v1: - spice-protocol: more details in commit message - spice-common: - squashed the copy-paste fix for rect_get_area to the right patch - removed the ring_add_tail patch - spice: - refactored the mjpeg quality/fps tuning; I moved it to mjpeg_encoder, and also made some s

[Spice-devel] [PATCH v2 spice-protocol 1/2] video streaming: add support for frames of different sizes

2012-04-17 Thread Yonit Halperin
Add SPICE_MSG_DISPLAY_STREAM_DATA_SIZED, for stream_data message that in addition to the mjpeg data, also contains the (1) width and height of the compressed frame. (2) the destination box of the frame. The server can send such messages only to clients with SPICE_DISPLAY_CAP_SIZED_STREAM. When pla

[Spice-devel] [PATCH v2 spice-protocol 2/2] Add qos related messages

2012-04-17 Thread Yonit Halperin
If the client's channel has SPICE_COMMON_CAP_QOS_QUERY, the server's channel can send SPICE_MSG_QOS_QUERY to the client. In response, the client is expected to send back SPICE_MSG_QOS_ACK immediately after it receives the message following the query, and before handling this message. The server can

[Spice-devel] [PATCH v2 spice-common 1/5] rect: add rect_contains

2012-04-17 Thread Yonit Halperin
--- common/rect.h | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/common/rect.h b/common/rect.h index a63d785..655e9e8 100644 --- a/common/rect.h +++ b/common/rect.h @@ -74,6 +74,12 @@ static INLINE int rect_is_same_size(const SpiceRect *r1, const SpiceRect *r2

[Spice-devel] [PATCH v2 spice-common 2/5] rect: add rect_get_area

2012-04-17 Thread Yonit Halperin
--- common/rect.h | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/common/rect.h b/common/rect.h index 655e9e8..a9c1b08 100644 --- a/common/rect.h +++ b/common/rect.h @@ -80,6 +80,11 @@ static INLINE int rect_contains(const SpiceRect *big, const SpiceRect *small)

[Spice-devel] [PATCH v2 spice-common 3/5] Update spice-protocol submodule

2012-04-17 Thread Yonit Halperin
For STREAM_DATA_SIZED and QOS_QUERY messages. --- spice-protocol |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/spice-protocol b/spice-protocol index 2d24f61..c921863 16 --- a/spice-protocol +++ b/spice-protocol @@ -1 +1 @@ -Subproject commit 2d24f61aae4f92746940fd1c

[Spice-devel] [PATCH v2 spice-common 4/5] video streaming: add support for frames of different sizes

2012-04-17 Thread Yonit Halperin
Add SPICE_MSG_DISPLAY_STREAM_DATA_SIZED, for stream_data message that also contains the size and destination box of the data. The server can send such messages only to clients with SPICE_DISPLAY_CAP_SIZED_STREAM. --- common/messages.h | 15 ++- spice.proto | 19 ++

[Spice-devel] [PATCH v2 spice-common 5/5] Add qos related messages

2012-04-17 Thread Yonit Halperin
If the client's channel has SPICE_COMMON_CAP_QOS_QUERY, the server's channel can send SPICE_MSG_QOS_QUERY to the client. In response, the client is expected to send back SPICE_MSG_QOS_ACK immediately after it receives the message following the query, and before handling the message. The server can

[Spice-devel] [PATCH v2 spice 01/11] server/red_worker: fix dump_bitmap

2012-04-17 Thread Yonit Halperin
--- server/red_worker.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/server/red_worker.c b/server/red_worker.c index 07782c8..5350195 100644 --- a/server/red_worker.c +++ b/server/red_worker.c @@ -11348,10 +11348,11 @@ static void dump_bitmap(RedWorker *worker, Spi

[Spice-devel] [PATCH v2 spice 02/11] server/red_worker: dump_bitmap: add surface_id to the bitmap file name

2012-04-17 Thread Yonit Halperin
Also replaced sprintf with snprintf --- server/red_worker.c | 14 -- 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/server/red_worker.c b/server/red_worker.c index 5350195..99a8948 100644 --- a/server/red_worker.c +++ b/server/red_worker.c @@ -1014,7 +1014,7 @@ static

[Spice-devel] [PATCH v2 spice 03/11] Update the spice-common submodule

2012-04-17 Thread Yonit Halperin
spice-common changes: STREAM_DATA_SIZED message was added in order to support video streams with frames that their size is different from the initial size that the stream was created with. This patch also includes server and client adjustments to the new SpiceMsgDisplayStreamData. --- client/disp

[Spice-devel] [PATCH v2 spice 04/11] server: video streaming: add support for frames of different sizes

2012-04-17 Thread Yonit Halperin
When playing a youtube video on Windows guest, the driver sometimes sends images which contain the video frames, but also other parts of the screen (e.g., the youtube process bar). In order to prevent glitches, we send these images as part of the stream, using SPICE_MSG_DISPLAY_STREAM_DATA_SIZED.

[Spice-devel] [PATCH v2 spice 05/11] server: spice_timer_queue

2012-04-17 Thread Yonit Halperin
Each thread can create a spice_timer_queue, for managing its own timers. --- server/Makefile.am |2 + server/spice_timer_queue.c | 266 server/spice_timer_queue.h | 41 +++ 3 files changed, 309 insertions(+), 0 deletions(-) create mo

[Spice-devel] [PATCH v2 spice 06/11] server/red_worker: assign timer callbacks to worker_core, using spice_timer_queue

2012-04-17 Thread Yonit Halperin
display channel: Supplying timeouts interface to red_channel, in order to allow periodic network monitoring (see next 2 patches). --- server/red_worker.c | 14 ++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/server/red_worker.c b/server/red_worker.c index c66e397..

[Spice-devel] [PATCH v2 spice 07/11] server/red_channel: support network monitoring

2012-04-17 Thread Yonit Halperin
If the client's channel has SPICE_COMMON_CAP_QOS_QUERY, the server channel's can send it SPICE_MSG_QOS_QUERY. The client is supposed to respond by SPICE_MSG_QOS_ACK right after it receives the one message that follows SPICE_MSG_QOS_QUERY. For channels that are characterized mainly by transmissions

[Spice-devel] [PATCH v2 spice 08/11] server/red_worker: enable periodic network monitoring in the display channel

2012-04-17 Thread Yonit Halperin
--- server/red_worker.c |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/server/red_worker.c b/server/red_worker.c index 2de96d2..1e74662 100644 --- a/server/red_worker.c +++ b/server/red_worker.c @@ -9719,6 +9719,7 @@ static CommonChannelClient *common_channel_client_

[Spice-devel] [PATCH v2 spice 09/11] server/red_worker: streams: moving mjpeg_encoder from Stream to StreamAgent

2012-04-17 Thread Yonit Halperin
The mjpeg_encoder should be client specific, and not shared between different clients**, for the following reasons: (1) Since we use abbreviated jpeg datastream for mjpeg, employing the same mjpeg_encoder for different clients might cause errors when the clients decode the jpeg data. (2) Th

[Spice-devel] [PATCH v2 spice 10/11] server/video-streams: adjust mjpeg quality and frame rate according to the current bit rate

2012-04-17 Thread Yonit Halperin
Previously, the mjpeg quality was always 70. The frame rate was tuned according to the frames' congestion in the pipe. This patch sets the mjpeg quality and frame rate according to the compressed size of the frames and the currently available bit rate. The compression size is estimated for differen

[Spice-devel] [PATCH v2 spice 11/11] server/red_worker.c: add stream stats for debugging

2012-04-17 Thread Yonit Halperin
--- server/red_worker.c | 49 + 1 files changed, 49 insertions(+), 0 deletions(-) diff --git a/server/red_worker.c b/server/red_worker.c index 6c86ba8..b55860b 100644 --- a/server/red_worker.c +++ b/server/red_worker.c @@ -80,6 +80,7 @@ #include

[Spice-devel] [PATCH v2 spice-gtk 1/3] display: video streaming: add support for frames of different sizes

2012-04-17 Thread Yonit Halperin
When playing a youtube video on Windows guest, the driver sometimes sends images which contain the videe frames, but also other parts of the screen (e.g., the you tube process bar). In order to prevent glitches, we send these images as part of the stream, using SPICE_MSG_DISPLAY_STREAM_DATA_SIZED.

[Spice-devel] [PATCH v2 spice-gtk 2/3] channel: support qos queries

2012-04-17 Thread Yonit Halperin
When a channel receives SPICE_MSG_QOS_QUERY, it responds to the server with SPICE_MSGC_QOS_ACK right after it recieves one more message. --- gtk/channel-base.c |7 +++ gtk/spice-channel-priv.h |3 +++ gtk/spice-channel.c | 22 ++ spice-common

[Spice-devel] [PATCH v2 spice-gtk 3/3] display: debug video streams frames dropping

2012-04-17 Thread Yonit Halperin
--- gtk/channel-display-priv.h |5 + gtk/channel-display.c | 19 +++ 2 files changed, 24 insertions(+), 0 deletions(-) diff --git a/gtk/channel-display-priv.h b/gtk/channel-display-priv.h index 1969697..8aac8d8 100644 --- a/gtk/channel-display-priv.h +++ b/gtk/chann

[Spice-devel] [ qemu-kvm-1.0-usbredir / hans git ]

2012-04-17 Thread nicolas prochazka
Hello, I'm using qemu 1.0-usbredir from hans git. If i'm starting a windows guest with : /usr/local/bin/qemu -name TEST_QXL010 -readconfig /etc/ich9-ehci-uhci.cfg -device usb-tablet -spice addr=10.98.98.1,port=11959,disable-ticketing -vga qxl -device virtio-serial -chardev spicevmc,id=vdagent,d

Re: [Spice-devel] [PATCH v2 spice 01/11] server/red_worker: fix dump_bitmap

2012-04-17 Thread Alon Levy
On Tue, Apr 17, 2012 at 01:12:26PM +0300, Yonit Halperin wrote: > --- > server/red_worker.c |5 +++-- > 1 files changed, 3 insertions(+), 2 deletions(-) > > diff --git a/server/red_worker.c b/server/red_worker.c > index 07782c8..5350195 100644 > --- a/server/red_worker.c > +++ b/server/red_wo

Re: [Spice-devel] [PATCH v2 spice 01/11] server/red_worker: fix dump_bitmap

2012-04-17 Thread Yonit Halperin
On 04/17/2012 01:46 PM, Alon Levy wrote: On Tue, Apr 17, 2012 at 01:12:26PM +0300, Yonit Halperin wrote: --- server/red_worker.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/server/red_worker.c b/server/red_worker.c index 07782c8..5350195 100644 --- a/server/re

Re: [Spice-devel] [ qemu-kvm-1.0-usbredir / hans git ]

2012-04-17 Thread David Jaša
Hi Nicolas, does it happen when you omit usbredir devices? David nicolas prochazka píše v Út 17. 04. 2012 v 12:42 +0200: > Hello, > I'm using qemu 1.0-usbredir from hans git. > If i'm starting a windows guest with : > > /usr/local/bin/qemu -name TEST_QXL010 -readconfig > /etc/ich9-ehci-uhci

Re: [Spice-devel] [PATCH v2 spice 01/11] server/red_worker: fix dump_bitmap

2012-04-17 Thread Christophe Fergeau
On Tue, Apr 17, 2012 at 01:46:26PM +0300, Alon Levy wrote: > On Tue, Apr 17, 2012 at 01:12:26PM +0300, Yonit Halperin wrote: > > --- > > server/red_worker.c |5 +++-- > > 1 files changed, 3 insertions(+), 2 deletions(-) > > > > diff --git a/server/red_worker.c b/server/red_worker.c > > index

Re: [Spice-devel] [ qemu-kvm-1.0-usbredir / hans git ]

2012-04-17 Thread Hans de Goede
Hi, On 04/17/2012 12:42 PM, nicolas prochazka wrote: Hello, I'm using qemu 1.0-usbredir from hans git. If i'm starting a windows guest with : /usr/local/bin/qemu -name TEST_QXL010 -readconfig /etc/ich9-ehci-uhci.cfg -device usb-tablet -spice addr=10.98.98.1,port=11959,disable-ticketing -vga

Re: [Spice-devel] [PATCH v2 spice 01/11] server/red_worker: fix dump_bitmap

2012-04-17 Thread Alon Levy
On Tue, Apr 17, 2012 at 01:37:26PM +0200, Christophe Fergeau wrote: > On Tue, Apr 17, 2012 at 01:46:26PM +0300, Alon Levy wrote: > > On Tue, Apr 17, 2012 at 01:12:26PM +0300, Yonit Halperin wrote: > > > --- > > > server/red_worker.c |5 +++-- > > > 1 files changed, 3 insertions(+), 2 deletions

Re: [Spice-devel] Thin client vendors supporting Spice

2012-04-17 Thread Lubos Kocman
Hello Attila I have to agree. Performance in terms of video playback is terrible (they're saying that it's now possible with sr3). But they were much better on vpn than we are. Lubos On Apr 14, 2012, at 11:05 AM, Attila Sukosd wrote: > Hi, > > As someone already mentioned, Sunrays use their

Re: [Spice-devel] [PATCH spice] update windows client generate.bat and generate1.bat

2012-04-17 Thread Aric Stewart
Ah, my apologies. I will admit I have a bit of a hybrid environment. I do almost all my development on my mac and have a windows box for testing/building. It must have been during my editing of the file in vi that it got the EOL characters changed. I will modify my git send formatting to not

Re: [Spice-devel] [PATCH v2 spice 01/11] server/red_worker: fix dump_bitmap

2012-04-17 Thread Christophe Fergeau
On Tue, Apr 17, 2012 at 02:51:33PM +0300, Alon Levy wrote: > On Tue, Apr 17, 2012 at 01:37:26PM +0200, Christophe Fergeau wrote: > > On Tue, Apr 17, 2012 at 01:46:26PM +0300, Alon Levy wrote: > > > On Tue, Apr 17, 2012 at 01:12:26PM +0300, Yonit Halperin wrote: > > > > --- > > > > server/red_worke

Re: [Spice-devel] [ qemu-kvm-1.0-usbredir / hans git ]

2012-04-17 Thread nicolas prochazka
hello, sorry i'm already using qemu-kvm-1.0-usbredir for my test not qemu-1.0-usbredir. I'm using spice from git master. ( 2439c0dc90bcfd83d3e0eb4f08f19ef2face2118 ) april 5 Regards, Nicolas Prochazka. 2012/4/17 Hans de Goede : > Hi, > > > On 04/17/2012 12:42 PM, nicolas prochazka wrote: >> >> H

Re: [Spice-devel] [ qemu-kvm-1.0-usbredir / hans git ]

2012-04-17 Thread Hans de Goede
Hi, On 04/17/2012 02:13 PM, nicolas prochazka wrote: hello, sorry i'm already using qemu-kvm-1.0-usbredir for my test not qemu-1.0-usbredir. I'm using spice from git master. ( 2439c0dc90bcfd83d3e0eb4f08f19ef2face2118 ) april 5 Looks like you've found a real bug then :| I'll put looking into t

Re: [Spice-devel] [PATCH v2 spice 01/11] server/red_worker: fix dump_bitmap

2012-04-17 Thread Alon Levy
On Tue, Apr 17, 2012 at 02:11:13PM +0200, Christophe Fergeau wrote: > On Tue, Apr 17, 2012 at 02:51:33PM +0300, Alon Levy wrote: > > On Tue, Apr 17, 2012 at 01:37:26PM +0200, Christophe Fergeau wrote: > > > On Tue, Apr 17, 2012 at 01:46:26PM +0300, Alon Levy wrote: > > > > On Tue, Apr 17, 2012 at 0

Re: [Spice-devel] [PATCH v2 spice-common 1/5] rect: add rect_contains

2012-04-17 Thread Christophe Fergeau
Series looks good. Christophe On Tue, Apr 17, 2012 at 01:12:10PM +0300, Yonit Halperin wrote: > --- > common/rect.h | 11 +++ > 1 files changed, 11 insertions(+), 0 deletions(-) > > diff --git a/common/rect.h b/common/rect.h > index a63d785..655e9e8 100644 > --- a/common/rect.h > +++

Re: [Spice-devel] [PATCH v2 spice 02/11] server/red_worker: dump_bitmap: add surface_id to the bitmap file name

2012-04-17 Thread Yonit Halperin
On 04/17/2012 01:12 PM, Yonit Halperin wrote: Also replaced sprintf with snprintf --- server/red_worker.c | 14 -- 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/server/red_worker.c b/server/red_worker.c index 5350195..99a8948 100644 --- a/server/red_worker.c +++

[Spice-devel] messages.h unable to be used in VC++

2012-04-17 Thread Aric Stewart
Hello all, Working away at making the current tip of spice build the win32 client. I have run into another problem. Since the last working win32 cllient build the code generated by spice_codegen.py has shifted from CPP files to C files. The generated files include messages.h. Inside

[Spice-devel] [PATCH spice-common] allow log.c to compile under MSVC++

2012-04-17 Thread Aric Stewart
--- common/log.c | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/common/log.c b/common/log.c index ef4da06..3cbcef6 100644 --- a/common/log.c +++ b/common/log.c @@ -22,7 +22,9 @@ #include #include #include +#ifndef _MSC_VER #include +#endif #include

Re: [Spice-devel] [ qemu-kvm-1.0-usbredir / hans git ]

2012-04-17 Thread nicolas prochazka
I've also tested with : qemu last git master : segfault qemu 1.0.1 : ok spice from git master. ( windows guest with qxl install ) , vnc client connect , switch to 640x480 -> 1024x768 => segfault. or connect with vnc client when windows guest boot ( connect just after bios boot, before vga switchi

[Spice-devel] [PATCH spice] we do not need afxres.h included in redc.rc

2012-04-17 Thread Aric Stewart
It is not an MFC project so simply including windef.h is better and allows for compiling with the Express editions of Visual Studio. --- client/windows/redc.rc |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/client/windows/redc.rc b/client/windows/redc.rc index 5f08539.

Re: [Spice-devel] messages.h unable to be used in VC++

2012-04-17 Thread Alon Levy
On Tue, Apr 17, 2012 at 08:15:22AM -0500, Aric Stewart wrote: > Hello all, > > Working away at making the current tip of spice build the win32 client. I > have run into another problem. > > Since the last working win32 cllient build the code generated by > spice_codegen.py has shifted from C

Re: [Spice-devel] [PATCH spice-common] allow log.c to compile under MSVC++

2012-04-17 Thread Alon Levy
On Tue, Apr 17, 2012 at 09:36:52AM -0500, Aric Stewart wrote: > --- > common/log.c | 12 > 1 files changed, 12 insertions(+), 0 deletions(-) > ACK and pushing. > diff --git a/common/log.c b/common/log.c > index ef4da06..3cbcef6 100644 > --- a/common/log.c > +++ b/common/log.c > @

[Spice-devel] [PATCH] fix error-path return in snd_set_record_peer()

2012-04-17 Thread Michael Tokarev
The error_{1,2} labels in this functions are backwards. Signed-off-by: Michael Tokarev --- server/snd_worker.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/snd_worker.c b/server/snd_worker.c index 7bdd399..caffe67 100644 --- a/server/snd_worker.c +++ b/server

[Spice-devel] [PATCH spice-common] add padding member to SpiceMsgEmpty

2012-04-17 Thread Aric Stewart
Empty structures are undefined in C, gcc handles them without issue assigning a size of 0. However MSVC++ generates a hard error (C2015) this allows messages.h to be included in c files compiled by MSVC++. Signed-off-by: Aric Stewart --- common/messages.h |1 + 1 files changed, 1 insertio

Re: [Spice-devel] [PATCH spice-common] allow log.c to compile under MSVC++

2012-04-17 Thread Christophe Fergeau
On Tue, Apr 17, 2012 at 06:58:59PM +0300, Alon Levy wrote: > On Tue, Apr 17, 2012 at 09:36:52AM -0500, Aric Stewart wrote: > > --- > > common/log.c | 12 > > 1 files changed, 12 insertions(+), 0 deletions(-) > > > > ACK and pushing. > > > diff --git a/common/log.c b/common/log.c

Re: [Spice-devel] [PATCH] fix error-path return in snd_set_record_peer()

2012-04-17 Thread Christophe Fergeau
Hey, Good catch, ack. Christophe On Tue, Apr 17, 2012 at 08:05:04PM +0400, Michael Tokarev wrote: > The error_{1,2} labels in this functions are backwards. > > Signed-off-by: Michael Tokarev > --- > server/snd_worker.c |4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff -

Re: [Spice-devel] [PATCH] fix error-path return in snd_set_record_peer()

2012-04-17 Thread Alon Levy
On Tue, Apr 17, 2012 at 08:05:04PM +0400, Michael Tokarev wrote: > The error_{1,2} labels in this functions are backwards. ACK, pushing. > > Signed-off-by: Michael Tokarev > --- > server/snd_worker.c |4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/server/snd_wo

Re: [Spice-devel] messages.h unable to be used in VC++

2012-04-17 Thread Brian Vetter
Not sure if this applies since I'm looking at the spice-gtk 0.11 source, but the generated_demarshallers.c code includes a function parse_SpiceMsgEmpty. Within it it uses "sizeof(SpiceMsgEmpty)" and some pointer/allocator math for demarshalling a SpiceEmptyMsg. I'm no expert here, but I would th

Re: [Spice-devel] messages.h unable to be used in VC++

2012-04-17 Thread Aric Stewart
Yeah, i am wondering a bit about this also. I know under c++ sizeof and empty struct will return 1 gnu c will return 0 msvc++ fails. adding a uint8_t padding member will make it always return 1. I am not sure if that is going to be an issue. I am totally not an expert on the wire protocol, w

[Spice-devel] [PATCH spice]Update win32 generate(1).bat files to match modern usage

2012-04-17 Thread Aric Stewart
This involves: generating .c instead of .cpp files Not including "common.h" Standardizing some parameters Signed-off-by: Aric Stewart --- client/windows/generate.bat |4 ++-- client/windows/generate1.bat |4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/client/w

Re: [Spice-devel] [ qemu-kvm-1.0-usbredir / hans git ]

2012-04-17 Thread Hans de Goede
Hi, On 04/17/2012 04:58 PM, nicolas prochazka wrote: I've also tested with : qemu last git master : segfault qemu 1.0.1 : ok spice from git master. Ah, then it is likely caused by the qxl fixes I recently cherry-picked into my tree. Can you try checking out commit 4c245e5ecbc7d5c30c8e8bb4bfcd

Re: [Spice-devel] [ qemu-kvm-1.0-usbredir / hans git ]

2012-04-17 Thread nicolas prochazka
hello, git bisect tells me that's this commit seems to be the bad. f9344933bcc1425cf1e8142dc2f8321522dc00af is the first bad commit commit f9344933bcc1425cf1e8142dc2f8321522dc00af Author: Alon Levy Date: Fri Feb 24 23:19:29 2012 +0200 qxl: remove flipped Tested on linux and windows g

[Spice-devel] [PATCH spice] update visual studio project file

2012-04-17 Thread Aric Stewart
Note, there may be line-ending issues here is we are not careful. This file is a msdos formatted file. There was some inconsistencies in those line-ending that I have normalized. Signed-off-by: Aric Stewart --- client/windows/redc.vcproj | 84 ++-- 1

Re: [Spice-devel] [ qemu-kvm-1.0-usbredir / hans git ]

2012-04-17 Thread Hans de Goede
Hi, On 04/18/2012 12:43 AM, nicolas prochazka wrote: hello, git bisect tells me that's this commit seems to be the bad. f9344933bcc1425cf1e8142dc2f8321522dc00af is the first bad commit commit f9344933bcc1425cf1e8142dc2f8321522dc00af Author: Alon Levy Date: Fri Feb 24 23:19:29 2012 +0200