mirror of
https://github.com/mii443/qemu.git
synced 2025-12-03 11:08:25 +00:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user