[Spice-devel] [PATCH spice-gtk 2/2] usb device widget: don't try to disconnect on failed connect

2016-03-24 Thread Jonathon Jongsma
When you try to redirect a usb device to the guest and it fails, we uncheck the checkbox for this device. This causes the 'clicked' signal to be emitted, which causes us to try to disconnect the device (which is not currently connected, since the connect operation failed). When we try to disconnec

[Spice-devel] [PATCH spice-gtk 1/2] SpiceUsbDeviceManager: propagate errors from sub-tasks

2016-03-24 Thread Jonathon Jongsma
_connect_device_async_cb() just turned TRUE unconditionally even if the sub-task had failed. Instad, introduce a _spice_usb_device_manager_connect_device_finish() function which passes up the result of the subtask. --- src/usb-device-manager.c | 19 +-- 1 file changed, 17 insertion

[Spice-devel] [PATCH spice-gtk 0/2] a couple async usb fixes

2016-03-24 Thread Jonathon Jongsma
I discovered that the UsbDeviceManager doesn't handle device connection errors properly after the latest GTask and async usb changes. I reproduced this because my usb acl helper executable wasn't properly owned by root with u+s, so the set_facl() function failed. In this situation, the usb device w

Re: [Spice-devel] [spice-server] doc: Add virgl documentation

2016-03-24 Thread Cole Robinson
On 03/24/2016 01:26 PM, Cole Robinson wrote: > On 03/24/2016 01:08 PM, Christophe Fergeau wrote: >> On Thu, Mar 24, 2016 at 12:59:04PM -0400, Cole Robinson wrote: +Configuration +- + +.Using libvirt + +You need to add a virtio-gpu video device to your virtu

Re: [Spice-devel] [spice-server] doc: Add virgl documentation

2016-03-24 Thread Cole Robinson
On 03/24/2016 01:08 PM, Christophe Fergeau wrote: > On Thu, Mar 24, 2016 at 12:59:04PM -0400, Cole Robinson wrote: >> I'm trying to test this stuff at the moment. Some comments and questions >> below >> (not an ACK or NACK, I see the patch was already pushed) >> >> On 03/18/2016 12:12 PM, Christop

Re: [Spice-devel] [spice-server] doc: Add virgl documentation

2016-03-24 Thread Christophe Fergeau
On Thu, Mar 24, 2016 at 12:59:04PM -0400, Cole Robinson wrote: > I'm trying to test this stuff at the moment. Some comments and questions below > (not an ACK or NACK, I see the patch was already pushed) > > On 03/18/2016 12:12 PM, Christophe Fergeau wrote: > > Document how to use virgl with QEMU/l

Re: [Spice-devel] [spice-server] doc: Add virgl documentation

2016-03-24 Thread Cole Robinson
I'm trying to test this stuff at the moment. Some comments and questions below (not an ACK or NACK, I see the patch was already pushed) On 03/18/2016 12:12 PM, Christophe Fergeau wrote: > Document how to use virgl with QEMU/libvirt > > virt-manager documentation still needs to be added. > --- >

Re: [Spice-devel] [spice-common v4 3/7] log: Use glib for logging

2016-03-24 Thread Jeremy White
On 03/24/2016 10:20 AM, Christophe Fergeau wrote: > Hey, > > Sorry, hadn't noticed this message earlier. > > On Wed, Mar 09, 2016 at 01:43:14PM -0600, Jeremy White wrote: >> I realize I'm rather late to the party, but this change causes >> troubles with Xspice. >> >> That is, Xorg, on startup, c

Re: [Spice-devel] Questions about experimental Spice compositor rebase

2016-03-24 Thread Yury Shvedov
Yes, this is the most significant problem of this project. I do not have time at all now. All I can to do now is to suggest you to try put the line to the repaint function I wrote you some time ago and put an debug output about the damage argument. You will see then how does it affects to the

Re: [Spice-devel] [PATCH 02/13] Free dispatchers at exit

2016-03-24 Thread Christophe Fergeau
On Thu, Mar 24, 2016 at 11:08:15AM -0500, Jonathon Jongsma wrote: > Yeah, I agree that it's not clear who should free all of this stuff. The > mismatch in types was probably caused by recent changes and rebasing old > patches > on top? > Yes, exactly that. Christophe signature.asc Descriptio

