diff options
| author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2023-08-30 13:38:28 +0400 |
|---|---|---|
| committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2023-11-07 14:04:25 +0400 |
| commit | 600179c39efb30cf072e18c7604ccf52360684c6 (patch) | |
| tree | 0fe3becd2a69e4f272617bda8239e05dd3b45ca4 /ui/console-vc-stubs.c | |
| parent | 1bec1cc0da497e55c16e2a7b50f94cdb2a02197f (diff) | |
| download | focaccia-qemu-600179c39efb30cf072e18c7604ccf52360684c6.tar.gz focaccia-qemu-600179c39efb30cf072e18c7604ccf52360684c6.zip | |
ui/vc: console-vc requires PIXMAN
Add stubs for the fallback paths. get_vc() now returns NULL by default if !PIXMAN. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'ui/console-vc-stubs.c')
| -rw-r--r-- | ui/console-vc-stubs.c | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/ui/console-vc-stubs.c b/ui/console-vc-stubs.c new file mode 100644 index 0000000000..2afc52329f --- /dev/null +++ b/ui/console-vc-stubs.c @@ -0,0 +1,33 @@ +/* + * SPDX-License-Identifier: GPL-2.0-or-later + * QEMU VC stubs + */ +#include "qemu/osdep.h" + +#include "qapi/error.h" +#include "qemu/error-report.h" +#include "qemu/option.h" +#include "chardev/char.h" +#include "ui/console-priv.h" + +void qemu_text_console_select(QemuTextConsole *c) +{ +} + +const char * +qemu_text_console_get_label(QemuTextConsole *c) +{ + return NULL; +} + +void qemu_text_console_update_cursor(void) +{ +} + +void qemu_text_console_handle_keysym(QemuTextConsole *s, int keysym) +{ +} + +void qemu_console_early_init(void) +{ +} |