Re: [Spice-devel] [PATCH spice-common] meson: fix building for big-endian host

2019-01-16 Thread Victor Toso
Hi, On Thu, Jan 17, 2019 at 03:04:32AM +0400, marcandre.lur...@redhat.com wrote: > From: Marc-André Lureau > > autofoo build-sys defines WORDS_BIGENDIAN, and spice-common code uses it. > > Later, I think it would make sense to switch to G_BIG_ENDIAN instead. Indeed, > Fixes: >

Re: [Spice-devel] [PATCH spice-gtk v2] spicy-screenshot: use G_BIG_ENDIAN

2019-01-16 Thread Victor Toso
Hi, On Thu, Jan 17, 2019 at 03:08:43AM +0400, marcandre.lur...@redhat.com wrote: > From: Marc-André Lureau > > WORDS_BIGENDIAN is defined by autofoo macro. > meson doesn't define it. Let's use the GLib defines instead. We will probably need to fix spice-common too. > Signed-off-by: Marc-André

Re: [Spice-devel] issues linking with openssl 1.1.0

2019-01-16 Thread Marc-André Lureau
Hey Iordan On Thu, Jan 17, 2019 at 3:45 AM i iordanov wrote: > > Hello, > > Happy new year! > > I tried to build spice-gtk 0.34 and 0.35 with OpenSSL 1.1.0, and I got some > linking errors: > >

[Spice-devel] issues linking with openssl 1.1.0

2019-01-16 Thread i iordanov
Hello, Happy new year! I tried to build spice-gtk 0.34 and 0.35 with OpenSSL 1.1.0, and I got some linking errors: jni/src/../libs/deps/x86/root/lib/libspice-client-glib-2.0.a(spice-channel.o):spice-channel.c:function spice_channel_class_intern_init: error: undefined reference to

[Spice-devel] [PATCH spice-common] quic: fix sign-compare warning

2019-01-16 Thread marcandre . lureau
From: Marc-André Lureau ../subprojects/spice-common/common/quic.c: In function 'fill_model_structures': ../subprojects/spice-common/common/quic.c:695:55: error: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Werror=sign-compare]

[Spice-devel] [PATCH spice-gtk v2] spicy-screenshot: use G_BIG_ENDIAN

2019-01-16 Thread marcandre . lureau
From: Marc-André Lureau WORDS_BIGENDIAN is defined by autofoo macro. meson doesn't define it. Let's use the GLib defines instead. Signed-off-by: Marc-André Lureau --- tools/spicy-screenshot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/spicy-screenshot.c

Re: [Spice-devel] [PATCH spice-gtk] spicy-screenshot: use G_BIG_ENDIAN

2019-01-16 Thread Marc-André Lureau
On Thu, Jan 17, 2019 at 3:04 AM wrote: > > From: Marc-André Lureau > > WORDS_BIGENDIAN is defined by autofoo macro. > meson doesn't define it. Let's use the GLib define instead. > > Signed-off-by: Marc-André Lureau > --- > tools/spicy-screenshot.c | 2 +- > 1 file changed, 1 insertion(+), 1

[Spice-devel] [PATCH spice-common] meson: fix building for big-endian host

2019-01-16 Thread marcandre . lureau
From: Marc-André Lureau autofoo build-sys defines WORDS_BIGENDIAN, and spice-common code uses it. Later, I think it would make sense to switch to G_BIG_ENDIAN instead. Fixes: https://gitlab.freedesktop.org/spice/spice-common/issues/2 Signed-off-by: Marc-André Lureau --- meson.build | 3 +++

[Spice-devel] [PATCH spice-gtk] spicy-screenshot: use G_BIG_ENDIAN

2019-01-16 Thread marcandre . lureau
From: Marc-André Lureau WORDS_BIGENDIAN is defined by autofoo macro. meson doesn't define it. Let's use the GLib define instead. Signed-off-by: Marc-André Lureau --- tools/spicy-screenshot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/spicy-screenshot.c

Re: [Spice-devel] [spice-gtk v2] gtk-session: clipboard request: notify agent on failure

2019-01-16 Thread james harvey
On Wed, Jan 16, 2019 at 6:08 AM Marc-André Lureau wrote: > On Wed, Jan 16, 2019 at 2:47 PM james harvey wrote: > > Am I understanding correctly that the Jan 10 patches which completely > > fix spice for me and others experiencing clipboard problems aren't > > being added in any form, and that

