[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 05/18] ui/vc: console-vc requires PIXMAN
From: |
Paolo Bonzini |
Subject: |
Re: [PATCH v2 05/18] ui/vc: console-vc requires PIXMAN |
Date: |
Tue, 19 Sep 2023 14:54:24 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 |
On 9/18/23 15:51, marcandre.lureau@redhat.com wrote:
return "vc:80Cx24C";
+#else
+ return "null";
Maybe return NULL and then add some heuristics in vl.c:
const char *vc = qemu_display_get_vc(&dpy);
if (nographic ||
(!vc && !is_daemonized() && isatty(STDOUT_FILENO)) {
...
} else {
if (default_serial)
add_device_config(DEV_SERIAL, vc ? vc : "null");
if (default_parallel)
add_device_config(DEV_PARALLEL, vc ? vc : "null");
if (default_monitor && vc)
monitor_parse(vc, "readline", false);
}
This would use a muxed console on stdio if pixman is disabled.
Paolo
- [PATCH v2 00/18] Make Pixman an optional dependency, marcandre . lureau, 2023/09/18
- [PATCH v2 02/18] ui: compile out some qemu-pixman functions when !PIXMAN, marcandre . lureau, 2023/09/18
- [PATCH v2 01/18] build-sys: add a "pixman" feature, marcandre . lureau, 2023/09/18
- [PATCH v2 03/18] ui: add pixman-compat.h, marcandre . lureau, 2023/09/18
- [PATCH v2 05/18] ui/vc: console-vc requires PIXMAN, marcandre . lureau, 2023/09/18
- Re: [PATCH v2 05/18] ui/vc: console-vc requires PIXMAN,
Paolo Bonzini <=
- [PATCH v2 04/18] ui/console: allow to override the default VC, marcandre . lureau, 2023/09/18
- [PATCH v2 08/18] ui/console: when PIXMAN is unavailable, don't draw placeholder msg, marcandre . lureau, 2023/09/18
- [PATCH v2 06/18] qmp/hmp: disable screendump if PIXMAN is missing, marcandre . lureau, 2023/09/18
- [PATCH v2 07/18] virtio-gpu: replace PIXMAN for region/rect test, marcandre . lureau, 2023/09/18
- [PATCH v2 09/18] vhost-user-gpu: skip VHOST_USER_GPU_UPDATE when !PIXMAN, marcandre . lureau, 2023/09/18
- [PATCH v2 10/18] ui/gl: opengl doesn't require PIXMAN, marcandre . lureau, 2023/09/18
- [PATCH v2 11/18] ui/vnc: VNC requires PIXMAN, marcandre . lureau, 2023/09/18
- [PATCH v2 12/18] ui/spice: SPICE/QXL requires PIXMAN, marcandre . lureau, 2023/09/18