Re: [Spice-devel] Questions about experimental Spice compositor rebase

2016-03-24 Thread Fabio Fantoni
Il 24/03/2016 17:13, Yury Shvedov ha scritto: Fabio, can you please explain me, why do you continue performance testing the thing what already known to have an awful performance and the way of fixing that? You right, I must try to do significant changes instead (probably following rdp composi

[Spice-devel] [PATCH 2/2 v2] dispatcher: move channel final initialization to red-worker

2016-03-24 Thread Frediano Ziglio
CursorChannel and DisplayChannel was initialized half in red_worker_new and half in red_dispatcher_init using some accessor for RedWorker (red_worker_get_cursor_channel and red_worker_get_display_channel). Moving directly into red_worker_new make easier to follow code path. Signed-off-by: Frediano

Re: [Spice-devel] [PATCH 1/2] qxl: use Dispatcher in channel callbacks

2016-03-24 Thread Frediano Ziglio
> > Hey, > > On Thu, Mar 24, 2016 at 02:19:21PM +, Frediano Ziglio wrote: > > There is no need callbacks knows about internal QXLState. > > > looks good, > Acked-by: Christophe Fergeau > > Reminded me of > https://lists.freedesktop.org/archives/spice-devel/2016-March/027330.html > which is

Re: [Spice-devel] [spice-server 2/8] Move RedChannel::data to ClientCbs::cbs_data

2016-03-24 Thread Frediano Ziglio
> > On Tue, Mar 15, 2016 at 05:11:36PM -0400, Frediano Ziglio wrote: > > > -static void red_channel_client_default_disconnect(RedChannelClient > > > *base) > > > +static void red_channel_client_default_disconnect(RedChannelClient > > > *base, > > > gpointer cbs_data) > > > { > > > red_channe

Re: [Spice-devel] Questions about experimental Spice compositor rebase

2016-03-24 Thread Yury Shvedov
Fabio, can you please explain me, why do you continue performance testing the thing what already known to have an awful performance and the way of fixing that? On 03/24/2016 07:08 PM, Fabio Fantoni wrote: Il 24/03/2016 16:47, Yury Shvedov ha scritto: Hi! Very thank you, but we know and alrea

Re: [Spice-devel] [PATCH 02/13] Free dispatchers at exit

2016-03-24 Thread Jonathon Jongsma
On Wed, 2016-03-23 at 12:46 -0400, Frediano Ziglio wrote: > > > > On Wed, Mar 23, 2016 at 12:48:28PM +, Frediano Ziglio wrote: > > > From: Jonathon Jongsma > > > > > > --- > > > server/red-qxl.c | 7 +++ > > > server/red-qxl.h | 1 + > > > server/reds.c| 2 ++ > > > 3 files changed,

Re: [Spice-devel] Questions about experimental Spice compositor rebase

2016-03-24 Thread Fabio Fantoni
Il 24/03/2016 16:47, Yury Shvedov ha scritto: Hi! Very thank you, but we know and already fixed that =) On 03/24/2016 06:40 PM, Christophe Fergeau wrote: Hey, On Sun, Feb 28, 2016 at 03:36:58PM +0100, Fabio Fantoni wrote: I did fast build tests, I fixed one my mistake in Makefile.am and afte

Re: [Spice-devel] [PATCH spice-gtk v2 9/8] main: don't update display timer for unchanged config

2016-03-24 Thread Jonathon Jongsma
On Thu, 2016-03-24 at 12:18 +0100, Marc-André Lureau wrote: > Hi Jonathon > > On Wed, Mar 23, 2016 at 8:58 PM, Jonathon Jongsma wrote: > > > It also solves/avoids problems with a guest running on wayland when the > > > "resize-guest" property is TRUE. > > > See bug https://bugzilla.redhat.com/sho

Re: [Spice-devel] Questions about experimental Spice compositor rebase

2016-03-24 Thread Yury Shvedov
Hi! Very thank you, but we know and already fixed that =) On 03/24/2016 06:40 PM, Christophe Fergeau wrote: Hey, On Sun, Feb 28, 2016 at 03:36:58PM +0100, Fabio Fantoni wrote: I did fast build tests, I fixed one my mistake in Makefile.am and after I had this error: src/spice/weston_basic_eve