Re: [Spice-devel] [PATCH] drm: Split out drm_probe_helper.h

2019-01-16 Thread Sam Ravnborg
Hi Daniel. > v5: Actually try to sort them, and while at it, sort all the ones I > touch. Applied this variant on top of drm-misc and did a build test. Looked good for ia64, x86 and alpha. Took a closer look at the changes to atmel_hlcd - and they looked OK. But I noticed that atmel_hlcdc uses

Re: [Spice-devel] [spice-gtk v2 1/1] usb-redirection: implementation of usb backend layer

2019-01-16 Thread Christophe Fergeau
On Mon, Jan 07, 2019 at 03:50:12PM +0200, Yuri Benditovich wrote: > On Mon, Nov 26, 2018 at 7:41 PM Christophe Fergeau > wrote: > > In _SpiceUsbDeviceManagerPrivate, you replaced > > #ifndef G_OS_WIN32 > > libusb_device *libdev; > > #endif > > > > with > > > > #ifndef G_OS_WIN32 > >

[Spice-devel] Virgl remote support

2019-01-16 Thread Francois Gouget
Hi, I'm picking up the Virgl remote support patchset with the goal of adapting it for use with Xspice. If I'm not mistaken the latest version of this patchset is in the virgl-spice branches of the following repositories:

Re: [Spice-devel] [PATCH 1/3] drm/qxl: add mode/framebuffer check functions

