Skip to content

Add zlib support to VNC server

Alexander Graf qemu-devel 1 version Applied

Status from this message: Applied all. Thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/7Split VNC defines to vnc.hvnc.c vnc.h+113 -351 reply
2/7Use VNC protocol definesvnc.c+50 -470 replies
3/7Fix invalid #if in vnc.c when debugging is enabledvnc.c+1 -10 replies
4/7Add some tight awareness to vnc.cvnc.c+21 -20 replies
5/7Move buffer functions upvnc.c+33 -330 replies
6/7Move the framebuffer update package outvnc.c+2 -40 replies
7/7Add zlib encoding supportvnc.c+109 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/7] Add zlib support to VNC server

Alright, this is my tight alternative ;).

In order to make the qemu VNC server usable over low bandwidth connections, we need to support some encodings that perform better under these constaints.

One that is really easy to implement and pretty commonly implemented in clients is zlib. Zlib takes the raw output, sends it through zlib and sends that over the wire. For me, bandwidth usage was a lot less than hextile's.

Of course, this isn't going to be the last of the encodings I'll implement, but it's a pretty good start - hopefully better than jpeg tight, since zlib is completely lossless.

Alexander Graf (7):
Split VNC defines to vnc.h
Use VNC protocol defines
Fix invalid #if in vnc.c when debugging is enabled Add some tight awareness to vnc.c
Move buffer functions up
Move the framebuffer update package out Add zlib encoding support

 vnc.c |  333 ++++++++++++++++++++++++++++++++++++++++++-----------------------
 vnc.h |  112 ++++++++++++++++++++++
 2 files changed, 326 insertions(+), 119 deletions(-)
 create mode 100644 vnc.h