Re: [PATCH for 6.1] ui/gtk: retry sending VTE console input

2021-08-10 Thread Gerd Hoffmann
On Tue, Aug 10, 2021 at 08:32:57AM +0200, Volker Rümelin wrote: > Commit 584af1f1d9 ("ui/gtk: add a keyboard fifo to the VTE > consoles") changed the VTE chardev backend code to rely on the > chr_accept_input() callback function. The code expects a > chr_accept_input() call whenever qemu_chr_be_can

Re: [PATCH for 6.1] ui/gtk: retry sending VTE console input

2021-08-10 Thread Marc-André Lureau
On Tue, Aug 10, 2021 at 10:35 AM Volker Rümelin wrote: > Commit 584af1f1d9 ("ui/gtk: add a keyboard fifo to the VTE > consoles") changed the VTE chardev backend code to rely on the > chr_accept_input() callback function. The code expects a > chr_accept_input() call whenever qemu_chr_be_can_write(

[PATCH for 6.1] ui/gtk: retry sending VTE console input

2021-08-09 Thread Volker Rümelin
Commit 584af1f1d9 ("ui/gtk: add a keyboard fifo to the VTE consoles") changed the VTE chardev backend code to rely on the chr_accept_input() callback function. The code expects a chr_accept_input() call whenever qemu_chr_be_can_write() bytes were written. It turns out this is wrong. Some chardev fr