• T
    vnc: added initial websocket protocol support · 7536ee4b
    Tim Hardeck 提交于
    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: NTim Hardeck <thardeck@suse.de>
    Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
    7536ee4b
configure 110.3 KB