[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v4 04/19] vl: move display early init before default devices
From: |
marcandre . lureau |
Subject: |
[PATCH v4 04/19] vl: move display early init before default devices |
Date: |
Wed, 18 Oct 2023 17:38:05 +0400 |
From: Marc-André Lureau <marcandre.lureau@redhat.com>
The next commit needs to have the display registered itself before
creating the default VCs.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
---
system/vl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/system/vl.c b/system/vl.c
index 3100ac01ed..73e4ed2bef 100644
--- a/system/vl.c
+++ b/system/vl.c
@@ -1933,7 +1933,6 @@ static void qemu_create_early_backends(void)
"ignoring option");
}
- qemu_display_early_init(&dpy);
qemu_console_early_init();
if (dpy.has_gl && dpy.gl != DISPLAYGL_MODE_OFF && display_opengl == 0) {
@@ -3664,6 +3663,7 @@ void qemu_init(int argc, char **argv)
suspend_mux_open();
qemu_disable_default_devices();
+ qemu_display_early_init(&dpy);
qemu_create_default_devices();
qemu_create_early_backends();
--
2.41.0
- [PATCH v4 00/19] Make Pixman an optional dependency, marcandre . lureau, 2023/10/18
- [PATCH v4 01/19] build-sys: add a "pixman" feature, marcandre . lureau, 2023/10/18
- [PATCH v4 02/19] ui: compile out some qemu-pixman functions when !PIXMAN, marcandre . lureau, 2023/10/18
- [PATCH v4 04/19] vl: move display early init before default devices,
marcandre . lureau <=
- [PATCH v4 03/19] ui: add pixman-compat.h, marcandre . lureau, 2023/10/18
- [PATCH v4 06/19] ui/vc: console-vc requires PIXMAN, marcandre . lureau, 2023/10/18
- [PATCH v4 05/19] ui/console: allow to override the default VC, marcandre . lureau, 2023/10/18
- [PATCH v4 07/19] qmp/hmp: disable screendump if PIXMAN is missing, marcandre . lureau, 2023/10/18
- [PATCH v4 08/19] virtio-gpu: replace PIXMAN for region/rect test, marcandre . lureau, 2023/10/18
- [PATCH v4 09/19] ui/console: when PIXMAN is unavailable, don't draw placeholder msg, marcandre . lureau, 2023/10/18
- [PATCH v4 10/19] vhost-user-gpu: skip VHOST_USER_GPU_UPDATE when !PIXMAN, marcandre . lureau, 2023/10/18
- [PATCH v4 11/19] ui/gl: opengl doesn't require PIXMAN, marcandre . lureau, 2023/10/18
- [PATCH v4 12/19] ui/vnc: VNC requires PIXMAN, marcandre . lureau, 2023/10/18