[Spice-devel] [phodav PATCH 2/3 v3] spice-webdavd-windows: Check for mapped shared folder

2016-03-24 Thread Lukas Venhoda
Check whether Spice Folder is already mapped. If yes, don't try to map another one. --- Changes since v3: - changed function is_spice_folder_mapped to get_spice_folder_letter - Now returns the mapped folder drive letter - This can be used to call unmap_drive - No need for global variab

Re: [Spice-devel] Questions about experimental Spice compositor rebase

2016-03-24 Thread Christophe Fergeau
Hey, On Sun, Feb 28, 2016 at 03:36:58PM +0100, Fabio Fantoni wrote: > > I did fast build tests, I fixed one my mistake in Makefile.am and after I > had this error: > >src/spice/weston_basic_event_loop.h:27:31: fatal error: weston/compositor.h: > >No such file or directory > I fixed with this eve

[Spice-devel] [phodav PATCH 3/3 v3] spice-webdavd-windows: Dismount shared folder on service stop

2016-03-24 Thread Lukas Venhoda
When stopping the service, automatically disconnect shared folder on windows. Not dismounting could lead to multiple shared folders. --- Changes since v3: - Better handeling of string names - Syntax cleanup - Remove global variable drive_letter - Now scans for mapped drive and unmaps it Cha

[Spice-devel] [phodav PATCH 1/3 v4] spice-webdavd-windows: Automount shared folder

2016-03-24 Thread Lukas Venhoda
Try to connect to shared folder automatically on Windows. On each loop of run_service(), run a GTask, that waits for 0.5s. If sharing is disabled, read_thread will immediately return and cause the main_loop to stop. This in turn causes the cancellable object to be canceled and the loop stops. If

Re: [Spice-devel] [spice-common v4 3/7] log: Use glib for logging

2016-03-24 Thread Christophe Fergeau
Hey, Sorry, hadn't noticed this message earlier. On Wed, Mar 09, 2016 at 01:43:14PM -0600, Jeremy White wrote: > I realize I'm rather late to the party, but this change causes troubles > with Xspice. > > That is, Xorg, on startup, closes stdout. > > Since the g_log_default_handler writes to std

Re: [Spice-devel] [phodav PATCH 7/7 v3] spice-webdavd-windows: Dismount shared folder on service stop

2016-03-24 Thread Lukas Venhoda
H On Thu, Mar 24, 2016 at 10:34 AM, Victor Toso wrote: > Hi, > > On Thu, Mar 17, 2016 at 02:47:51PM +0100, Lukas Venhoda wrote: > > When stopping the service, automatically disconnect shared folder on > > windows. Not dismounting could lead to multiple shared folders. > > But when user disconnec

Re: [Spice-devel] [phodav PATCH 6/7 v3] spice-webdavd-windows: Check for mapped shared folder

2016-03-24 Thread Lukas Venhoda
Hi, On Thu, Mar 24, 2016 at 10:46 AM, Victor Toso wrote: > Hi, > > On Thu, Mar 17, 2016 at 02:47:50PM +0100, Lukas Venhoda wrote: > > Check whether Spice Folder is already mapped. > > If yes, don't try to map another one. > > I have found some issue with this. If I disconnect a session that > wa

Re: [Spice-devel] [PATCH 2/2] dispatcher: move channel final initialization to red-worker

2016-03-24 Thread Christophe Fergeau
On Thu, Mar 24, 2016 at 02:19:22PM +, Frediano Ziglio wrote: > CursorChannel and DisplayChannel was initialized half in red_worker_new > and half in red_dispatcher_init using some accessor for RedWorker > (red_worker_get_cursor_channel and red_worker_get_display_channel). > Moving directly into

Re: [Spice-devel] [PATCH 1/2] qxl: use Dispatcher in channel callbacks

2016-03-24 Thread Christophe Fergeau
Hey, On Thu, Mar 24, 2016 at 02:19:21PM +, Frediano Ziglio wrote: > There is no need callbacks knows about internal QXLState. > looks good, Acked-by: Christophe Fergeau Reminded me of https://lists.freedesktop.org/archives/spice-devel/2016-March/027330.html which is still pending :( Chris

Re: [Spice-devel] server: More clearly identify channels that support multiple clients

