]>
Commit | Line | Data |
---|---|---|
637b0477 GH |
1 | #include "qemu/osdep.h" |
2 | #include "ui/console.h" | |
577ce409 | 3 | #include "qapi/error.h" |
637b0477 GH |
4 | |
5 | int vnc_display_password(const char *id, const char *password) | |
6 | { | |
7 | return -ENODEV; | |
8 | } | |
9 | int vnc_display_pw_expire(const char *id, time_t expires) | |
10 | { | |
11 | return -ENODEV; | |
12 | }; | |
653c9747 | 13 | void vnc_parse(const char *str) |
637b0477 | 14 | { |
db88404a | 15 | if (strcmp(str, "none") == 0) { |
653c9747 | 16 | return; |
db88404a | 17 | } |
653c9747 | 18 | error_setg(&error_fatal, "VNC support is disabled"); |
637b0477 GH |
19 | } |
20 | int vnc_init_func(void *opaque, QemuOpts *opts, Error **errp) | |
21 | { | |
22 | error_setg(errp, "VNC support is disabled"); | |
23 | return -1; | |
24 | } |