diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2015-02-17 09:28:17 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2015-03-10 11:33:35 +0100 |
commit | 9634f4e3b721f75f9ba4c87fe1499d5e95fc63ca (patch) | |
tree | 85430e075d3a653ddd9812e9aca66cb3755ce70e /qmp.c | |
parent | 277263e1b320d759a760ba6c5ea75ec268f929e5 (diff) |
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>
Diffstat (limited to 'qmp.c')
-rw-r--r-- | qmp.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -391,7 +391,6 @@ static void qmp_change_vnc_listen(const char *target, Error **errp) return; } - vnc_auto_assign_id(olist, opts); vnc_display_open("default", errp); } |