commit | d616ccc5dd771024e04b9b15d7ca30bc7fe8fce3 | [log] [tgz] |
---|---|---|
author | Gerd Hoffmann <kraxel@redhat.com> | Tue Jul 29 12:14:08 2014 +0200 |
committer | Gerd Hoffmann <kraxel@redhat.com> | Thu Jan 22 11:18:46 2015 +0100 |
tree | 6df7b22d5f8d55aaa4d497727bff614cb7de7164 | |
parent | 699eae17b841e6784dc3864bf357e26bff1e9dfe [diff] |
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>