2018-02-02 07:45:46 +01:00
|
|
|
#include "qemu/osdep.h"
|
|
|
|
#include "ui/console.h"
|
2018-02-13 08:05:26 +01:00
|
|
|
#include "qapi/error.h"
|
2018-02-02 07:45:46 +01: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;
|
|
|
|
};
|
|
|
|
QemuOpts *vnc_parse(const char *str, Error **errp)
|
|
|
|
{
|
2020-10-09 03:40:32 +02:00
|
|
|
if (strcmp(str, "none") == 0) {
|
|
|
|
return NULL;
|
|
|
|
}
|
2018-02-02 07:45:46 +01:00
|
|
|
error_setg(errp, "VNC support is disabled");
|
|
|
|
return NULL;
|
|
|
|
}
|
|
|
|
int vnc_init_func(void *opaque, QemuOpts *opts, Error **errp)
|
|
|
|
{
|
|
|
|
error_setg(errp, "VNC support is disabled");
|
|
|
|
return -1;
|
|
|
|
}
|