[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] chardev/char-pty: Avoid losing bytes when the other side jus
From: |
Amaury Pouly |
Subject: |
Re: [PATCH] chardev/char-pty: Avoid losing bytes when the other side just (re-)connected |
Date: |
Wed, 23 Aug 2023 10:44:54 +0100 |
>> When starting a guest via libvirt with "virsh start --console ...",
>> the first second of the console output is missing. This is especially
>> annoying on s390x that only has a text console by default and no graphical
>> output - if the bios fails to boot here, the information about what went
>> wrong is completely lost.
Hi, we recently ran into this problem in a different scenario where we
manually invoke QEMU and connect to the PTY before starting the machine.
With the existing code, we have to add a one second delay before starting just
to make sure that we capture the early boot message. We are now running a
patched version of QEMU with pretty much the same change as yours and it seems
to work well. We are very interested in seeing this change, or a variant
thereof merged.
Re: [PATCH] chardev/char-pty: Avoid losing bytes when the other side just (re-)connected,
Amaury Pouly <=