mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-27 13:30:52 +00:00
577ce409ac
Fixes --disable-vnc build failure. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-id: 20180213070526.22475-1-kraxel@redhat.com
23 lines
494 B
C
23 lines
494 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;
|
|
};
|
|
QemuOpts *vnc_parse(const char *str, Error **errp)
|
|
{
|
|
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;
|
|
}
|