Skip to content

ui/console: chardev backend improvements

Volker Rümelin qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 2 repliesIn review
  2. v13 patches 6 repliesSuperseded

Changes in v2 from the cover letter

Patch "ui/console: replace QEMUFIFO with Fifo8". Renamed the variable free to num_free to help reading the code. (Marc-André)

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4ui/console: replace QEMUFIFO with Fifo8ui/console.c+20 -661 reply
2/4ui/console: replace kbd_timer with chr_accept_input callbackui/console.c+13 -150 replies
3/4ui/console: remove chardev frontend connected testui/console.c+5 -80 replies
4/4ui/console: prevent use after free errorui/console.c+1 -01 reply

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by.

PatchMarc-André Lureau
1/4R-b
2/4R-b
3/4R-b
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/4] ui/console: chardev backend improvements

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(-)
Signature · 1 line
2.31.1