Re: [PATCH v2 1/2] hw/char: riscv_htif: Use blocking qemu_chr_fe_write_all

2024-09-02 Thread Thomas Huth
On 19/08/2024 13.31, Alistair Francis wrote: The current approach of using qemu_chr_fe_write() and ignoring the return values results in dropped charecters [1]. Ideally we want to s/charecters/characters/ report FIFO status to the guest, but the HTIF isn't a real UART, so we don't really have

[PATCH v2 1/2] hw/char: riscv_htif: Use blocking qemu_chr_fe_write_all

2024-08-19 Thread Alistair Francis
The current approach of using qemu_chr_fe_write() and ignoring the return values results in dropped charecters [1]. Ideally we want to report FIFO status to the guest, but the HTIF isn't a real UART, so we don't really have a way to do that. Instead let's just use qemu_chr_fe_write_all() so at lea