2016-03-24 Thread Christophe Fergeau
Hey, On Mon, Mar 14, 2016 at 12:39:02AM +0100, Francois Gouget wrote: > Rename the function to channel_supports_multiple_clients() as > channel_is_secondary() is unclear and was coded to return the opposite > of what was originally intended. > Also there are few channel types and whether they supp

[Spice-devel] [PATCH 2/2] dispatcher: move channel final initialization to red-worker

2016-03-24 Thread Frediano Ziglio
CursorChannel and DisplayChannel was initialized half in red_worker_new and half in red_dispatcher_init using some accessor for RedWorker (red_worker_get_cursor_channel and red_worker_get_display_channel). Moving directly into red_worker_new make easier to follow code path. Signed-off-by: Frediano

[Spice-devel] [PATCH 1/2] qxl: use Dispatcher in channel callbacks

2016-03-24 Thread Frediano Ziglio
There is no need callbacks knows about internal QXLState. Signed-off-by: Frediano Ziglio --- server/red-qxl.c | 38 +++--- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/server/red-qxl.c b/server/red-qxl.c index c8e1378..8ba6fd6 100644 --- a/serve

Re: [Spice-devel] spice-html5 keyboard layout fix proposal

2016-03-24 Thread Christophe Fergeau
On Thu, Mar 17, 2016 at 01:37:13PM -0500, Jeremy White wrote: > Hi Eric, > > This is great; thanks for taking the time to put this together. Yes, thanks for that ;) > > Could I ask a few favors, though? This version did not apply to the git > tip for me. I think a few corrections Christophe m

Re: [Spice-devel] [qxl 0/5] Xspice audio playback fixes

2016-03-24 Thread Christophe Fergeau
On Fri, Mar 18, 2016 at 04:09:14PM -0500, Jeremy White wrote: > Hey Francois, > > On 03/18/2016 09:31 AM, Francois Gouget wrote: > > > > While testing the video streaming I ran into a number of issues caused > > by Xspice's audio playback. So I investigated those and found fixes > > which gives

Re: [Spice-devel] [PATCH 4/5] do not compile dump_bitmap if not necessary

2016-03-24 Thread Frediano Ziglio
> > Hi, > > On Thu, Mar 24, 2016 at 08:53:01AM +, Frediano Ziglio wrote: > > This function is used only for debugging > > > > Signed-off-by: Frediano Ziglio > > --- > > server/spice-bitmap-utils.c | 2 ++ > > 1 file changed, 2 insertions(+) > > > > diff --git a/server/spice-bitmap-utils.c

Re: [Spice-devel] [spice-server] doc: Add virgl documentation

2016-03-24 Thread Christophe Fergeau
On Wed, Mar 23, 2016 at 05:59:03PM +0100, Pavel Grunt wrote: > On Wed, 2016-03-23 at 17:45 +0100, Christophe Fergeau wrote: > > But it seems these are good enough, when I tested this, Xorg was > > picking > > the QXL driver, which gave me a blackscreen with the f23 packages. > > With > > packages f

Re: [Spice-devel] [PATCH v3 6/9] egl: check and update scanout after egl init

2016-03-24 Thread Pavel Grunt
On Thu, 2016-03-24 at 12:32 +0100, Marc-André Lureau wrote: > Once the egl/GL context are initialized, check if there is a scanout > to > associate to display widget. This solves races when scanout update is > happening before the egl/GL context is ready. > > Signed-off-by: Marc-André Lureau Acke

Re: [Spice-devel] [PATCH 3/5] removed unused tree debugging function

2016-03-24 Thread Pavel Grunt
Removed in *39e1cbe3211b06bca6e5d906ffb4d0582440c5cc* I would ack it but Fabiano had some comments about it https://lists.freedesktop.org/archives/spice-devel/2015-November/024060.html On Thu, Mar 24, 2016 at 12:45 PM, Victor Toso wrote: > Hi, > > On Thu, Mar 24, 2016 at 08:53:00AM +,

Re: [Spice-devel] [PATCH 3/5] removed unused tree debugging function

2016-03-24 Thread Victor Toso
Hi, On Thu, Mar 24, 2016 at 08:53:00AM +, Frediano Ziglio wrote: > Support for this debugging was removed time ago. > Can you point it out when it was removed? Thanks, > Signed-off-by: Frediano Ziglio > --- > server/tree.c | 161 > --

