[Spice-commits] 3 commits - configure.ac docs/manual NEWS server/stream-channel.c

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Aug 22 14:56:16 UTC 2018


 NEWS                    |   32 ++++++++++++++++++++++++++++++
 configure.ac            |    4 +--
 docs/manual/manual.txt  |   51 ++++++++++++++++++++++++++++++++++++++++++++++++
 server/stream-channel.c |    1 
 4 files changed, 85 insertions(+), 3 deletions(-)

New commits:
commit eaa07ef15cfc3bf57a69da2576af66f028787774
Author: Christophe Fergeau <cfergeau at redhat.com>
Date:   Fri Jun 8 10:42:24 2018 +0200

    build: Prepare for 0.14.1 release
    
    Signed-off-by: Christophe Fergeau <cfergeau at redhat.com>

diff --git a/NEWS b/NEWS
index 51bb4a2e..403df63c 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,35 @@
+Major Changes in 0.14.1:
+========================
+
+The main change in this release is the addition of a new protocol extension
+in order to support streaming the remote display as a video stream rather than
+going through the QXL protocol. Together with spice-streaming-agent, and/or with
+more work on the qemu/spice-server side, this should allow streaming of 3D
+accelerated VMs in the future. At this point, this part of spice-server is
+still a work in progress (multi-monitor support and various features are
+missing).
+
+* add new org.spice-space.stream.0 channel used for passing an encoded video
+  stream from the guest to the client
+* add support for TCP_CORK to reduce the amount of packets that we send
+* fix CVE-2018-10873
+* fix cursor related migration crash
+* fix regression causing sound recording to be muted after
+  client disconnection/reconnection (introduced in 0.13.90)
+* fix regression in corner cases where images could be sent uncompressed
+  when they used to be compressed with QUIC
+* disable TLS 1.0 support
+* CELT 0.5.1 support is now disabled by default. If celt051-devel is installed
+  at build-time, --enable-celt051/--disable-celt051 must be explicitly specified
+* drop support for unsupported OpenSSL version. OpenSSL 1.0.0 or newer is now
+  required
+* bumped minimum required glib version to 2.32
+* endianness fixes
+* (small) leak fixes
+* usual round of code cleanups
+* not directly related to this release, but the upstream git repository is now
+  hosted on gitlab.freedesktop.org
+
 Major Changes in 0.14.0:
 ========================
 
diff --git a/configure.ac b/configure.ac
index 7effdddc..a81ec0f4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -13,7 +13,7 @@ AC_PREREQ([2.57])
 #
 dnl TODO see server/spice-char.h TODO comment for API breakage
 m4_define([SPICE_CURRENT], [13])
-m4_define([SPICE_REVISION], [4])
+m4_define([SPICE_REVISION], [5])
 m4_define([SPICE_AGE], [12])
 
 AC_INIT(spice, [m4_esyscmd(build-aux/git-version-gen .tarball-version)],
commit f60021f864e656968362b261020a7814593c9dcd
Author: Christophe Fergeau <cfergeau at redhat.com>
Date:   Mon Aug 13 14:50:21 2018 +0200

    Revert "Support h265 in stream-channel"
    
    This commit needs an unreleased version of spice-protocol.
    The revert is temporary in order to get the spice-server 0.14.1 release
    out.
    
    This reverts commit 9f5859c3ba5e1885dec78f131f96c93bbc37bc80.

diff --git a/configure.ac b/configure.ac
index d3868703..7effdddc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -160,7 +160,7 @@ AS_IF([test x"$have_smartcard" = "xyes"], [
     AS_VAR_APPEND([SPICE_REQUIRES], [" libcacard >= 0.1.2"])
 ])
 
-SPICE_PROTOCOL_MIN_VER=0.12.15
+SPICE_PROTOCOL_MIN_VER=0.12.14
 PKG_CHECK_MODULES([SPICE_PROTOCOL], [spice-protocol >= $SPICE_PROTOCOL_MIN_VER])
 AC_SUBST([SPICE_PROTOCOL_MIN_VER])
 
diff --git a/server/stream-channel.c b/server/stream-channel.c
index c69c88d4..f13461a9 100644
--- a/server/stream-channel.c
+++ b/server/stream-channel.c
@@ -356,7 +356,6 @@ stream_channel_get_supported_codecs(StreamChannel *channel, uint8_t *out_codecs)
         SPICE_DISPLAY_CAP_CODEC_VP8,
         SPICE_DISPLAY_CAP_CODEC_H264,
         SPICE_DISPLAY_CAP_CODEC_VP9,
-        SPICE_DISPLAY_CAP_CODEC_H265,
     };
 
     bool supported[SPICE_N_ELEMENTS(codec2cap)];
commit 65c018fbbba1092cfb01011649be4c6ba7805d04
Author: Christophe Fergeau <cfergeau at redhat.com>
Date:   Fri Jun 8 16:20:23 2018 +0200

    docs: Add documentation for the streaming device
    
    Signed-off-by: Christophe Fergeau <cfergeau at redhat.com>

diff --git a/docs/manual/manual.txt b/docs/manual/manual.txt
index 40d080d9..99f6a5c8 100644
--- a/docs/manual/manual.txt
+++ b/docs/manual/manual.txt
@@ -544,6 +544,57 @@ which are described when running remote-viewer with `--help-spice`.
 To get USB redirection working on Windows clients, you need to install
 http://www.spice-space.org/download/windows/usbdk/[UsbDk]
 
+[[streamingagent]]
+Streaming Agent
+===============
+
+The SPICE streaming agent allows to send an encoded video stream of the guest
+desktop to the client.
+
+The streaming agent is a daemon/service running in the guest OS so it must be
+installed if it does not yet exist on the guest system.  It relies on a
+dedicated spiceport char device to achieve communication between the guest and
+the host.  This device must be added to the virtual machine as described below
+for the streaming agent to work in the guest.
+
+Configuration
+-------------
+
+.Using virt-manager
+
+The needed device can be added from the virtual machine
+details. Click on "Add hardware" and then add a "Channel" device with
+type "Spice port (spiceport)". The port should be named
+`org.spice-space.stream.0`, and the channel should also be
+`org.spice-space.stream.0`.
+
+.Using libvirt
+
+Two distinct devices must be added:
+
+* http://libvirt.org/formatdomain.html#elementsControllers[a virtio serial
+  device] if there is not one yet in the domain definition
+* http://libvirt.org/formatdomain.html#elementsCharSpiceport[a spiceport channel]
+
+[source,xml]
+<devices>
+    <controller type='virtio-serial' index='0'/>
+    <channel type='spiceport'>
+        <source channel='org.spice-space.stream.0'/>
+        <target type='virtio' name='org.spice-space.stream.0'/>
+    </channel>
+</devices>
+
+.Using QEMU
+
+Adding the following parameters to your QEMU command line will enable
+the needed devices for agent support in the guest OS:
+
+[source,sh]
+-device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel1,id=channel1,name=org.spice-space.stream.0 \
+-chardev spiceport,name=org.spice-space.stream.0,id=charchannel1
+
+
 CAC smartcard redirection
 =========================
 


More information about the Spice-commits mailing list