Merge remote-tracking branch 'remotes/jasowang/tags/net-pull-request' into staging
[qemu/ar7.git] / ui / vnc-stubs.c
blob06c4ac6296ebcb327660f465eeaa8c4629a99c34
1 #include "qemu/osdep.h"
2 #include "ui/console.h"
3 #include "qapi/error.h"
5 int vnc_display_password(const char *id, const char *password)
7 return -ENODEV;
9 int vnc_display_pw_expire(const char *id, time_t expires)
11 return -ENODEV;
13 QemuOpts *vnc_parse(const char *str, Error **errp)
15 error_setg(errp, "VNC support is disabled");
16 return NULL;
18 int vnc_init_func(void *opaque, QemuOpts *opts, Error **errp)
20 error_setg(errp, "VNC support is disabled");
21 return -1;