Skip to content

qemu-char: ringbuf fixes

Markus Armbruster qemu-devel 2 versions – Applied

Status from this message: Applied. Thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 2 repliesApplied
  2. v14 patches 16 repliesApplied

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/3Revert "chardev: Make the name of memory device consistent"qapi-schema.json qemu-char.c qemu-options.hx+14 -140 replies
2/3qemu-char: Register ring buffer driver with correct name "ringbuf"qemu-char.c+4 -10 replies
3/3qapi: Rename ChardevBackend member "memory" to "ringbuf"qapi-schema.json qemu-char.c+10 -70 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchEric Blake
SeriesR-b
1/3
2/3
3/3

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

Read the v2 thread

Cover letter [Qemu-devel] [PATCH v2 0/3] qemu-char: ringbuf fixes

Fix code to match documentation. The patches take pains to preserve command-line, HMP and QMP bug-compatibility. I'm not sure that's actually needed, because:

* All: the documented way to use the driver never worked in any released version, and the way that worked was undocumented.

* QMP: I doubt anyone used chardev-add / chardev-remove in anger, because serious use surely would've run into the bug fixed in commit commit 2ea3e2c "qemu-char: Fix ID reuse after chardev-remove for qapi-based init".

I include the compatibility gunk anyway, so we can have a more informed discussion.

You might want to apply this after my "Our QAPI parser is a hack, replace it" series, so the indented comment in PATCH 3/3 works by design rather than accident.

v2: Trivially rebased

Markus Armbruster (3):
Revert "chardev: Make the name of memory device consistent"
qemu-char: Register ring buffer driver with correct name "ringbuf"
qapi: Rename ChardevBackend member "memory" to "ringbuf"

 qapi-schema.json | 12 +++++++-----
 qemu-char.c      | 26 +++++++++++++++-----------
 qemu-options.hx  |  6 +++---
 3 files changed, 25 insertions(+), 19 deletions(-)
Signature · 1 line
1.7.11.7