Re: [Spice-devel] [PATCH 5/5] make some functions static

2016-03-24 Thread Victor Toso
Hi, On Thu, Mar 24, 2016 at 08:53:02AM +, Frediano Ziglio wrote: > No need to have callback registered internally no static Acked-by: Victor Toso > > Signed-off-by: Frediano Ziglio > --- > server/smartcard.c | 4 ++-- > server/spicevmc.c | 4 ++-- > 2 files changed, 4 insertions(+), 4 de

Re: [Spice-devel] [PATCH 4/5] do not compile dump_bitmap if not necessary

2016-03-24 Thread Victor Toso
Hi, On Thu, Mar 24, 2016 at 08:53:01AM +, Frediano Ziglio wrote: > This function is used only for debugging > > Signed-off-by: Frediano Ziglio > --- > server/spice-bitmap-utils.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/server/spice-bitmap-utils.c b/server/spice-bitmap-uti

Re: [Spice-devel] [PATCH 2/5] removed unused red_qxl_set_mm_time

2016-03-24 Thread Victor Toso
Hi, On Thu, Mar 24, 2016 at 08:52:59AM +, Frediano Ziglio wrote: > This helper call a deprecated callback. > > Signed-off-by: Frediano Ziglio Acked-by: Victor Toso > --- > server/red-qxl.c | 6 -- > server/red-qxl.h | 1 - > 2 files changed, 7 deletions(-) > > diff --git a/server/red

Re: [Spice-devel] [PATCH 1/5] remove unused reds_set_mm_time

2016-03-24 Thread Victor Toso
Hi, On Thu, Mar 24, 2016 at 08:52:58AM +, Frediano Ziglio wrote: > Signed-off-by: Frediano Ziglio Acked-by: Victor Toso > --- > server/reds.c | 10 -- > server/reds.h | 1 - > 2 files changed, 11 deletions(-) > > diff --git a/server/reds.c b/server/reds.c > index 38a369c..eb2430

[Spice-devel] [PATCH v3 6/9] egl: check and update scanout after egl init

2016-03-24 Thread Marc-André Lureau
Once the egl/GL context are initialized, check if there is a scanout to associate to display widget. This solves races when scanout update is happening before the egl/GL context is ready. Signed-off-by: Marc-André Lureau --- src/spice-widget-egl.c | 6 ++ 1 file changed, 6 insertions(+) dif

[Spice-devel] [PATCH v3 9/9] widget: modify update-area to not require primary surface

2016-03-24 Thread Marc-André Lureau
If egl display is enabled, use GL scanout geometry to check intersection with the monitor area. This solves displaying GL display without software canvas (currently d->area is empty and gl drawing fails) Signed-off-by: Marc-André Lureau Acked-by: Pavel Grunt --- src/spice-widget.c | 41

[Spice-devel] [PATCH v3 5/9] widget: make gl-scanout and update-monitor-area privately exported

2016-03-24 Thread Marc-André Lureau
The following changes will call these functions from spice-widget-egl.c Signed-off-by: Marc-André Lureau Acked-by: Pavel Grunt --- src/spice-widget-priv.h | 3 +++ src/spice-widget.c | 17 +++-- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/src/spice-widget-p

[Spice-devel] [PATCH v3 4/9] display: return NULL in spice_display_get_gl_scanout()

2016-03-24 Thread Marc-André Lureau
If there is no valid scanout, return NULL. Signed-off-by: Marc-André Lureau Acked-by: Pavel Grunt --- src/channel-display.c | 4 ++-- src/spice-widget.c| 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/channel-display.c b/src/channel-display.c index 2c54df7..90d155e

[Spice-devel] [PATCH v3 8/9] main: don't update display timer for unchanged config

2016-03-24 Thread Marc-André Lureau
With virgl, set_monitor_ready() may be called each time the scanout is updated to set the monitor area. This will call spice_main_update_display(), and keep the timer postponed even if the monitor configuration didn't change. Treat unchanged configuration as a no-op and keep configuration timer unc

[Spice-devel] [PATCH v3 3/9] widget: enable egl before updating scanout

