Gerd Hoffmann d616ccc5dd vnc: remove vnc_display global
Replace with a vnc_displays list, so we can have multiple vnc server
instances.  Add vnc_server_find function to lookup a display by id.
With no id supplied return the first vnc server, for backward
compatibility reasons.

It is not possible (yet) to actually create multiple vnc server
instances.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Gonglei <arei.gonglei@huawei.com>
2015-01-22 11:18:46 +01:00
..
2014-09-22 11:39:45 +01:00
2012-12-19 08:31:31 +01:00
2012-12-19 08:31:30 +01:00
2012-12-19 08:31:31 +01:00
2014-05-26 08:42:43 +02:00
2014-09-16 08:07:05 +02:00
2014-12-16 14:15:29 +01:00
2014-03-11 10:53:17 +00:00
2012-11-01 19:49:45 +01:00
2013-08-22 19:10:27 +02:00
2013-05-03 12:04:57 -05:00
2015-01-22 11:18:46 +01:00
2015-01-22 11:18:46 +01:00