vnc: set id at parse time not init time
commit9634f4e3b721f75f9ba4c87fe1499d5e95fc63ca
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 17 Feb 2015 08:28:17 +0000 (17 09:28 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 10 Mar 2015 10:33:35 +0000 (10 11:33 +0100)
tree85430e075d3a653ddd9812e9aca66cb3755ce70e
parent277263e1b320d759a760ba6c5ea75ec268f929e5
vnc: set id at parse time not init time

This way the generated id will be stored in -writeconfig cfg files.
Also we can make vnc_auto_assign_id() local to vnc.c.

Tested-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
include/ui/console.h
qmp.c
ui/vnc.c