2019-01-16 Thread Daniel Vetter
On Wed, Jan 16, 2019 at 12:28:00PM +0100, Gerd Hoffmann wrote: > > > +static int qxl_check_mode(struct qxl_device *qdev, > > > + unsigned int width, > > > + unsigned int height) > > > +{ > > > + if (width * height * 4 > qdev->vram_size) > > > > Is someone

[Spice-devel] [PATCH spice-streaming-agent 6/8 v3] Interface + implementation of getting device display info

2019-01-16 Thread Lukáš Hrázký
Adds an interface method to the FrameCapture class to get the device display info (device address and device display id) for each display of the graphics device that is captured. Also adds functions to the API implementing this functionality for X11 in variants with and without DRM (the non-DRM

[Spice-devel] [PATCH spice 4/8 v3] Receive the GraphicsDeviceInfo message from the streaming agent

2019-01-16 Thread Lukáš Hrázký
Receives the GraphicsDeviceInfo message from the streaming agent and stores the data in a list on the streaming device. Signed-off-by: Lukáš Hrázký --- server/display-limits.h| 3 ++ server/red-qxl.c | 2 +- server/red-stream-device.c | 78 +-

[Spice-devel] [PATCH spice 5/8 v3] Send the graphics device info from streaming agent to the vd_agent

2019-01-16 Thread Lukáš Hrázký
Adds the graphics device info from the streaming device(s) to the VDAgentGraphicsDeviceInfo message sent to the vd_agent. Signed-off-by: Lukáš Hrázký --- server/red-stream-device.c | 18 +++ server/red-stream-device.h | 7 + server/reds.c | 63

[Spice-devel] [PATCH spice-protocol 2/8 v3] Add the StreamMsgGraphicsDeviceInfo message

2019-01-16 Thread Lukáš Hrázký
The message contains information about the graphics device and monitor belonging to a particular video stream (which maps to a channel) from the streaming agent. Signed-off-by: Lukáš Hrázký Acked-by: Frediano Ziglio --- spice/stream-device.h | 31 +++ 1 file

[Spice-devel] [PATCH vd_agent 8/8 v3] Receive the graphics_device_info message

2019-01-16 Thread Lukáš Hrázký
The graphics_device_info message contains the device display ID information (device address and device display ID). Stores the data in a hash table in vdagent. Signed-off-by: Lukáš Hrázký --- src/vdagent/vdagent.c| 3 ++ src/vdagent/x11-priv.h | 1 + src/vdagent/x11-randr.c

[Spice-devel] [PATCH spice-streaming-agent 7/8 v3] Send the GraphicsDeviceInfo to the server

2019-01-16 Thread Lukáš Hrázký
Adds serialization of the GraphicsDeviceInfo message and sends it to the server when it starts to stream. Signed-off-by: Lukáš Hrázký --- src/spice-streaming-agent.cpp | 54 +-- 1 file changed, 45 insertions(+), 9 deletions(-) diff --git

[Spice-devel] [PATCH spice-protocol 1/8 v3] Add the VDAgentGraphicsDeviceInfo message

2019-01-16 Thread Lukáš Hrázký
The message serves for passing the device address and device display ID information for all display channels from SPICE server to the vd_agent. Signed-off-by: Lukáš Hrázký Acked-by: Frediano Ziglio --- spice/vd_agent.h | 23 +++ 1 file changed, 23 insertions(+) diff --git

Re: [Spice-devel] [PATCH spice-gtk v2] NEWS: prepare v0.36 release

2019-01-16 Thread Frediano Ziglio
> > Hi, > > On 1/16/19 12:35 PM, marcandre.lur...@redhat.com wrote: > > From: Marc-André Lureau > > > > Signed-off-by: Marc-André Lureau > > --- > > NEWS | 25 + > > 1 file changed, 25 insertions(+) > > > > diff --git a/NEWS b/NEWS > > index 3f54f77..1693621 100644 >

[Spice-devel] [PATCH spice-gtk] meson: improve gtk-doc build

2019-01-16 Thread marcandre . lureau
From: Marc-André Lureau - Fix the following warnings: ./spice-gtk-sections.txt:467: warning: No declaration found for SPICE_GTK_CHECK_VERSION. ./spice-gtk-sections.txt:468: warning: No declaration found for SPICE_GTK_MAJOR_VERSION. ./spice-gtk-sections.txt:469: warning: No declaration found

Re: [Spice-devel] [PATCH spice-gtk v2] NEWS: prepare v0.36 release

2019-01-16 Thread Snir Sheriber
Hi, On 1/16/19 12:35 PM, marcandre.lur...@redhat.com wrote: From: Marc-André Lureau Signed-off-by: Marc-André Lureau --- NEWS | 25 + 1 file changed, 25 insertions(+) diff --git a/NEWS b/NEWS index 3f54f77..1693621 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,28 @@

Re: [Spice-devel] [PATCH spice 4/8 v2] Receive the GraphicsDeviceInfo message from the streaming agent

2019-01-16 Thread Lukáš Hrázký
On Tue, 2019-01-15 at 08:31 -0500, Frediano Ziglio wrote: > > > > Receives the GraphicsDeviceInfo message from the streaming agent and > > stores the data in a list on the streaming device. > > > > Signed-off-by: Lukáš Hrázký > > --- > > server/display-limits.h| 3 ++ > > server/red-qxl.c

Re: [Spice-devel] [PATCH spice-gtk v3] gst: check pulsesrc version >= 1.14.5

2019-01-16 Thread Frediano Ziglio
> > Hi > > On Wed, Jan 16, 2019 at 3:38 PM Frediano Ziglio wrote: > > > > > > > > Hi > > > > > > On Wed, Jan 16, 2019 at 3:14 PM Frediano Ziglio > > > wrote: > > > > > > > > > > > > > > Hi, > > > > > > > > > > On Wed, Jan 16, 2019 at 12:43:06PM +0400, Marc-André Lureau wrote: > > > > > > Hi >

Re: [Spice-devel] [PATCH spice-gtk v3] gst: check pulsesrc version >= 1.14.5

2019-01-16 Thread Marc-André Lureau
Hi On Wed, Jan 16, 2019 at 3:38 PM Frediano Ziglio wrote: > > > > > Hi > > > > On Wed, Jan 16, 2019 at 3:14 PM Frediano Ziglio wrote: > > > > > > > > > > > Hi, > > > > > > > > On Wed, Jan 16, 2019 at 12:43:06PM +0400, Marc-André Lureau wrote: > > > > > Hi > > > > > > > > > > > > > > > On Fri,

[Spice-devel] [PATCH vd_agent_linux] test-file-xfers: Make test succeed if run as root

2019-01-16 Thread Frediano Ziglio
If test is run with root (for instance on Gitlab CI) creating a file on a directory with no permission will succeed and test will fail. Instead create a link trying to create a file in /proc/1 directory (which fails also using root account). Signed-off-by: Frediano Ziglio ---

Re: [Spice-devel] [PATCH spice-gtk v3] gst: check pulsesrc version >= 1.14.5

2019-01-16 Thread Frediano Ziglio
> > Hi > > On Wed, Jan 16, 2019 at 3:14 PM Frediano Ziglio wrote: > > > > > > > > Hi, > > > > > > On Wed, Jan 16, 2019 at 12:43:06PM +0400, Marc-André Lureau wrote: > > > > Hi > > > > > > > > > > > > On Fri, Jan 11, 2019 at 3:03 PM wrote: > > > > > > > > > > From: Marc-André Lureau > > > > >

Re: [Spice-devel] [PATCH spice-gtk v3] gst: check pulsesrc version >= 1.14.5

2019-01-16 Thread Marc-André Lureau
Hi On Wed, Jan 16, 2019 at 3:14 PM Frediano Ziglio wrote: > > > > > Hi, > > > > On Wed, Jan 16, 2019 at 12:43:06PM +0400, Marc-André Lureau wrote: > > > Hi > > > > > > > > > On Fri, Jan 11, 2019 at 3:03 PM wrote: > > > > > > > > From: Marc-André Lureau > > > > > > > > There is a racy bug in

Re: [Spice-devel] [PATCH 1/3] drm/qxl: add mode/framebuffer check functions

2019-01-16 Thread Gerd Hoffmann
> > +static int qxl_check_mode(struct qxl_device *qdev, > > + unsigned int width, > > + unsigned int height) > > +{ > > + if (width * height * 4 > qdev->vram_size) > > Is someone checking for integer overflows already? Need to have a look. This is just

Re: [Spice-devel] [PATCH spice-gtk v3] gst: check pulsesrc version >= 1.14.5

2019-01-16 Thread Frediano Ziglio
> > Hi, > > On Wed, Jan 16, 2019 at 12:43:06PM +0400, Marc-André Lureau wrote: > > Hi > > > > > > On Fri, Jan 11, 2019 at 3:03 PM wrote: > > > > > > From: Marc-André Lureau > > > > > > There is a racy bug in pulsesrc that we can't easily workaround: > > >

Re: [Spice-devel] [spice-gtk v2] gtk-session: clipboard request: notify agent on failure

2019-01-16 Thread Marc-André Lureau
Hi On Wed, Jan 16, 2019 at 2:47 PM james harvey wrote: > > On Wed, Jan 16, 2019 at 4:10 AM Victor Toso wrote: > > > > From: Victor Toso > > > > Similar to 172c521271a3d - if we don't, the agent might be waiting for > > data till some timeout happens in the system, blocking copy-paste > >

Re: [Spice-devel] [spice-gtk v1 2/2] gtk-session: clipboard request: notify agent on failure

2019-01-16 Thread Victor Toso
Hi, On Wed, Jan 16, 2019 at 02:33:49PM +0400, Marc-André Lureau wrote: > Hi > > On Wed, Jan 16, 2019 at 1:18 PM Victor Toso wrote: > > > > Hi, > > > > On Wed, Jan 16, 2019 at 01:07:27PM +0400, Marc-André Lureau wrote: > > > > Not true. Possible client-side bug, reproducible on X11, as I > > > >

Re: [Spice-devel] [spice-gtk v2] gtk-session: clipboard request: notify agent on failure

2019-01-16 Thread Victor Toso
Hi, On Wed, Jan 16, 2019 at 05:46:58AM -0500, james harvey wrote: > On Wed, Jan 16, 2019 at 4:10 AM Victor Toso wrote: > > > > From: Victor Toso > > > > Similar to 172c521271a3d - if we don't, the agent might be waiting for > > data till some timeout happens in the system, blocking copy-paste >

Re: [Spice-devel] [spice-gtk v1 2/2] gtk-session: clipboard request: notify agent on failure

2019-01-16 Thread Marc-André Lureau
Hi On Wed, Jan 16, 2019 at 1:18 PM Victor Toso wrote: > > Hi, > > On Wed, Jan 16, 2019 at 01:07:27PM +0400, Marc-André Lureau wrote: > > > Not true. Possible client-side bug, reproducible on X11, as I > > > discussed before. As mentioned in the comment, we are sending > > > wrong selection-grab

Re: [Spice-devel] [spice-gtk [rfc] 0/2] Clipboard managers and Spice

2019-01-16 Thread Marc-André Lureau
Hi On Wed, Jan 16, 2019 at 10:03 AM Victor Toso wrote: > > Hi, > > On Wed, Jan 16, 2019 at 12:08:31AM +0400, Marc-André Lureau wrote: > > On Tue, Jan 15, 2019 at 8:11 PM Victor Toso wrote: > > > > > > From: Victor Toso > > > > > > Hi, > > > > > > Several iteractions trying to avoid some bug in

[Spice-devel] Too strict permission in agent (was: Factor out function to create file)

2019-01-16 Thread Frediano Ziglio
> > Make easier to test file creation > > Signed-off-by: Frediano Ziglio > --- > src/vdagent/file-xfers.c | 88 > src/vdagent/file-xfers.h | 1 + > 2 files changed, 53 insertions(+), 36 deletions(-) > > diff --git a/src/vdagent/file-xfers.c

Re: [Spice-devel] [PATCH vd_agent_linux v2 5/7] Add a test to test file creation

2019-01-16 Thread Victor Toso
Hi, On Wed, Jan 16, 2019 at 09:49:22AM +, Frediano Ziglio wrote: > Signed-off-by: Frediano Ziglio Acked-by: Victor Toso > --- > Changes since v1: > - move file to a new tests/ directory; > - add missing .gitignore changes; > - improve test to catch errors in open() other than EEXISTS. > ---

[Spice-devel] [PATCH vd_agent_linux v2 5/7] Add a test to test file creation

2019-01-16 Thread Frediano Ziglio
Signed-off-by: Frediano Ziglio --- Changes since v1: - move file to a new tests/ directory; - add missing .gitignore changes; - improve test to catch errors in open() other than EEXISTS. --- .gitignore | 17 + Makefile.am | 22

Re: [Spice-devel] [PATCH 1/3] drm/qxl: add mode/framebuffer check functions

2019-01-16 Thread Frediano Ziglio
> > Add a helper functions to check video modes. Also add a helper to check > framebuffer buffer objects, using the former for consistency. That way > we should not fail in qxl_primary_atomic_check() because video modes > which are too big will not be added to the mode list in the first place.

Re: [Spice-devel] [PATCH vd_agent_linux 1/7] file-xfers: Initialise correctly AgentFileXferTask::file_fd field

2019-01-16 Thread Victor Toso
Hi, On Wed, Jan 16, 2019 at 04:15:50AM -0500, Frediano Ziglio wrote: > > > > Hi, > > > > For some reason I miss in my inbox the 6/7 patch. Looking at, > > seems that mailman got it. > > > > > > https://lists.freedesktop.org/archives/spice-devel/2019-January/047268.html > > > > My only

Re: [Spice-devel] [spice-gtk v1 2/2] gtk-session: clipboard request: notify agent on failure

2019-01-16 Thread Victor Toso
Hi, On Wed, Jan 16, 2019 at 01:07:27PM +0400, Marc-André Lureau wrote: > > Not true. Possible client-side bug, reproducible on X11, as I > > discussed before. As mentioned in the comment, we are sending > > wrong selection-grab to the guest. > > Sorry, I don't follow "we are sending wrong

Re: [Spice-devel] [PATCH spice-gtk v3] gst: check pulsesrc version >= 1.14.5

2019-01-16 Thread Victor Toso
Hi, On Wed, Jan 16, 2019 at 12:43:06PM +0400, Marc-André Lureau wrote: > Hi > > > On Fri, Jan 11, 2019 at 3:03 PM wrote: > > > > From: Marc-André Lureau > > > > There is a racy bug in pulsesrc that we can't easily workaround: > >

[Spice-devel] [spice-gtk v2] gtk-session: clipboard request: notify agent on failure

2019-01-16 Thread Victor Toso
From: Victor Toso Similar to 172c521271a3d - if we don't, the agent might be waiting for data till some timeout happens in the system, blocking copy-paste feature and possibly freezing applications. A way to reproduce is copy-paste big clipboard data between two spice clients. Also add some

Re: [Spice-devel] [spice-gtk v1 2/2] gtk-session: clipboard request: notify agent on failure

2019-01-16 Thread Marc-André Lureau
Hi On Wed, Jan 16, 2019 at 12:56 PM Victor Toso wrote: > > Hi, > > On Wed, Jan 16, 2019 at 12:40:36PM +0400, Marc-André Lureau wrote: > > Hi > > > > On Wed, Jan 16, 2019 at 11:44 AM Victor Toso wrote: > > > > > > From: Victor Toso > > > > > > Similar to 172c521271a3d - if we don't, the agent

Re: [Spice-devel] [spice-gtk v1 2/2] gtk-session: clipboard request: notify agent on failure

2019-01-16 Thread Victor Toso
Hi, On Wed, Jan 16, 2019 at 12:40:36PM +0400, Marc-André Lureau wrote: > Hi > > On Wed, Jan 16, 2019 at 11:44 AM Victor Toso wrote: > > > > From: Victor Toso > > > > Similar to 172c521271a3d - if we don't, the agent might be waiting for > > data till some timeout happens in the system,

Re: [Spice-devel] [PATCH spice-gtk v3] gst: check pulsesrc version >= 1.14.5

2019-01-16 Thread Marc-André Lureau
Hi On Fri, Jan 11, 2019 at 3:03 PM wrote: > > From: Marc-André Lureau > > There is a racy bug in pulsesrc that we can't easily workaround: > https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/merge_requests/69 > > It is fixed with 1.15, and will be backported to upcoming 1.14.5. > >

Re: [Spice-devel] [PATCH] drm: Split out drm_probe_helper.h

2019-01-16 Thread Oleksandr Andrushchenko
On 1/15/19 2:26 PM, Neil Armstrong wrote: On 15/01/2019 11:41, Daniel Vetter wrote: Having the probe helper stuff (which pretty much everyone needs) in the drm_crtc_helper.h file (which atomic drivers should never need) is confusing. Split them out. To make sure I actually achieved the goal

[Spice-devel] [PATCH 1/1] Update all paths /var/run -> /run

2019-01-16 Thread Christian Hesse
Commit 098268a33c7c8008ccec9050aea8f0763f1c06d5 (systemd: Update path in unit file) was a really incomplete change. Let's change every occurrence of /var/run to /run. Signed-off-by: Christian Hesse --- README | 2 +- data/spice-vdagentd | 4 ++--

Re: [Spice-devel] [PATCH] drm: Split out drm_probe_helper.h

2019-01-16 Thread Laurent Pinchart
Hi Daniel, Thank you for the patch. On Tuesday, 15 January 2019 12:41:37 EET Daniel Vetter wrote: > Having the probe helper stuff (which pretty much everyone needs) in > the drm_crtc_helper.h file (which atomic drivers should never need) is > confusing. Split them out. > > To make sure I

Re: [Spice-devel] [PATCH] drm: Split out drm_probe_helper.h

2019-01-16 Thread Alex Deucher
On Tue, Jan 15, 2019 at 5:41 AM Daniel Vetter wrote: > > Having the probe helper stuff (which pretty much everyone needs) in > the drm_crtc_helper.h file (which atomic drivers should never need) is > confusing. Split them out. > > To make sure I actually achieved the goal here I went through all

Re: [Spice-devel] [spice-gtk v1 2/2] gtk-session: clipboard request: notify agent on failure

2019-01-16 Thread Marc-André Lureau
Hi On Wed, Jan 16, 2019 at 11:44 AM Victor Toso wrote: > > From: Victor Toso > > Similar to 172c521271a3d - if we don't, the agent might be waiting for > data till some timeout happens in the system, blocking copy-paste > feature and possibly freezing applications. > > A way to reproduce is

[Spice-devel] [PATCH 2/3] drm/qxl: add qxl_add_mode helper function

2019-01-16 Thread Gerd Hoffmann
Add a helper function to add custom video modes to a connector. Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/qxl/qxl_display.c | 84 +++ 1 file changed, 49 insertions(+), 35 deletions(-) diff --git a/drivers/gpu/drm/qxl/qxl_display.c

[Spice-devel] [PATCH 1/3] drm/qxl: add mode/framebuffer check functions

2019-01-16 Thread Gerd Hoffmann
Add a helper functions to check video modes. Also add a helper to check framebuffer buffer objects, using the former for consistency. That way we should not fail in qxl_primary_atomic_check() because video modes which are too big will not be added to the mode list in the first place.

[Spice-devel] [PATCH 3/3] drm/qxl: use kernel mode db

2019-01-16 Thread Gerd Hoffmann
Add all standard modes from the kernel's video mode data base. Keep a few non-standard modes in the qxl mode list. Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/qxl/qxl_display.c | 27 +++ 1 file changed, 7 insertions(+), 20 deletions(-) diff --git

Re: [Spice-devel] [PATCH vd_agent_linux 1/7] file-xfers: Initialise correctly AgentFileXferTask::file_fd field

2019-01-16 Thread Victor Toso
Hi, For some reason I miss in my inbox the 6/7 patch. Looking at, seems that mailman got it. https://lists.freedesktop.org/archives/spice-devel/2019-January/047268.html My only suggestion is to move the test to root directory instead of srcdir. I'd prefer also to use the glib test framework