A few things I learnt while writing a fix for a chardev bug in the GTK backend.
v2: Patch "ui/console: replace QEMUFIFO with Fifo8". Renamed the variable free to num_free to help reading the code. (Marc-André) New patch "ui/console: prevent use after free error". ui/gtk.c needs a similar patch. I'll take care of it. Volker Rümelin (4): ui/console: replace QEMUFIFO with Fifo8 ui/console: replace kbd_timer with chr_accept_input callback ui/console: remove chardev frontend connected test ui/console: prevent use after free error ui/console.c | 110 ++++++++++++++------------------------------------- 1 file changed, 30 insertions(+), 80 deletions(-) -- 2.31.1