Re: [Spice-devel] [vdagent-win PATCH v4 02/19] Reduce indentation returning earlier

2018-07-03 Thread Jonathon Jongsma
Acked-by: Jonathon Jongsma On Mon, 2018-07-02 at 08:43 +0100, Frediano Ziglio wrote: > Also add some comments. > > Signed-off-by: Frediano Ziglio > --- > spice-protocol | 2 +- > vdagent/vdagent.cpp | 45 ++- > -- > 2 files changed, 27 insertions(

Re: [Spice-devel] [PATCH spice-common 0/6] quic: Unify the 2 template files

2018-07-03 Thread Jonathon Jongsma
On Thu, 2018-06-28 at 14:23 +0100, Frediano Ziglio wrote: > QUIC is implemented using 2 C template files. > One for single channel and one for multiple (RGB) channels. > Unify the 2 templates to have a single source. > > Frediano Ziglio (6): > quic: Call encode from golomb_coding > quic: Conti

Re: [Spice-devel] [spice-common] swcanvas: Remove canvas_create()

2018-07-03 Thread Jonathon Jongsma
Looks like it was only ever called from the old client code that was removed from the spice-server repository. Acked-by: Jonathon Jongsma On Tue, 2018-07-03 at 16:10 +0200, Christophe Fergeau wrote: > Nothing calls it in spice-gtk or spice-server > > Signed-off-by: Christophe Fergeau > --- >

Re: [Spice-devel] SPICE logging facilities

2018-07-03 Thread Jonathon Jongsma
On Tue, 2018-07-03 at 17:10 +0200, Christophe de Dinechin wrote: > There is a lot of debate, distributed across a large number of > patches, regarding similar SPICE and glib facilities. For a number of > things, there are two sets of parallel APIs with slightly different > behaviour. This is undesi

Re: [Spice-devel] [PATCH spice-common] test-region: Decrease loop count by a factor of 10

2018-07-03 Thread Frediano Ziglio
> > On 03/07/18 12:04, Uri Lublin wrote: > > On 07/03/2018 05:35 PM, Eduardo Lima (Etrunko) wrote: > >> This test was timing out when running in gitlab-ci, so decreasing the > >> loop count in order to make it run faster. Example: > >> > >> https://gitlab.freedesktop.org/etrunko/spice-common/-/job

Re: [Spice-devel] [PATCH spice-common] test-region: Decrease loop count by a factor of 10

2018-07-03 Thread Eduardo Lima (Etrunko)
On 03/07/18 12:04, Uri Lublin wrote: > On 07/03/2018 05:35 PM, Eduardo Lima (Etrunko) wrote: >> This test was timing out when running in gitlab-ci, so decreasing the >> loop count in order to make it run faster. Example: >> >> https://gitlab.freedesktop.org/etrunko/spice-common/-/jobs/6546 > > Hi,

Re: [Spice-devel] [PATCH spice-protocol] qxl_dev: Align QXLRam to 4 bytes

2018-07-03 Thread Frediano Ziglio
> > On Thu, Jun 28, 2018 at 09:43:47PM +0100, Frediano Ziglio wrote: > > This avoids compilers detect misaligned access. > > Maybe "This helps some compilers to realize QXLRam is correctly aligned"? > Well, the current code tells the compiler that this structure is NOT aligned. But we actually

Re: [Spice-devel] [PATCH spice-protocol] qxl_dev: Align QXLRam to 4 bytes

2018-07-03 Thread Christophe Fergeau
On Thu, Jun 28, 2018 at 09:43:47PM +0100, Frediano Ziglio wrote: > This avoids compilers detect misaligned access. Maybe "This helps some compilers to realize QXLRam is correctly aligned"? > The structure is allocated at the beginning of a page so surely > will be 4 bytes aligned. Not immediatl

Re: [Spice-devel] [PATCH spice-common 1/6] quic: Call encode from golomb_coding

2018-07-03 Thread Jonathon Jongsma
Looks simpler to me, though I don't know the history of why these were separated like this. Unless somebody else has objections: Acked-by: Jonathon Jongsma On Thu, 2018-06-28 at 14:23 +0100, Frediano Ziglio wrote: > golomb_coding is always followed by a encode call. > Simplify code calling dire

Re: [Spice-devel] [PATCH spice-common] canvas_base: Avoid misaligned access decoding LZ4 data

2018-07-03 Thread Frediano Ziglio
> > On Thu, Jun 28, 2018 at 07:40:19AM +0100, Frediano Ziglio wrote: > > Make code faster on platforms not supporting unaligned access > > by default. > > How does this work exactly? Rather than silencing the warning with > SPICE_UNALIGNED_CAST, and then potentially dereferencing a non-aligned >

[Spice-devel] SCSI disk driver

2018-07-03 Thread Carlos González
Apologies beforehand if it's a bit offtopic; not sure what place would be more suitable... Regarding storage devices, Proxmox wiki mentions that SCSI virtio driver is in its way to replace current virtio block driver. https://pve.proxmox.com/wiki/Paravirtualized_Block_Drivers_for_Windows However t

Re: [Spice-devel] [PATCH spice-gtk v2 1/3] channel-display-gst: Prevent accumulating output queue

2018-07-03 Thread Frediano Ziglio
> > Hi, > > > On 05/25/2018 03:55 PM, Frediano Ziglio wrote: > > display_queue is queued with decoded frames ready to be displayed. > > However current code can insert a timeout before displaying and > > removing the queued frames. As the frames are not compressed the > > usage of memory by this

Re: [Spice-devel] [PATCH spice-common] canvas_base: Avoid misaligned access decoding LZ4 data

2018-07-03 Thread Christophe Fergeau
On Thu, Jun 28, 2018 at 07:40:19AM +0100, Frediano Ziglio wrote: > Make code faster on platforms not supporting unaligned access > by default. How does this work exactly? Rather than silencing the warning with SPICE_UNALIGNED_CAST, and then potentially dereferencing a non-aligned 32 bit value, and

Re: [Spice-devel] Recommended place to get drivers

2018-07-03 Thread Carlos González
Mr. Cole Robinson? His name indeed appears in the Windows VirtIO ISO changelog from the fedoraproject site... Do you know if he lurkes this mailing list? 2018-07-03 10:08 GMT-05:00 Christophe Fergeau : > On Tue, Jul 03, 2018 at 09:47:38AM -0500, Carlos González wrote: > > Thanks yet again. > > >

[Spice-devel] SPICE logging facilities

2018-07-03 Thread Christophe de Dinechin
There is a lot of debate, distributed across a large number of patches, regarding similar SPICE and glib facilities. For a number of things, there are two sets of parallel APIs with slightly different behaviour. This is undesirable, as it introduces confusion. Pros: this lets us customize the b

Re: [Spice-devel] Recommended place to get drivers

2018-07-03 Thread Christophe Fergeau
On Tue, Jul 03, 2018 at 09:47:38AM -0500, Carlos González wrote: > Thanks yet again. > > https://lists.freedesktop.org/archives/spice-devel/2018-June/044236.html > If this patch makes it to release, which win-virtio ISO branch is it > normally put in? "Latest"? I don't know how Cole handles these

Re: [Spice-devel] [PATCH spice-common] test-region: Decrease loop count by a factor of 10

2018-07-03 Thread Uri Lublin
On 07/03/2018 05:35 PM, Eduardo Lima (Etrunko) wrote: This test was timing out when running in gitlab-ci, so decreasing the loop count in order to make it run faster. Example: https://gitlab.freedesktop.org/etrunko/spice-common/-/jobs/6546 Hi, Just curious, why the test failed with meson but

Re: [Spice-devel] [PATCH] Avoid NULL-dereference if canvas_get_image errors out

2018-07-03 Thread Christophe Fergeau
On Tue, Jul 03, 2018 at 04:31:10PM +0200, Christophe de Dinechin wrote: > I think we never had a discussion of what we really want in each case, and > that’s causing the confusion. > > First, a meta-rule. Like you, there is a lot in SPICE code I don’t > like. When in doubt, I try to use consisten

Re: [Spice-devel] [PATCH spice-gtk v2 1/3] channel-display-gst: Prevent accumulating output queue

2018-07-03 Thread Snir Sheriber
Hi, On 05/25/2018 03:55 PM, Frediano Ziglio wrote: display_queue is queued with decoded frames ready to be displayed. However current code can insert a timeout before displaying and removing the queued frames. As the frames are not compressed the usage of memory by this queue can became in some

Re: [Spice-devel] [PATCH spice-common] test-region: Decrease loop count by a factor of 10

2018-07-03 Thread Eduardo Lima (Etrunko)
On 03/07/18 11:40, Frediano Ziglio wrote: >> >> This test was timing out when running in gitlab-ci, so decreasing the >> loop count in order to make it run faster. Example: >> >> https://gitlab.freedesktop.org/etrunko/spice-common/-/jobs/6546 >> >> Signed-off-by: Eduardo Lima (Etrunko) > > Acked-

Re: [Spice-devel] Recommended place to get drivers

2018-07-03 Thread Carlos González
Thanks yet again. https://lists.freedesktop.org/archives/spice-devel/2018-June/044236.html If this patch makes it to release, which win-virtio ISO branch is it normally put in? "Latest"? Where can one check current spice-server changelog or version in order to see whether patch has been released

Re: [Spice-devel] [PATCH spice-common] test-region: Decrease loop count by a factor of 10

2018-07-03 Thread Frediano Ziglio
> > This test was timing out when running in gitlab-ci, so decreasing the > loop count in order to make it run faster. Example: > > https://gitlab.freedesktop.org/etrunko/spice-common/-/jobs/6546 > > Signed-off-by: Eduardo Lima (Etrunko) Acked-by: Frediano Ziglio Frediano > --- > tests/tes

Re: [Spice-devel] [PATCH spice-common] Update gitlab-ci to use meson

2018-07-03 Thread Eduardo Lima (Etrunko)
On 03/07/18 10:35, Frediano Ziglio wrote: >> >> On 02/07/18 07:31, Frediano Ziglio wrote: > > Test-region timeouts, maybe we should increase the timeout for all tests? > > https://gitlab.freedesktop.org/etrunko/spice-common/-/jobs/6546 > Maybe just for this test w

[Spice-devel] [PATCH spice-common] test-region: Decrease loop count by a factor of 10

2018-07-03 Thread Eduardo Lima (Etrunko)
This test was timing out when running in gitlab-ci, so decreasing the loop count in order to make it run faster. Example: https://gitlab.freedesktop.org/etrunko/spice-common/-/jobs/6546 Signed-off-by: Eduardo Lima (Etrunko) --- tests/test-region.c | 2 +- 1 file changed, 1 insertion(+), 1 delet

Re: [Spice-devel] [PATCH] Avoid NULL-dereference if canvas_get_image errors out

2018-07-03 Thread Christophe de Dinechin
> On 3 Jul 2018, at 15:51, Christophe Fergeau wrote: > > On Tue, Jul 03, 2018 at 03:16:19PM +0200, Christophe de Dinechin wrote: diff --git a/common/canvas_base.c b/common/canvas_base.c index 6bf6e5d..bbaaf96 100644 --- a/common/canvas_base.c +++ b/common/canvas_base.c

[Spice-devel] [spice-common] swcanvas: Remove canvas_create()

2018-07-03 Thread Christophe Fergeau
Nothing calls it in spice-gtk or spice-server Signed-off-by: Christophe Fergeau --- common/sw_canvas.c | 26 -- common/sw_canvas.h | 11 --- 2 files changed, 37 deletions(-) diff --git a/common/sw_canvas.c b/common/sw_canvas.c index c41edb1..c5528c2 100644 --- a/

Re: [Spice-devel] [PATCH] server: Replace spice_return_if_fail with g_return_if_fail

2018-07-03 Thread Christophe de Dinechin
> On 3 Jul 2018, at 15:29, Frediano Ziglio wrote: > >> >> From: Christophe de Dinechin >> >> The spice_ variants simply mirror the glib API, >> without adding significant value. >> >> Signed-off-by: Christophe de Dinechin >> -- >> Following up on Christophe Fergeau's comment: >> >>> I'd f

Re: [Spice-devel] [PATCH] Avoid NULL-dereference if canvas_get_image errors out

2018-07-03 Thread Christophe Fergeau
On Tue, Jul 03, 2018 at 03:51:58PM +0200, Christophe Fergeau wrote: > > Depending on context, it may. So what? Are you suggesting to do something > > else? > > if (d == NULL) { > abort(); > free(d); (obviously not 'd' here, but free(something);) Christophe signature.asc Description:

Re: [Spice-devel] [PATCH] Avoid NULL-dereference if canvas_get_image errors out

2018-07-03 Thread Christophe Fergeau
On Tue, Jul 03, 2018 at 03:16:19PM +0200, Christophe de Dinechin wrote: > >> diff --git a/common/canvas_base.c b/common/canvas_base.c > >> index 6bf6e5d..bbaaf96 100644 > >> --- a/common/canvas_base.c > >> +++ b/common/canvas_base.c > >> @@ -3072,6 +3072,7 @@ static void canvas_draw_stroke(SpiceCan

Re: [Spice-devel] [PATCH spice-server v2] red-parse-qxl: Avoid invalid flag usage

2018-07-03 Thread Christophe Fergeau
On Mon, Jun 25, 2018 at 10:50:27AM +0100, Frediano Ziglio wrote: > self_bitmap flag is used for some complex drawing not possible > by QXL_DRAW_COPY commands. Having this flag set causes > spice-server do draw part of the screen, copy that part on new > allocated image and reduce network optimisati

Re: [Spice-devel] [PATCH spice-common] Update gitlab-ci to use meson

2018-07-03 Thread Frediano Ziglio
> > On 02/07/18 07:31, Frediano Ziglio wrote: > >> > >>> > >>> Test-region timeouts, maybe we should increase the timeout for all tests? > >>> > >>> https://gitlab.freedesktop.org/etrunko/spice-common/-/jobs/6546 > >>> > >> > >> Maybe just for this test we could decrease the for loop counter > >>

Re: [Spice-devel] [PATCH] server: Replace spice_return_if_fail with g_return_if_fail

2018-07-03 Thread Frediano Ziglio
> > From: Christophe de Dinechin > > The spice_ variants simply mirror the glib API, > without adding significant value. > > Signed-off-by: Christophe de Dinechin > -- > Following up on Christophe Fergeau's comment: > > > I'd favour g_return_if_fail(), I'd really like to kill these various >

Re: [Spice-devel] [PATCH] Avoid NULL-dereference if canvas_get_image errors out

2018-07-03 Thread Christophe de Dinechin
> On 3 Jul 2018, at 12:11, Frediano Ziglio wrote: > >> >> On Fri, Jun 29, 2018 at 05:21:22PM +0200, Christophe de Dinechin wrote: >>> From: Christophe de Dinechin >>> >>> In some error cases, canvas_get_image may return NULL. >>> When this happens, calls like pixman_image_get_width(s) >>> wi

Re: [Spice-devel] [PATCH spice-common v3] lz: Avoid buffer reading overflow checking for image type

2018-07-03 Thread Christophe Fergeau
Hey, On Tue, Jun 26, 2018 at 10:31:00AM +0100, Frediano Ziglio wrote: > The type of the image is just copied from network without > any check and later used for array indexing. Have you considered something like this? This way we can be sure no code can overflow the IS_IMAGE_TYPE_PLT[] array. Sim

Re: [Spice-devel] [vdagent-win PATCH v4 01/19] Use proper type for _clipboard_owner

2018-07-03 Thread Christophe de Dinechin
Acked-by: Christophe de Dinechin > On 2 Jul 2018, at 09:43, Frediano Ziglio wrote: > > Signed-off-by: Frediano Ziglio > --- > vdagent/vdagent.cpp | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/vdagent/vdagent.cpp b/vdagent/vdagent.cpp > index 1e8f27c..78c42d1 100644

Re: [Spice-devel] [PATCH] Avoid NULL-dereference if canvas_get_image errors out

2018-07-03 Thread Christophe de Dinechin
> On 3 Jul 2018, at 11:47, Christophe Fergeau wrote: > > On Fri, Jun 29, 2018 at 05:21:22PM +0200, Christophe de Dinechin wrote: >> From: Christophe de Dinechin >> >> In some error cases, canvas_get_image may return NULL. >> When this happens, calls like pixman_image_get_width(s) >> will cras

[Spice-devel] [PATCH] common: Replace spice_return_if_fail with g_return_if_fail

2018-07-03 Thread Christophe de Dinechin
From: Christophe de Dinechin The spice_ variants simply mirror the glib API, without adding significant value. Signed-off-by: Christophe de Dinechin -- Follow up a comment from Christophe Fergeau: >I'd favour g_return_if_fail(), I'd really like to kill these various > spice_* calls mirroring g

[Spice-devel] [PATCH] server: Replace spice_return_if_fail with g_return_if_fail

2018-07-03 Thread Christophe de Dinechin
From: Christophe de Dinechin The spice_ variants simply mirror the glib API, without adding significant value. Signed-off-by: Christophe de Dinechin -- Following up on Christophe Fergeau's comment: > I'd favour g_return_if_fail(), I'd really like to kill these various > spice_* calls mirroring

Re: [Spice-devel] [PATCH spice-common] Update gitlab-ci to use meson

2018-07-03 Thread Eduardo Lima (Etrunko)
On 02/07/18 07:31, Frediano Ziglio wrote: >> >>> >>> Test-region timeouts, maybe we should increase the timeout for all tests? >>> >>> https://gitlab.freedesktop.org/etrunko/spice-common/-/jobs/6546 >>> >> >> Maybe just for this test we could decrease the for loop counter >> near the end of this te

Re: [Spice-devel] monitors_config rework: proposed protocol changes

2018-07-03 Thread Lukáš Hrázký
On Tue, 2018-07-03 at 06:56 -0400, Frediano Ziglio wrote: > > > > Hi all, > > > > after posting the PoC patch series for the monitors_config rework and > > the discussion there getting a bit hard to follow, I thought I'd try to > > summarize the proposed protocol. There are also spice-gtk API cha

[Spice-devel] [PATCH v3 spice-streaming-agent 0/1] Adding gstreamer based plugin

2018-07-03 Thread Snir Sheriber
Changes since v2: -Adding support in h265 -printing and logging changes -Fixes according to previous comments -Rebase *Switching between capturing method is still using the XLIB CAPTURE macro, hopefully the whole xlib capturing system could be dropped soon *Logging and printing are currently do

[Spice-devel] [PATCH v3 spice-streaming-agent 1/1] Adding gstreamer based plugin

2018-07-03 Thread Snir Sheriber
Gstreamer based plugin utilizing gstreamer elements to capture screen from X, convert and encode into h264/h265/vp8/vp9/mjpeg stream Configure with --enable-gstreamer, will be built as a separate plugin. The plugin was made for testing purposes, it was mainly tested with the x264enc (h264 is the d

Re: [Spice-devel] [PATCH spice-common] test-marshallers: Check for "zero" attribute

2018-07-03 Thread Christophe Fergeau
Acked-by: Christophe Fergeau (when reverting this commit, compilation of the test case fails, with this commit in, the test case succeeds) Christophe On Thu, Jun 28, 2018 at 07:40:20AM +0100, Frediano Ziglio wrote: > Check the previous fix for "zero" attribute works correctly > (commit bc9df581

Re: [Spice-devel] [PATCH spice-server v3] memslot: Remove error parameter from memslot_get_virt

2018-07-03 Thread Christophe Fergeau
Acked-by: Christophe Fergeau On Tue, Jul 03, 2018 at 11:24:03AM +0100, Frediano Ziglio wrote: > Pointers to memory allocated in user space are never NULL. > The only exception can be if you explicitly map memory at zero. > There is however no reasons for such requirement and this practise > was

Re: [Spice-devel] monitors_config rework: proposed protocol changes

2018-07-03 Thread Frediano Ziglio
> > Hi all, > > after posting the PoC patch series for the monitors_config rework and > the discussion there getting a bit hard to follow, I thought I'd try to > summarize the proposed protocol. There are also spice-gtk API changes > to consider, which I've decided to leave for a later email. >

[Spice-devel] [spice-common v2 3/3] build: Remove spice_common.h

2018-07-03 Thread Christophe Fergeau
Most users of spice_common.h don't need it, or only need log.h. It only has a few users outside of spice-common. It's not very well defined which headers it should contain. This commit removes spice_common.h in favour of direct inclusion of the needed headers. Signed-off-by: Christophe Fergeau --

[Spice-devel] [spice-common v2 1/3] log: Remove SPICE_DISABLE_ABORT

2018-07-03 Thread Christophe Fergeau
spice-gtk was the last user, and stopped using it on Jun 14th 2017 in 040090ccba34 "build-sys: remove -DSPICE_DISABLE_ABORT" Signed-off-by: Christophe Fergeau --- common/log.c | 4 common/spice_common.h | 4 tests/test-logging.c | 14 ++ 3 files changed, 2 inser

[Spice-devel] [spice-common v2 2/3] common: Remove spice_abort()

2018-07-03 Thread Christophe Fergeau
There are only 2 users in spice-common, and none in spice-gtk/spice Signed-off-by: Christophe Fergeau --- common/pixman_utils.c | 4 ++-- common/spice_common.h | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/common/pixman_utils.c b/common/pixman_utils.c index 81806c9..5d1c

[Spice-devel] [spice-server] build: Remove unneeded spice_common.h includes

2018-07-03 Thread Christophe Fergeau
Signed-off-by: Christophe Fergeau --- server/dispatcher.c | 1 - server/red-common.h | 1 - 2 files changed, 2 deletions(-) diff --git a/server/dispatcher.c b/server/dispatcher.c index 0953db875..48dc915a6 100644 --- a/server/dispatcher.c +++ b/server/dispatcher.c @@ -26,7 +26,6 @@ #include #

Re: [Spice-devel] [PATCH spice-server 2/2] memslot: Remove error parameter from memslot_get_virt

2018-07-03 Thread Frediano Ziglio
> > On Tue, Jun 19, 2018 at 11:05:26AM +0100, Frediano Ziglio wrote: > > Pointers to memory allocated in user space are never NULL. > > The only exception can be if you explicitly map memory at zero. > > There is however no reasons for such requirement and this practise > > was also removed from L

[Spice-devel] [PATCH spice-server v3] memslot: Remove error parameter from memslot_get_virt

2018-07-03 Thread Frediano Ziglio
Pointers to memory allocated in user space are never NULL. The only exception can be if you explicitly map memory at zero. There is however no reasons for such requirement and this practise was also removed from Linux due to security reasons. This API looks copied from a kernel environment where va

Re: [Spice-devel] [PATCH spice-common] test-marshallers: Check for "zero" attribute

2018-07-03 Thread Frediano Ziglio
ping > > Check the previous fix for "zero" attribute works correctly > (commit bc9df5816210efbe15ca03e82510f34174784082, "marshal: Fix a bug > with zero attribute"). > > Signed-off-by: Frediano Ziglio > --- > tests/test-marshallers.c | 13 + > tests/test-marshallers.h | 4

Re: [Spice-devel] [PATCH] Avoid NULL-dereference if canvas_get_image errors out

2018-07-03 Thread Frediano Ziglio
> > On Fri, Jun 29, 2018 at 05:21:22PM +0200, Christophe de Dinechin wrote: > > From: Christophe de Dinechin > > > > In some error cases, canvas_get_image may return NULL. > > When this happens, calls like pixman_image_get_width(s) > > will crash. Add additional error paths to deal with > > thes

Re: [Spice-devel] [spice-common] log: Remove SPICE_DISABLE_ABORT

2018-07-03 Thread Frediano Ziglio
> > spice-gtk was the last user, and stopped using it in 90ccba34 > "build-sys: remove -DSPICE_DISABLE_ABORT" > I would put the date of the commit (not that important). Looking at 90ccba34 it states "but since it works fine without this flag since 2012 (commit 05a203af120016)", not clear why wo

Re: [Spice-devel] [PATCH] Avoid NULL-dereference if canvas_get_image errors out

2018-07-03 Thread Christophe Fergeau
On Fri, Jun 29, 2018 at 05:21:22PM +0200, Christophe de Dinechin wrote: > From: Christophe de Dinechin > > In some error cases, canvas_get_image may return NULL. > When this happens, calls like pixman_image_get_width(s) > will crash. Add additional error paths to deal with > these cases. I assum

[Spice-devel] [spice-common] log: Remove SPICE_DISABLE_ABORT

2018-07-03 Thread Christophe Fergeau
spice-gtk was the last user, and stopped using it in 90ccba34 "build-sys: remove -DSPICE_DISABLE_ABORT" Signed-off-by: Christophe Fergeau --- common/log.c | 4 common/spice_common.h | 4 tests/test-logging.c | 14 ++ 3 files changed, 2 insertions(+), 20 deletion

Re: [Spice-devel] [PATCH spice-server 2/3] test-codecs-parsing: Add test case

2018-07-03 Thread Christophe Fergeau
Acked-by: Christophe Fergeau On Wed, Jun 27, 2018 at 08:00:36AM +0100, Frediano Ziglio wrote: > Check if encoder contains an invalid character. > > Signed-off-by: Frediano Ziglio > --- > server/tests/test-codecs-parsing.c | 6 ++ > 1 file changed, 6 insertions(+) > > diff --git a/server/

Re: [Spice-devel] [PATCH spice-server 3/3] reds: Fix one case parsing invalid codec string

2018-07-03 Thread Christophe Fergeau
Acked-by: Christophe Fergeau On Wed, Jun 27, 2018 at 08:00:37AM +0100, Frediano Ziglio wrote: > In case we pass something like "spice:mjpeg$%*" the last part is > ignore making the string parse correctly. > A single pair should end by either string terminator or pair terminator. > > Signed-off-

Re: [Spice-devel] [PATCH spice-common] Update gitlab-ci to use meson

2018-07-03 Thread Christophe de Dinechin
> On 2 Jul 2018, at 18:23, Frediano Ziglio wrote: > > > > - Original Message - >> From: "Christophe de Dinechin" >> To: "Eduardo Lima (Etrunko)" >> Cc: spice-devel@lists.freedesktop.org >> Sent: Monday, 2 July, 2018 3:01:41 PM >> Subject: Re: [Spice-devel] [PATCH spice-common] Updat

Re: [Spice-devel] Recommended place to get drivers

2018-07-03 Thread Christophe Fergeau
On Mon, Jul 02, 2018 at 01:20:39PM -0500, Carlos González wrote: > https://lists.freedesktop.org/archives/spice-devel/2018-June/044237.html > I just read spice-server thing is actually a hypervisor part. So if this > patch makes it to release, what would I need to update in order to test? > All lib