2018-02-02 06:45:46 +00:00
|
|
|
#include "qemu/osdep.h"
|
|
|
|
#include "ui/console.h"
|
2018-02-13 07:05:26 +00:00
|
|
|
#include "qapi/error.h"
|
2018-02-02 06:45:46 +00:00
|
|
|
|
|
|
|
int vnc_display_password(const char *id, const char *password)
|
|
|
|
{
|
|
|
|
return -ENODEV;
|
|
|
|
}
|
|
|
|
int vnc_display_pw_expire(const char *id, time_t expires)
|
|
|
|
{
|
|
|
|
return -ENODEV;
|
|
|
|
};
|
2021-01-20 14:42:35 +00:00
|
|
|
void vnc_parse(const char *str)
|
2018-02-02 06:45:46 +00:00
|
|
|
{
|
2020-10-09 01:40:32 +00:00
|
|
|
if (strcmp(str, "none") == 0) {
|
2021-01-20 14:42:35 +00:00
|
|
|
return;
|
2020-10-09 01:40:32 +00:00
|
|
|
}
|
2021-01-20 14:42:35 +00:00
|
|
|
error_setg(&error_fatal, "VNC support is disabled");
|
2018-02-02 06:45:46 +00:00
|
|
|
}
|
|
|
|
int vnc_init_func(void *opaque, QemuOpts *opts, Error **errp)
|
|
|
|
{
|
|
|
|
error_setg(errp, "VNC support is disabled");
|
|
|
|
return -1;
|
|
|
|
}
|