qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 0/3] qemu-char: ringbuf fixes
@ 2013-07-26 14:44 Markus Armbruster
  2013-07-26 14:44 ` [Qemu-devel] [PATCH v2 1/3] Revert "chardev: Make the name of memory device consistent" Markus Armbruster
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Markus Armbruster @ 2013-07-26 14:44 UTC (permalink / raw)
  To: qemu-devel; +Cc: aliguori, lilei, lcapitulino, kraxel, akong

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(-)

-- 
1.7.11.7

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

end of thread, other threads:[~2013-07-29 20:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-26 14:44 [Qemu-devel] [PATCH v2 0/3] qemu-char: ringbuf fixes Markus Armbruster
2013-07-26 14:44 ` [Qemu-devel] [PATCH v2 1/3] Revert "chardev: Make the name of memory device consistent" Markus Armbruster
2013-07-26 14:44 ` [Qemu-devel] [PATCH v2 2/3] qemu-char: Register ring buffer driver with correct name "ringbuf" Markus Armbruster
2013-07-26 14:44 ` [Qemu-devel] [PATCH v2 3/3] qapi: Rename ChardevBackend member "memory" to "ringbuf" Markus Armbruster
2013-07-26 15:06 ` [Qemu-devel] [PATCH v2 0/3] qemu-char: ringbuf fixes Eric Blake
2013-07-29 20:24 ` Anthony Liguori

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).