qemu/ui/console-vc-stubs.c
Marc-André Lureau 600179c39e 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>
2023-11-07 14:04:25 +04:00

34 lines
529 B
C

/*
* 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)
{
}