Re: [Qemu-devel] [PATCH] vnc: added initial websockets support

2012-11-19 Thread Tim Hardeck
On 11/19/2012 10:07 AM, Stefan Hajnoczi wrote: > On Mon, Nov 19, 2012 at 12:29:44AM +0100, Tim Hardeck wrote: >> Hi Stefan, >> >> thanks for your input but how should it be implemented? >> >> I personally would like activating Websockets as a VNC option like: " >> -vnc :0 -vnc :1,websockets" >> I h

Re: [Qemu-devel] [PATCH] vnc: added initial websockets support

2012-11-19 Thread Tim Hardeck
On 11/19/2012 09:56 AM, Gerd Hoffmann wrote: > On 11/19/12 00:29, Tim Hardeck wrote: >> Hi Stefan, >> >> thanks for your input but how should it be implemented? >> >> I personally would like activating Websockets as a VNC option like: >> " -vnc :0 -vnc :1,websockets" I have already tested this loca

Re: [Qemu-devel] [PATCH] vnc: added initial websockets support

2012-11-19 Thread Stefan Hajnoczi
On Mon, Nov 19, 2012 at 12:29:44AM +0100, Tim Hardeck wrote: > Hi Stefan, > > thanks for your input but how should it be implemented? > > I personally would like activating Websockets as a VNC option like: " > -vnc :0 -vnc :1,websockets" > I have already tested this locally and it does work but o

Re: [Qemu-devel] [PATCH] vnc: added initial websockets support

2012-11-19 Thread Gerd Hoffmann
On 11/19/12 00:29, Tim Hardeck wrote: > Hi Stefan, > > thanks for your input but how should it be implemented? > > I personally would like activating Websockets as a VNC option like: > " -vnc :0 -vnc :1,websockets" I have already tested this locally > and it does work but only for one protocol si

Re: [Qemu-devel] [PATCH] vnc: added initial websockets support

2012-11-18 Thread Tim Hardeck
Hi Stefan, thanks for your input but how should it be implemented? I personally would like activating Websockets as a VNC option like: " -vnc :0 -vnc :1,websockets" I have already tested this locally and it does work but only for one protocol since QEMU does only interpret the last vnc option. So

Re: [Qemu-devel] [PATCH] vnc: added initial websockets support

2012-11-18 Thread Stefan Hajnoczi
On Fri, Nov 16, 2012 at 4:13 PM, Tim Hardeck wrote: > Websockets connections are recognized by waiting 500ms for a Websocket > handshake. If no data is received a regular vnc connection is assumed. > If this is not acceptable please suggest if Websockets should be activated by > a new VNC option

[Qemu-devel] [PATCH] vnc: added initial websockets support

2012-11-16 Thread Tim Hardeck
This patch adds basic Websockets version 13 - RFC 6455 - support to QEMU VNC. Binary encoding support on the client side is required. Websockets support in QEMU is enabled by the configure option --enable-vnc-ws. Websockets connections are recognized by waiting 500ms for a Websocket handshake. If

[Qemu-devel] [PATCH] vnc: added initial websockets support

2012-11-16 Thread Tim Hardeck
This patch adds basic Websockets support to the QEMU VNC component. Websockets allow every modern web browser to connect to QEMU VNC without any additional plugins. Because of the GnuTLS requirement the Websockets implementation is optional (--enable-vnc-ws). Websockets connections are recogni