The first patch is a straightforward bug fix. The rest 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 "qemu-char: Fix ID reuse after chardev-remove for qapi-based init" bug. I include the compatibility gunk anyway, so we can have a more informed discussion. Markus Armbruster (4): qemu-char: Fix ringbuf option size 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 | 28 ++++++++++++++++------------ qemu-options.hx | 6 +++--- 3 files changed, 26 insertions(+), 20 deletions(-) -- 1.7.11.7