Re: [Qemu-devel] [PATCH] vnc: fix bug: vnc server can't start when 'to' is specified

2015-10-28 Thread Gerd Hoffmann
On Di, 2015-10-27 at 14:10 +0800, Yang Hongyang wrote: > commit e0d03b8ceb52 converted VNC startup to use SocketAddress, > the interface socket_listen don't have a port_offset param, so > we need to add the port offset (5900) to both 'port' and 'to' opts. > currently only 'port' is added by offset.

[Qemu-devel] [PATCH] vnc: fix bug: vnc server can't start when 'to' is specified

2015-10-27 Thread Yang Hongyang
commit e0d03b8ceb52 converted VNC startup to use SocketAddress, the interface socket_listen don't have a port_offset param, so we need to add the port offset (5900) to both 'port' and 'to' opts. currently only 'port' is added by offset. This patch add the port offset to 'to' opts. Signed-off-by: Y

Re: [Qemu-devel] [PATCH] vnc: fix bug: vnc server can't start when 'to' is specified

2015-10-27 Thread Daniel P. Berrange
On Tue, Oct 27, 2015 at 02:10:52PM +0800, Yang Hongyang wrote: > commit e0d03b8ceb52 converted VNC startup to use SocketAddress, > the interface socket_listen don't have a port_offset param, so > we need to add the port offset (5900) to both 'port' and 'to' opts. > currently only 'port' is added by