From 600179c39efb30cf072e18c7604ccf52360684c6 Mon Sep 17 00:00:00 2001 From: Marc-André Lureau Date: Wed, 30 Aug 2023 13:38:28 +0400 Subject: ui/vc: console-vc requires PIXMAN MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add stubs for the fallback paths. get_vc() now returns NULL by default if !PIXMAN. Signed-off-by: Marc-André Lureau Reviewed-by: Thomas Huth --- ui/console.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ui/console.c') diff --git a/ui/console.c b/ui/console.c index a758ed62ad..a72c495b5a 100644 --- a/ui/console.c +++ b/ui/console.c @@ -1685,8 +1685,11 @@ const char *qemu_display_get_vc(DisplayOptions *opts) if (dpys[opts->type]->vc) { return dpys[opts->type]->vc; } else { +#ifdef CONFIG_PIXMAN return "vc:80Cx24C"; +#endif } + return NULL; } void qemu_display_help(void) -- cgit 1.4.1