qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] ui/gtk: prevent QEMU lock up
@ 2021-07-18  7:46 Volker Rümelin
  2021-07-18  7:47 ` [PATCH for 6.1 1/2] ui/gtk: add a keyboard fifo to the VTE consoles Volker Rümelin
  2021-07-18  7:47 ` [PATCH for 6.2 2/2] ui/gtk: drop chars if the chardev frontend makes no progress Volker Rümelin
  0 siblings, 2 replies; 11+ messages in thread
From: Volker Rümelin @ 2021-07-18  7:46 UTC (permalink / raw)
  To: Gerd Hoffmann; +Cc: Zack Marvel, qemu-devel

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



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2021-07-21 21:13 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-18  7:46 [PATCH 0/2] ui/gtk: prevent QEMU lock up Volker Rümelin
2021-07-18  7:47 ` [PATCH for 6.1 1/2] ui/gtk: add a keyboard fifo to the VTE consoles Volker Rümelin
2021-07-18 13:00   ` Peter Maydell
2021-07-19  9:20     ` Daniel P. Berrangé
2021-07-19 18:22     ` Volker Rümelin
2021-07-19 18:37       ` Peter Maydell
2021-07-19 18:41         ` Daniel P. Berrangé
2021-07-19 18:52           ` Peter Maydell
2021-07-21 12:39   ` Gerd Hoffmann
2021-07-21 21:11     ` Volker Rümelin
2021-07-18  7:47 ` [PATCH for 6.2 2/2] ui/gtk: drop chars if the chardev frontend makes no progress Volker Rümelin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).