2016-03-24 Thread Marc-André Lureau
The GLArea is realized lazily, when it is made visible in set_egl_enabled(). The egl context is initialized once the GLArea is realized. Enable egl before updating the scanout. Signed-off-by: Marc-André Lureau Acked-by: Pavel Grunt --- src/spice-widget.c | 6 +++--- 1 file changed, 3 insertions

[Spice-devel] [PATCH v3 2/9] egl: check context is ready

2016-03-24 Thread Marc-André Lureau
Add a new GL status field to check if the GL context is ready. This helps debugging races where GL is called before the context is ready. Signed-off-by: Marc-André Lureau Acked-by: Pavel Grunt --- src/spice-widget-egl.c | 10 -- src/spice-widget-priv.h | 1 + src/spice-widget.c |

[Spice-devel] [PATCH v3 7/9] widget: update d->ready based on scanout image available

2016-03-24 Thread Marc-André Lureau
d->ready is updated based on monitor area & canvas. In case of GL rendering, update it based on monitor area & scanout and add check before drawing update. Signed-off-by: Marc-André Lureau Acked-by: Pavel Grunt --- src/spice-widget-egl.c | 6 ++ src/spice-widget.c | 6 +- 2 files ch

[Spice-devel] [PATCH v3 0/9] Various GL fixes

2016-03-24 Thread Marc-André Lureau
The following series fixes GL-only display (when there is no 2d primary canvas at all). A few cleanups also fix Wayland display. v2->v3: - use != NULL in condition - improve commit messages, add acked tags - add some code comments - reorder last 2 patches v1->v2: - fix mingw build - add a patch t

[Spice-devel] [PATCH v3 1/9] widget: remove superflous WIN32 check

2016-03-24 Thread Marc-André Lureau
The egl call is already inside a X11 conditional block. Signed-off-by: Marc-André Lureau Acked-by: Pavel Grunt --- src/spice-widget.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/spice-widget.c b/src/spice-widget.c index 08040d3..2a64443 100644 --- a/src/spice-widget.c +++ b/src/spi

Re: [Spice-devel] [PATCH] channel-main: fix leak on volume-sync

