tcg/optimize: Use fold_xi_to_x for mul
[qemu/ar7.git] / ui / vnc-stubs.c
blobb4eb3ce718e750ec905e3e35b2763be06ed00682
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 void vnc_parse(const char *str)
15 if (strcmp(str, "none") == 0) {
16 return;
18 error_setg(&error_fatal, "VNC support is disabled");
20 int vnc_init_func(void *opaque, QemuOpts *opts, Error **errp)
22 error_setg(errp, "VNC support is disabled");
23 return -1;