]> git.proxmox.com Git - qemu.git/commit - configure
vnc: added initial websocket protocol support
authorTim Hardeck <thardeck@suse.de>
Mon, 21 Jan 2013 10:04:44 +0000 (11:04 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 21 Jan 2013 19:33:12 +0000 (13:33 -0600)
commit7536ee4bc3da7e9b7fdadba5ba6ade63eaace430
treedd9818e015ffe360e5636066e987cdc8c91d9839
parent32ed26808d4e59efb4a03290a4a85f5f8335f268
vnc: added initial websocket protocol support

This patch adds basic Websocket Protocol version 13 - RFC 6455 - support
to QEMU VNC. Binary encoding support on the client side is mandatory.

Because of the GnuTLS requirement the Websockets implementation is
optional (--enable-vnc-ws).

To activate Websocket support the VNC option "websocket"is used, for
example "-vnc :0,websocket".
The listen port for Websocket connections is (5700 + display) so if
QEMU VNC is started with :0 the Websocket port would be 5700.
As an alternative the Websocket port could be manually specified by
using ",websocket=<port>" instead.

Parts of the implementation base on Anthony Liguori's QEMU Websocket
patch from 2010 and on Joel Martin's LibVNC Websocket implementation.

Signed-off-by: Tim Hardeck <thardeck@suse.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
configure
qemu-options.hx
ui/Makefile.objs
ui/vnc-ws.c [new file with mode: 0644]
ui/vnc-ws.h [new file with mode: 0644]
ui/vnc.c
ui/vnc.h