]> git.ipfire.org Git - thirdparty/qemu.git/commit
vnc: ensure connection sharing/limits is always configured
authorDaniel P. Berrange <berrange@redhat.com>
Tue, 2 Aug 2016 10:45:26 +0000 (11:45 +0100)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Wed, 28 Sep 2016 15:46:48 +0000 (10:46 -0500)
commitc5518b3a264f3f01bc93316a5039a53b6c436b6d
treea736ec0e42a4188458e9aa80c510494c88e18110
parent6be9ee16201f300973449ea355456e3e942f14f4
vnc: ensure connection sharing/limits is always configured

The connection sharing / limits are only set in the
vnc_display_open() method and so missed when VNC is running
with '-vnc none'. This in turn prevents clients being added
to the VNC server with the QMP "add_client" command.

This was introduced in

  commit e5f34cdd2da54f28d90889a3afd15fad2d6105ff
  Author: Gerd Hoffmann <kraxel@redhat.com>
  Date:   Thu Oct 2 12:09:34 2014 +0200

      vnc: track & limit connections

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Message-id: 1470134726-15697-4-git-send-email-berrange@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
(cherry picked from commit 12e29b1682e0a50ed57c324152addb585ae5ce69)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
ui/vnc.c