[Spice-devel] [RFC PATCH spice-server v2 00/19] Allows guests to send display data as video streams
Frediano Ziglio
fziglio at redhat.com
Wed Aug 9 09:02:37 UTC 2017
ping
>
> This patcheset add a device to allow guest machines with assigned
> hardware devices to send encoded video and other informations that
> will be handled as a normal display by Spice.
>
> New GPU devices are capable to capture and encode video in an
> efficient way. As the GPU in this case is assigned to the guest
> and not the host is easier if the guest do the hard job.
>
> This patchset add a new "com.redhat.stream.0" device visible to
> the guests. This device will be used by the guest to send streaming
> data. The host will forward the data to the client.
>
> To do so a new StreamChannel class, implementing the protocol
> DisplayChannel is implemented.
>
> Frediano Ziglio (19):
> char-device: Allows to handle port events from any char device
> stream-device: Add device to handle streaming
> stream-device: Start parsing new protocol from guest
> stream-channel: Write a really base channel to implement the streaming
> stream-channel: Start implementing DisplayChannel properly
> stream-device: Create channel for stream device
> stream-channel: Implements initialization
> stream-device: Handle streaming data from device to channel
> stream-channel: Allows not fixed size
> stream-channel: Allows to register callback to get new stream request
> stream-channel: Support client connection/disconnection
> stream-channel: Do not show an empty blank screen on start
> char-device: Do not stop and clear interface on reset
> stream-device: Start supporting resetting device when close/open on
> guest
> stream-device: Limit sending queue from guest to server
> stream-channel: Activate streaming report from client
> WIP cursor-channel: Allow to not handle a QXL device
> WIP stream-device: handle cursor from device
> WIP: Try to reduce delay
>
> server/Makefile.am | 3 +
> server/char-device.c | 25 ++-
> server/char-device.h | 4 +
> server/cursor-channel.c | 6 +-
> server/reds.c | 8 +-
> server/spicevmc.c | 10 +-
> server/stream-channel.c | 567
> ++++++++++++++++++++++++++++++++++++++++++++++++
> server/stream-channel.h | 80 +++++++
> server/stream-device.c | 451 ++++++++++++++++++++++++++++++++++++++
> 9 files changed, 1142 insertions(+), 12 deletions(-)
> create mode 100644 server/stream-channel.c
> create mode 100644 server/stream-channel.h
> create mode 100644 server/stream-device.c
>
More information about the Spice-devel
mailing list