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.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.c')
| -rw-r--r-- | ui/console.c | 3 |
1 files changed, 3 insertions, 0 deletions
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) |