mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 07:13:54 -06:00
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>
This commit is contained in:
parent
277263e1b3
commit
9634f4e3b7
3 changed files with 12 additions and 12 deletions
|
@ -335,7 +335,6 @@ void vnc_display_init(const char *id);
|
|||
void vnc_display_open(const char *id, Error **errp);
|
||||
void vnc_display_add_client(const char *id, int csock, bool skipauth);
|
||||
char *vnc_display_local_addr(const char *id);
|
||||
void vnc_auto_assign_id(QemuOptsList *olist, QemuOpts *opts);
|
||||
#ifdef CONFIG_VNC
|
||||
int vnc_display_password(const char *id, const char *password);
|
||||
int vnc_display_pw_expire(const char *id, time_t expires);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue