migration: Fix early failure cleanup
[qemu/ar7.git] / ui / vnc-stubs.c
blobf51280549aa817d9bc2975002199eae8264561c5
1 #include "qemu/osdep.h"
2 #include "ui/console.h"
4 int vnc_display_password(const char *id, const char *password)
6 return -ENODEV;
8 int vnc_display_pw_expire(const char *id, time_t expires)
10 return -ENODEV;
12 QemuOpts *vnc_parse(const char *str, Error **errp)
14 error_setg(errp, "VNC support is disabled");
15 return NULL;
17 int vnc_init_func(void *opaque, QemuOpts *opts, Error **errp)
19 error_setg(errp, "VNC support is disabled");
20 return -1;