mirror of
https://github.com/xemu-project/xemu.git
synced 2024-12-05 02:06:40 +00:00
653c974735
Use qemu_opts_parse_noisily now that HMP does not call vnc_parse anymore. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Gerd Hoffmann <kraxel@redhat.com> Message-Id: <20210120144235.345983-4-pbonzini@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
25 lines
524 B
C
25 lines
524 B
C
#include "qemu/osdep.h"
|
|
#include "ui/console.h"
|
|
#include "qapi/error.h"
|
|
|
|
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;
|
|
};
|
|
void vnc_parse(const char *str)
|
|
{
|
|
if (strcmp(str, "none") == 0) {
|
|
return;
|
|
}
|
|
error_setg(&error_fatal, "VNC support is disabled");
|
|
}
|
|
int vnc_init_func(void *opaque, QemuOpts *opts, Error **errp)
|
|
{
|
|
error_setg(errp, "VNC support is disabled");
|
|
return -1;
|
|
}
|