qemu-devel
[Top][All Lists]
Advanced

[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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]