On 28/10/25 15:25, Peter Maydell wrote:
On Wed, 22 Oct 2025 at 16:14, Philippe Mathieu-Daudé <[email protected]> wrote:

On 22/10/25 17:07, Philippe Mathieu-Daudé wrote:
qemu_chr_write() dispatches to ChardevClass::chr_write(),
and is expected to propagate the backend error, not some
unrelated one produce by "best effort" logfile or replay.
Preserve and return the relevant %errno.

Cc: [email protected]

Suggested-by: Peter Maydell <[email protected]>

...did I? I remember being confused by the errno usage
in these functions but I don't remember what I thought
was the best way to untangle it...

In March when reviewing PL011 TX FIFO patches ;)

https://lore.kernel.org/qemu-devel/CAFEAcA_kEndvNtw4EHySXWwQPoGs029yAzZGGBcV=zghaj7...@mail.gmail.com/

Reply via email to