1 #include "qemu/osdep.h" 2 #include "ui/console.h" 3 4 int vnc_display_password(const char *id, const char *password) 5 { 6 return -ENODEV; 7 } 8 int vnc_display_pw_expire(const char *id, time_t expires) 9 { 10 return -ENODEV; 11 }; 12 QemuOpts *vnc_parse(const char *str, Error **errp) 13 { 14 error_setg(errp, "VNC support is disabled"); 15 return NULL; 16 } 17 int vnc_init_func(void *opaque, QemuOpts *opts, Error **errp) 18 { 19 error_setg(errp, "VNC support is disabled"); 20 return -1; 21 } 22