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