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>
This commit is contained in:
Marc-André Lureau 2023-08-30 13:38:28 +04:00
parent 1bec1cc0da
commit 600179c39e
3 changed files with 37 additions and 1 deletions

View file

@ -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)