diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2023-10-25 17:05:08 +0400 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2023-11-07 14:04:25 +0400 |
commit | 6261164bd600422f1c557b5a1dea124a83181881 (patch) | |
tree | b713271e1e6813d725fe3690aa35efc8c0df9639 /ui | |
parent | 6d9ed4eb9470db8fb7294baa83a73b854419bcc4 (diff) |
qemu-options: define -vnc only #ifdef CONFIG_VNC
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'ui')
-rw-r--r-- | ui/vnc-stubs.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/ui/vnc-stubs.c b/ui/vnc-stubs.c index b4eb3ce718..a96bc86236 100644 --- a/ui/vnc-stubs.c +++ b/ui/vnc-stubs.c @@ -10,15 +10,3 @@ int vnc_display_pw_expire(const char *id, time_t expires) { return -ENODEV; }; -void vnc_parse(const char *str) -{ - if (strcmp(str, "none") == 0) { - return; - } - error_setg(&error_fatal, "VNC support is disabled"); -} -int vnc_init_func(void *opaque, QemuOpts *opts, Error **errp) -{ - error_setg(errp, "VNC support is disabled"); - return -1; -} |