[Spice-devel] [PATCH 3/3] usb-redirection: do not duplicate USB device properties

2019-04-10 Thread Yuri Benditovich
Do not keep bus, address, vid and pid of the USB device in SpiceUsbDeviceInfo structure. Getters for these properties can easily obtain them from respective backend device. Signed-off-by: Yuri Benditovich --- src/usb-device-manager.c | 29 + 1 file changed, 13

[Spice-devel] [PATCH 2/3] usb-redirection: isolate usage of libusb and usbredirhost

2019-04-10 Thread Yuri Benditovich
As a step toward possibility to present emulated USB devices to the guest, we remove the knowledge about libusb and usbredirhost (which depends on libusb) from all the modules and concentrate it in one (usb backend) which presents abstract USB objects and internal API to all other modules.

[Spice-devel] [PATCH 1/3] usb: use native libusb procedure for getting error name

2019-04-10 Thread Yuri Benditovich
libusb has libusb_error_name procedure that returns name for any error that libusb may return, so we do not need to analyze error values by ourselves. Signed-off-by: Yuri Benditovich --- src/usbutil.c | 32 +--- 1 file changed, 1 insertion(+), 31 deletions(-) diff

[Spice-devel] [PATCH 0/3] Implementation of USB backend layer

2019-04-10 Thread Yuri Benditovich
This layer communicates with libusb and libusbredir and provides the API for all the operations related to USB redirection. All other modules of spice-gtk communicate only with usb backend instead of calling libusb and usbredirhost directly. This is prerequisite of further implementation of

[Spice-devel] [linux/vd-agent v1 1/2] build-sys: next spice-protocol is 0.14.0

2019-04-10 Thread Victor Toso
From: Victor Toso The requirement to the unreleased spice-protocol was added with 56c2d29 in 2019-01-28 by Lukáš Hrázký but next stable release of spice-protocol is 0.14.0 The configure check is correct but seems better to me to check against a valid release instead of checking with a non

[Spice-devel] [linux/vd-agent v1 2/2] Prepare to 0.19.0 release

2019-04-10 Thread Victor Toso
From: Victor Toso Signed-off-by: Victor Toso --- CHANGELOG.md | 24 1 file changed, 24 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6245f53..7bc6959 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,27 @@ +News in spice-vdagent 0.19.0

[Spice-devel] [linux/vd-agent v1 0/2] Prepare for 0.19.0 release

2019-04-10 Thread Victor Toso
From: Victor Toso Hi, About 68 patches since 0.18.0 release done in 2018-06-05. You can check the ci pipeline at: https://gitlab.freedesktop.org/victortoso/vd_agent/pipelines/29653 And the formatted changelog at:

[Spice-devel] [spice-protocol v2 3/6] ChangeLog: remove old one

2019-04-10 Thread Victor Toso
From: Victor Toso Added 193c54c in 2010-02-04 by Alexander Larsson Signed-off-by: Victor Toso --- ChangeLog | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 ChangeLog diff --git a/ChangeLog b/ChangeLog deleted file mode 100644 index e69de29..000 -- 2.20.1

[Spice-devel] [spice-protocol v2 4/6] Rename NEWS to CHANGELOG.md

2019-04-10 Thread Victor Toso
From: Victor Toso Uppercase + prefix to make Gitlab happy and format it properly. This should also be the case for all other spice components in Gitlab. Signed-off-by: Victor Toso --- NEWS => CHANGELOG.md | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename NEWS => CHANGELOG.md (100%)

[Spice-devel] [spice-protocol v2 0/6] Prepare for 0.14.0 release

2019-04-10 Thread Victor Toso
From: Victor Toso Changes from v1: - Added gitlab-ci integration, you can see pipeline for this v2 here: https://gitlab.freedesktop.org/victortoso/spice-protocol/-/jobs/227059 - Relaxed automake in regards to NEWS, ChangeLog names; v1:

[Spice-devel] [spice-protocol v2 6/6] NEWS: prepare for 0.14.0 release

2019-04-10 Thread Victor Toso
From: Victor Toso Signed-off-by: Victor Toso --- CHANGELOG.md | 12 1 file changed, 12 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index c78a58b..67888fd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,15 @@ +Major changes in 0.14.0 +=== +*

[Spice-devel] [spice-protocol v2 2/6] gitlab-ci: add fedora meson+autotools

2019-04-10 Thread Victor Toso
From: Victor Toso Signed-off-by: Victor Toso --- .gitlab-ci.yml | 22 ++ 1 file changed, 22 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 000..b3fad64 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0

[Spice-devel] [spice-protocol v2 1/6] build-sys: automake: do not require NEWS and ChangeLog

2019-04-10 Thread Victor Toso
From: Victor Toso Following patches will rename NEWS to CHANGELOG.md due Gitlab integration and remove the currently empty ChangeLog. Signed-off-by: Victor Toso --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index

[Spice-devel] [spice-protocol v2 5/6] README: Add basic info and .md prefix

2019-04-10 Thread Victor Toso
From: Victor Toso Signed-off-by: Victor Toso --- README| 0 README.md | 27 +++ 2 files changed, 27 insertions(+) delete mode 100644 README create mode 100644 README.md diff --git a/README b/README deleted file mode 100644 index e69de29..000 diff --git

Re: [Spice-devel] [spice-protocol v1 0/4] Prepare for 0.14.0 release

2019-04-10 Thread Victor Toso
On Wed, Apr 10, 2019 at 09:44:54AM +, Victor Toso wrote: > From: Victor Toso > > Hi, > > As per our milestone (let's try to use it often now!), we should be > doing a release Tomorrow in order to also do a release of > linux/vd-agent. > > Taking this opportunity to make this a little bit

[Spice-devel] [spice-protocol v1 3/4] README: Add basic info and .md prefix

2019-04-10 Thread Victor Toso
From: Victor Toso Signed-off-by: Victor Toso --- README| 0 README.md | 27 +++ 2 files changed, 27 insertions(+) delete mode 100644 README create mode 100644 README.md diff --git a/README b/README deleted file mode 100644 index e69de29..000 diff --git

[Spice-devel] [spice-protocol v1 2/4] Rename NEWS to CHANGELOG.md

2019-04-10 Thread Victor Toso
From: Victor Toso Uppercase + prefix to make Gitlab happy and format it properly. This should also be the case for all other spice components in Gitlab. Signed-off-by: Victor Toso --- NEWS => CHANGELOG.md | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename NEWS => CHANGELOG.md (100%)

[Spice-devel] [spice-protocol v1 0/4] Prepare for 0.14.0 release

2019-04-10 Thread Victor Toso
From: Victor Toso Hi, As per our milestone (let's try to use it often now!), we should be doing a release Tomorrow in order to also do a release of linux/vd-agent. Taking this opportunity to make this a little bit more friendly to Gitlab by renaming NEWS to CHANGELOG and adding .md prefix to

[Spice-devel] [spice-protocol v1 1/4] ChangeLog: remove old one

2019-04-10 Thread Victor Toso
From: Victor Toso Added 193c54c in 2010-02-04 by Alexander Larsson Signed-off-by: Victor Toso --- ChangeLog | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 ChangeLog diff --git a/ChangeLog b/ChangeLog deleted file mode 100644 index e69de29..000 -- 2.20.1

[Spice-devel] [spice-protocol v1 4/4] NEWS: prepare for 0.14.0 release

2019-04-10 Thread Victor Toso
From: Victor Toso Signed-off-by: Victor Toso --- CHANGELOG.md | 12 1 file changed, 12 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index c78a58b..67888fd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,15 @@ +Major changes in 0.14.0 +=== +*

[Spice-devel] [spice] Consistently use the dcc local variable in update_client_playback_delay()

2019-04-10 Thread Francois Gouget
Signed-off-by: Francois Gouget --- server/video-stream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/video-stream.c b/server/video-stream.c index 197950984..ba1a5adf2 100644 --- a/server/video-stream.c +++ b/server/video-stream.c @@ -675,7 +675,7 @@ static void

[Spice-devel] [spice] Enable mm_time adjustments on startup

2019-04-10 Thread Francois Gouget
We send mm_time adjustments to the client whenever there is no audio playback. There is no audio playback on startup. Therefore mm_time_enabled must be true on startup. QED. Signed-off-by: Francois Gouget --- server/reds.c | 1 + 1 file changed, 1 insertion(+) diff --git a/server/reds.c