From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48176) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UsD5W-0004JN-T3 for qemu-devel@nongnu.org; Thu, 27 Jun 2013 10:22:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UsD5R-0004DK-LT for qemu-devel@nongnu.org; Thu, 27 Jun 2013 10:22:18 -0400 Received: from oxygen.pond.sub.org ([2a01:4f8:121:10e4::3]:39125) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UsD5R-0004CV-Ek for qemu-devel@nongnu.org; Thu, 27 Jun 2013 10:22:13 -0400 From: Markus Armbruster Date: Thu, 27 Jun 2013 16:22:06 +0200 Message-Id: <1372342930-28684-1-git-send-email-armbru@redhat.com> Subject: [Qemu-devel] [PATCH 0/4] qemu-char: ringbuf fixes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: aliguori@us.ibm.com, lilei@linux.vnet.ibm.com, kraxel@redhat.com, lcapitulino@redhat.com 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