On Mon, 2016-03-21 at 04:02 +0100, Fabiano Fidêncio wrote:
> g_task_return_error() has been completing the task immediately, not
> cleaning up/setting up the device state to STATE_DISCONNECTED. It's
> been
> causing a double free when trying to redirect a device without having
> the ACL permissions
Hi,
I still cannot build:
make[4]: Entering directory '/root/src/spice-gtk/src'
CCLD libspice-client-glib-2.0.la
CC spice-widget.lo
In file included from spice-widget.c:40:0:
spice-widget-priv.h:27:23: fatal error: epoxy/egl.h: No such file or directory
#include
I'd go with these patches in order to replace patch 05/15. An alternative for
2/3
is to pass the RedsState to agent_msg_filter_init().
Christophe
___
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listi
This makes it easier to move the VDIPort API to a different file, and
make it as self-contained as possible.
---
server/reds.c | 24 +---
1 file changed, 17 insertions(+), 7 deletions(-)
diff --git a/server/reds.c b/server/reds.c
index 82e6da4..4afff1a 100644
--- a/server/reds
AgentMsgFilter needs to know whether monitors config messages need to be
filtered or not. This used to be done from within
agent_msg_filter_config() using the global RedsState, but this got more
tricky as it was removed.
A first attempt a1e62fa5ae9 caused crashes on qemu startup with
"qemu-system-x
Document how to use virgl with QEMU/libvirt
virt-manager documentation still needs to be added.
---
docs/manual/manual.txt | 55 ++
1 file changed, 55 insertions(+)
diff --git a/docs/manual/manual.txt b/docs/manual/manual.txt
index 2c0035a..a89a702
Passing Reds into agent-msg-filter.[ch] isn't the right thing to do from
a layering point of view.
This reverts commit a1e62fa5ae983b7b69cb437b2635ce84b2471383.
---
server/agent-msg-filter.c | 5 +++--
server/agent-msg-filter.h | 3 ++-
server/reds.c | 18 --
spice-c
On Mon, Mar 21, 2016 at 09:21:01AM +0200, Dmitry Fleytman wrote:
> Hi,
>
> I still cannot build:
>
>
> make[4]: Entering directory '/root/src/spice-gtk/src'
> CCLD libspice-client-glib-2.0.la
> CC spice-widget.lo
> In file included from spice-widget.c:40:0:
> spice-widget-priv.
On Mon, Mar 21, 2016 at 8:21 AM, Dmitry Fleytman wrote:
> Hi,
>
> I still cannot build:
>
>
> make[4]: Entering directory '/root/src/spice-gtk/src'
> CCLD libspice-client-glib-2.0.la
> CC spice-widget.lo
> In file included from spice-widget.c:40:0:
> spice-widget-priv.h:27:23: f
On Fr, 2016-03-18 at 14:45 +0100, Marc-André Lureau wrote:
> Hi
>
> On Fri, Mar 18, 2016 at 2:17 PM, Gerd Hoffmann wrote:
> > Ping Marc? Any comment on this?
>
>
> Could you send a rebased series, for the patches that lead to the
> issue?
Update pushed to https://www.kraxel.org/cgit/qemu/log/
>
> This makes it easier to move the VDIPort API to a different file, and
> make it as self-contained as possible.
Acked the entire serie
Frediano
> ---
> server/reds.c | 24 +---
> 1 file changed, 17 insertions(+), 7 deletions(-)
>
> diff --git a/server/reds.c b/server/r
>
> Passing Reds into agent-msg-filter.[ch] isn't the right thing to do from
> a layering point of view.
>
> This reverts commit a1e62fa5ae983b7b69cb437b2635ce84b2471383.
> ---
> server/agent-msg-filter.c | 5 +++--
> server/agent-msg-filter.h | 3 ++-
> server/reds.c | 18
On Mon, Mar 21, 2016 at 06:47:19AM -0400, Frediano Ziglio wrote:
> >
> > Passing Reds into agent-msg-filter.[ch] isn't the right thing to do from
> > a layering point of view.
> >
> > This reverts commit a1e62fa5ae983b7b69cb437b2635ce84b2471383.
> > diff --git a/spice-common b/spice-common
> > in
On Sun, Mar 20, 2016 at 03:03:41PM +0200, Snir Sheriber wrote:
> To better reflect what this variable is used for and change the declare
> location such that it will be declared only if it should
Acked-by: Victor Toso
> ---
> src/channel-usbredir.c | 14 +++---
> 1 file changed, 7 inser
From: Jonathon Jongsma
Allows more explicit inheritance relationship, and numerous other
advantages.
---
server/dispatcher.c | 234 ---
server/dispatcher.h | 53 ++-
server/main-dispatcher.c | 157 +--
ser
From: Jonathon Jongsma
This should be the final piece of removing the global reds variable. We
still need a global variable to clean up during the atexit() function,
but we use a GList of servers (even though we technically don't support
multiple servers in the same process yet).
Acked-by: Fabia
From: Jonathon Jongsma
---
server/red-qxl.c | 7 +++
server/red-qxl.h | 1 +
server/reds.c| 2 ++
3 files changed, 10 insertions(+)
diff --git a/server/red-qxl.c b/server/red-qxl.c
index 8012b26..5233afd 100644
--- a/server/red-qxl.c
+++ b/server/red-qxl.c
@@ -939,6 +939,13 @@ void red_
Changes:
- merged some patches;
- revert behavior on atexit to only cleanup;
- added new patches.
Christophe Fergeau (9):
char-device: Add helpers for SpiceCharDeviceCallbacks vfuncs
char-device: Make SpiceCharDeviceState a gobject
spicevmc: Introduce RedCharDeviceSpiceVmc GObject
spicevmc
From: Christophe Fergeau
This pipe item belongs to the char device, not to the spicevmc channel.
---
server/spicevmc.c | 13 ++---
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/server/spicevmc.c b/server/spicevmc.c
index 0cf2cce..9a009b9 100644
--- a/server/spicevmc.c
+++
From: Christophe Fergeau
Nothing is using it anymore now that CharDevice classes are
gobjectified.
---
server/char-device.c | 42 --
server/char-device.h | 11 +--
2 files changed, 1 insertion(+), 52 deletions(-)
diff --git a/server/char-device.c
From: Christophe Fergeau
This inherits from RedCharDevice.
---
server/char-device.c | 3 +-
server/reds-private.h | 2 +-
server/reds.c | 527 --
3 files changed, 304 insertions(+), 228 deletions(-)
diff --git a/server/char-device.c b
From: Christophe Fergeau
Add helper functions wrapping calls to the virtual functions
defined in SpiceCharDeviceCallbacks.
---
server/char-device.c | 97 +++-
1 file changed, 81 insertions(+), 16 deletions(-)
diff --git a/server/char-device.c b/se
From: Christophe Fergeau
This structure holding virtual function pointers was kept until now as a
RedCharDevice member in order to make the GObject conversion easier.
Now that all RedCharDevice children are converted to GObject, it can be
moved into RedCharDeviceClass.
---
server/char-device.c |
From: Christophe Fergeau
---
server/spicevmc.c | 102 ++
1 file changed, 88 insertions(+), 14 deletions(-)
diff --git a/server/spicevmc.c b/server/spicevmc.c
index f745fdb..0cf2cce 100644
--- a/server/spicevmc.c
+++ b/server/spicevmc.c
@@ -61,
From: Christophe Fergeau
---
server/char-device.c | 586 +--
server/char-device.h | 38 +++-
2 files changed, 422 insertions(+), 202 deletions(-)
diff --git a/server/char-device.c b/server/char-device.c
index d2f1ea3..a74626a 100644
--- a/server/
From: Christophe Fergeau
This inherits from RedCharDevice. Once all char device states are
converted, we can turn the associated vfuncs into RedCharDeviceClass
vfuncs.
---
server/smartcard.c | 221 +
server/smartcard.h | 30 +++-
2 files c
From: Christophe Fergeau
VDIPortState and VDIReadBuf don't really need to be defined in a header
file as they are only used in reds.c
---
server/reds-private.h | 56 +
server/reds.c | 167 +-
2 files changed, 113 insertions
On Mon, Mar 21, 2016 at 8:05 AM, Pavel Grunt wrote:
> On Mon, 2016-03-21 at 04:02 +0100, Fabiano Fidêncio wrote:
>> g_task_return_error() has been completing the task immediately, not
>> cleaning up/setting up the device state to STATE_DISCONNECTED. It's
>> been
>> causing a double free when tryin
This patch allows remote-viewer to redirect output/error streams to
files.
Also if launched from a console program (for instance from the command
prompt) you are able to see output from the console where you launch
the program.
This allow to launch the program with a syntax like
> remote-viewer.e
If cancellable is NULL or handler_id is 0 the function does nothing.
---
src/spice-pulse.c | 4 +---
src/vmcstream.c | 15 +++
2 files changed, 4 insertions(+), 15 deletions(-)
diff --git a/src/spice-pulse.c b/src/spice-pulse.c
index 8d45dbe..6bc3014 100644
--- a/src/spice-pulse.c
---
src/usb-device-manager.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/usb-device-manager.c b/src/usb-device-manager.c
index 417c5b2..85231a1 100644
--- a/src/usb-device-manager.c
+++ b/src/usb-device-manager.c
@@ -1568,8 +1568,6 @@ gboolean spice_usb_device_manager_connect_device_f
>
> From: Jonathon Jongsma
>
> Allows more explicit inheritance relationship, and numerous other
> advantages.
After discussions and changes I would ack but as I did the last changes
I cannot ack these.
Frediano
> ---
> server/dispatcher.c | 234
> --
From: Jonathon Jongsma
This should be the final piece of removing the global reds variable. We
still need a global variable to clean up during the atexit() function,
but we use a GList of servers (even though we technically don't support
multiple servers in the same process yet).
Acked-by: Fabia
>
> From: Jonathon Jongsma
>
> ---
> server/red-qxl.c | 7 +++
> server/red-qxl.h | 1 +
> server/reds.c| 2 ++
> 3 files changed, 10 insertions(+)
>
> diff --git a/server/red-qxl.c b/server/red-qxl.c
> index 8012b26..5233afd 100644
> --- a/server/red-qxl.c
> +++ b/server/red-qxl.c
> @
From: Christophe Fergeau
Add helper functions wrapping calls to the virtual functions
defined in SpiceCharDeviceCallbacks.
---
server/char-device.c | 78 +---
1 file changed, 62 insertions(+), 16 deletions(-)
Changes:
- removed excessive checks (p
Thanks!
Acked-by: Pavel Grunt
On Fri, 2016-03-18 at 17:12 +0100, Christophe Fergeau wrote:
> Document how to use virgl with QEMU/libvirt
>
> virt-manager documentation still needs to be added.
> ---
> docs/manual/manual.txt | 55
> ++
> 1 file ch
epoxy/egl.h header is not provided by mingw-epoxy package.
Let's avoid egl usage when building using mingw then.
Signed-off-by: Fabiano Fidêncio
---
configure.ac| 1 -
src/Makefile.am | 2 ++
src/spice-widget-priv.h | 4
src/spice-widget.c | 27 ++
Hi
- Original Message -
> epoxy/egl.h header is not provided by mingw-epoxy package.
> Let's avoid egl usage when building using mingw then.
>
> Signed-off-by: Fabiano Fidêncio
> ---
> configure.ac| 1 -
> src/Makefile.am | 2 ++
> src/spice-widget-priv.h | 4
On Mon, Mar 21, 2016 at 3:04 PM, Marc-André Lureau wrote:
> Hi
>
> - Original Message -
>> epoxy/egl.h header is not provided by mingw-epoxy package.
>> Let's avoid egl usage when building using mingw then.
>>
>> Signed-off-by: Fabiano Fidêncio
>> ---
>> configure.ac| 1 -
>>
On Mon, Mar 21, 2016 at 02:57:18PM +0100, Pavel Grunt wrote:
> Thanks!
>
> Acked-by: Pavel Grunt
>
> On Fri, 2016-03-18 at 17:12 +0100, Christophe Fergeau wrote:
> > +GL acceleration (virgl)
> > +===
> > +
> > +OpenGL acceleration is currently local only (it has to go through
Hi,
On Mon, Mar 21, 2016 at 01:51:08PM +0100, Pavel Grunt wrote:
> ---
> src/usb-device-manager.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/src/usb-device-manager.c b/src/usb-device-manager.c
> index 417c5b2..85231a1 100644
> --- a/src/usb-device-manager.c
> +++ b/src/usb-device-m
Don't try to get the cancellable from a task that is, for sure (ensured
by us), NULL. See the backtrace:
#0 0x729cf250 in g_task_get_cancellable () at /lib64/libgio-2.0.so.0
#1 0x778a9012 in spice_vmc_input_stream_read_all_async
(stream=, buffer=0x7070f8, count=8, io_priority=
epoxy/egl.h header is not provided by mingw-epoxy package.
Let's avoid egl usage when building using mingw then.
Signed-off-by: Fabiano Fidêncio
---
configure.ac| 1 -
src/Makefile.am | 5 +
src/spice-widget-priv.h | 4
src/spice-widget.c | 27 +++
On Mon, Mar 21, 2016 at 10:58 AM, Fabiano Fidêncio wrote:
> On Mon, Mar 21, 2016 at 8:21 AM, Dmitry Fleytman wrote:
>> Hi,
>>
>> I still cannot build:
>>
>>
>> make[4]: Entering directory '/root/src/spice-gtk/src'
>> CCLD libspice-client-glib-2.0.la
>> CC spice-widget.lo
>> In
On Mon, Mar 21, 2016 at 4:03 PM, Marc-André Lureau wrote:
>
>
> - Original Message -
>> On Mon, Mar 21, 2016 at 3:04 PM, Marc-André Lureau
>> wrote:
>> > Hi
>> >
>> > - Original Message -
>> >> epoxy/egl.h header is not provided by mingw-epoxy package.
>> >> Let's avoid egl usage
Hi
On Mon, Mar 21, 2016 at 11:24 AM, Gerd Hoffmann wrote:
> On Fr, 2016-03-18 at 14:45 +0100, Marc-André Lureau wrote:
>> Hi
>>
>> On Fri, Mar 18, 2016 at 2:17 PM, Gerd Hoffmann wrote:
>> > Ping Marc? Any comment on this?
>>
>>
>> Could you send a rebased series, for the patches that lead to th
- Original Message -
> On Mon, Mar 21, 2016 at 3:04 PM, Marc-André Lureau
> wrote:
> > Hi
> >
> > - Original Message -
> >> epoxy/egl.h header is not provided by mingw-epoxy package.
> >> Let's avoid egl usage when building using mingw then.
> >>
> >> Signed-off-by: Fabiano Fidên
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
---
src/spice-widget-egl.c | 7 ++-
src/spice-widget-priv.h | 1 +
src/spice-widget.c | 5 +
3 files changed, 1
Just for coherence I would change the case from gobject to GObject
>
> From: Christophe Fergeau
>
> ---
> server/char-device.c | 586
> +--
> server/char-device.h | 38 +++-
> 2 files changed, 422 insertions(+), 202 deletions(-)
>
> diff --git
On Mon, 7 Mar 2016, Christophe Fergeau wrote:
> Hey,
>
> One more issue I have with this series is that I reliably manage to
> get a hung spice-server with gstreamer:mjpeg and gstreamer:h264
> I test it with you tube, and then hovering over the video seek bar so
> that lots of thumbnails are show
Hi,
> diff --git a/src/spice-widget-egl.c b/src/spice-widget-egl.c
> index 1b3cd07..a9bea52 100644
> --- a/src/spice-widget-egl.c
> +++ b/src/spice-widget-egl.c
> @@ -29,7 +29,9 @@
> #include
>
> #include
> +#if GTK_CHECK_VERSION(3,16,0)
> #include
> +#endif
This breaks builds on Debian,
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
---
src/spice-widget-egl.c | 4 +++-
src/spice-widget.c | 3 ++-
2 files changed, 5 insertions(+), 2 de
The following changes will call these functions from spice-widget-egl.c
Signed-off-by: Marc-André Lureau
---
src/spice-widget-priv.h | 3 +++
src/spice-widget.c | 17 +++--
2 files changed, 14 insertions(+), 6 deletions(-)
diff --git a/src/spice-widget-priv.h b/src/spice-widge
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 | 5 +
1 file changed, 5 insertions(+)
diff
If there is no valid scanout, return NULL.
Signed-off-by: Marc-André Lureau
---
src/channel-display.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/channel-display.c b/src/channel-display.c
index 2c54df7..90d155e 100644
--- a/src/channel-display.c
+++ b/src/channel-
We want the cursor to be initialized even if there is no canvas,
especially when using a GL scanout. This solves some client warnings
when using qemu with GL scanout-only (patches under review on qemu ML).
Signed-off-by: Marc-André Lureau
---
server/display-channel.c | 7 ---
server/display-
The egl call is already inside a X11 conditional block.
Signed-off-by: Marc-André Lureau
---
src/spice-widget.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/spice-widget.c b/src/spice-widget.c
index e329809..c8bb72c 100644
--- a/src/spice-widget.c
+++ b/src/spice-widget.c
@@ -580,13
If egl display is enabled, use GL scanout geometry to check intersection
with the monitor area. This solves displaying GL display without
software canvas.
Signed-off-by: Marc-André Lureau
---
src/spice-widget.c | 35 ++-
1 file changed, 22 insertions(+), 13 deleti
This lets the client free the audio resources when an audio application
is not actually playing anything, typically because playback is paused.
This matches QEMU's behavior.
As a side benefit it stops the client's mm-time from being stuck (due
to the audio backend's delay updates being applied to t
On Mon, Mar 21, 2016 at 7:14 PM, Marc-André Lureau
wrote:
> 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
> ---
> src/spice-widget-egl.c | 4 +++-
On Thu, 3 Mar 2016, Christophe Fergeau wrote:
[...]
> Making the refcounting thread safe is one thing, but then the code
> freeing the drawable needs to be thread-safe too. red_put_drawable might
> be fine (only looked briefly), but release_resource which is a vfunc
> provided by QEMU seems much le
61 matches
Mail list logo