Since commit 8eb13bbbac ("ui/gtk: vte: fix sending multiple
characeters") it's very easy to lock up QEMU with the gtk ui.
If you configure a guest with a serial device and the guest
doesn't listen on this device, QEMU will lock up after
entering two characters in the serial console.
Patch 1/2 is a bug fix for 6.1.
Patch 2/2 is a preview for 6.2. If there are no objections, I
will resend this patch for the 6.2 development cycle together
with changes to ui/console similar to the changes in patch 1/2.
This will remove the QEMUFIFO code in ui/console.c.
Volker Rümelin (2):
ui/gtk: add a keyboard fifo to the VTE consoles
ui/gtk: drop chars if the chardev frontend makes no progress
include/ui/gtk.h | 7 ++++
ui/gtk.c | 84 +++++++++++++++++++++++++++++++++++++++++++-----
2 files changed, 83 insertions(+), 8 deletions(-)
--
2.26.2