2016-03-24 Thread Victor Toso
Hi, On Wed, Mar 23, 2016 at 03:47:37PM +0100, Christophe Fergeau wrote: > Acked-by: Christophe Fergeau > Thanks, pushed. > On Wed, Mar 23, 2016 at 03:42:30PM +0100, Victor Toso wrote: > > 7 bytes in 1 blocks are definitely lost in loss record 128 of 10,009 > >at 0x4C2A988: calloc (vg_replac

Re: [Spice-devel] [PATCH spice-gtk v2 9/8] main: don't update display timer for unchanged config

2016-03-24 Thread Marc-André Lureau
Hi Jonathon On Wed, Mar 23, 2016 at 8:58 PM, Jonathon Jongsma wrote: >> It also solves/avoids problems with a guest running on wayland when the >> "resize-guest" property is TRUE. >> See bug https://bugzilla.redhat.com/show_bug.cgi?id=1266484 ; >> It avoids destroying the primary surface when the

Re: [Spice-devel] [PATCH spice-gtk v2 4/8] display: return NULL in spice_display_get_gl_scanout()

2016-03-24 Thread Pavel Grunt
On Thu, 2016-03-24 at 11:59 +0100, Marc-André Lureau wrote: > On Thu, Mar 24, 2016 at 12:39 AM, Marc-André Lureau om> wrote: > > > > > > > > When / how it can happen ? Looking at gl_scanout() there is > > > g_return if > > > scanout == NULL, if NULL is a valid/expected return value then > > > th

Re: [Spice-devel] [PATCH spice-gtk v2 4/8] display: return NULL in spice_display_get_gl_scanout()

2016-03-24 Thread Marc-André Lureau
On Thu, Mar 24, 2016 at 12:39 AM, Marc-André Lureau wrote: >> When / how it can happen ? Looking at gl_scanout() there is g_return if >> scanout == NULL, if NULL is a valid/expected return value then that >> g_return should be changed. > > Good point. AI think I wrote this initially thinking that

Re: [Spice-devel] [phodav PATCH 0/7 v3] phodav automounting patch

2016-03-24 Thread Victor Toso
Hi, On Thu, Mar 24, 2016 at 10:57:49AM +0100, Victor Toso wrote: > Hi, > > On Thu, Mar 17, 2016 at 02:47:44PM +0100, Lukas Venhoda wrote: > > This is hopefully the final automounting patch series. > > > > Includes small bug fixes, that I found when working on windows shared > > folder auto mounti

Re: [Spice-devel] [phodav PATCH 0/7 v3] phodav automounting patch

2016-03-24 Thread Victor Toso
Hi, On Thu, Mar 17, 2016 at 02:47:44PM +0100, Lukas Venhoda wrote: > This is hopefully the final automounting patch series. > > Includes small bug fixes, that I found when working on windows shared folder > auto mounting > Theese were already ACKed, but weren't pushed yet. Yep. I'll be pushing t

Re: [Spice-devel] [phodav PATCH 6/7 v3] spice-webdavd-windows: Check for mapped shared folder

2016-03-24 Thread Victor Toso
Hi, On Thu, Mar 17, 2016 at 02:47:50PM +0100, Lukas Venhoda wrote: > Check whether Spice Folder is already mapped. > If yes, don't try to map another one. I have found some issue with this. If I disconnect a session that was sharing the folder (~/public) and connect again and start sharing (~/dow

Re: [Spice-devel] [phodav PATCH 7/7 v3] spice-webdavd-windows: Dismount shared folder on service stop

2016-03-24 Thread Victor Toso
Hi, On Thu, Mar 17, 2016 at 02:47:51PM +0100, Lukas Venhoda wrote: > When stopping the service, automatically disconnect shared folder on > windows. Not dismounting could lead to multiple shared folders. But when user disconnect, the service is not stopped, correct? I think we need some integrati

[Spice-devel] [PATCH 5/5] make some functions static

2016-03-24 Thread Frediano Ziglio
No need to have callback registered internally no static Signed-off-by: Frediano Ziglio --- server/smartcard.c | 4 ++-- server/spicevmc.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/server/smartcard.c b/server/smartcard.c index c63fea3..e933c38 100644 --- a/server/

[Spice-devel] [PATCH 2/5] removed unused red_qxl_set_mm_time

2016-03-24 Thread Frediano Ziglio
This helper call a deprecated callback. Signed-off-by: Frediano Ziglio --- server/red-qxl.c | 6 -- server/red-qxl.h | 1 - 2 files changed, 7 deletions(-) diff --git a/server/red-qxl.c b/server/red-qxl.c index fbce510..c8e1378 100644 --- a/server/red-qxl.c +++ b/server/red-qxl.c @@ -657,12

[Spice-devel] [PATCH 0/5] Unused/static updates

2016-03-24 Thread Frediano Ziglio
This set of patches remove some unused functions and make static some functions not required to be global. Frediano Ziglio (5): remove unused reds_set_mm_time removed unused red_qxl_set_mm_time removed unused tree debugging function do not compile dump_bitmap if not necessary make some f

[Spice-devel] [PATCH 1/5] remove unused reds_set_mm_time

2016-03-24 Thread Frediano Ziglio
Signed-off-by: Frediano Ziglio --- server/reds.c | 10 -- server/reds.h | 1 - 2 files changed, 11 deletions(-) diff --git a/server/reds.c b/server/reds.c index 38a369c..eb24303 100644 --- a/server/reds.c +++ b/server/reds.c @@ -4151,16 +4151,6 @@ void reds_client_monitors_config(RedsSt

[Spice-devel] [PATCH 4/5] do not compile dump_bitmap if not necessary

2016-03-24 Thread Frediano Ziglio
This function is used only for debugging Signed-off-by: Frediano Ziglio --- server/spice-bitmap-utils.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/spice-bitmap-utils.c b/server/spice-bitmap-utils.c index d13d757..a423ad9 100644 --- a/server/spice-bitmap-utils.c +++ b/server/spi

[Spice-devel] [PATCH 3/5] removed unused tree debugging function

2016-03-24 Thread Frediano Ziglio
Support for this debugging was removed time ago. Signed-off-by: Frediano Ziglio --- server/tree.c | 161 -- server/tree.h | 1 - 2 files changed, 162 deletions(-) diff --git a/server/tree.c b/server/tree.c index 9e5a281..3866616 100644 -