Received: from eggs.gnu.org ([2001:4830:134:3::10]:43386) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XFndc-0002Sv-V7 for qemu-devel@nongnu.org; Fri, 08 Aug 2014 13:07:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XFndb-0003iP-Ny for qemu-devel@nongnu.org; Fri, 08 Aug 2014 13:07:32 -0400 Received: from mnementh.archaic.org.uk ([2001:8b0:1d0::1]:48941) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XFndb-0003iJ-H7 for qemu-devel@nongnu.org; Fri, 08 Aug 2014 13:07:31 -0400 From: Peter Maydell Date: Fri, 8 Aug 2014 18:07:25 +0100 Message-Id: <1407517649-11257-1-git-send-email-peter.maydell@linaro.org> Subject: [Qemu-devel] [PATCH 0/4] Convert remaining legacy chardevs to parse/kind List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Paolo Bonzini , Gerd Hoffmann , Markus Armbruster This patchset converts the two remaining legacy chardevs ('socket' and 'udp') to use the new-style parse/kind mechanisms, and removes all the no-longer-required legacy machinery. Patch 1 was posted to the list back in June (https://patches.linaro.org/32298/). I've fixed the obvious bug picked up in code review, and as far as I can tell from the thread we decided that the blocking/non-blocking difference between QAPI and legacy wasn't a problem. Patch 2 fixes a hole in the functionality of QAPI-described UDP chardevs, to avoid regressing the commandline functionality when we convert the UDP backend in patch 3. Patch 4 may be easier to review as an ignore-whitespaces diff (the de-indentation makes the diff a bit awkward). Peter Maydell (4): qemu-char: Convert socket char backend to parse/kind util/qemu-sockets.c: Support specifying IPv4 or IPv6 in socket_dgram() qemu-char: Convert udp char backend to parse/kind qemu-char: Remove register_char_driver() machinery include/sysemu/char.h | 1 - qemu-char.c | 309 ++++++++++++++++++++++++-------------------------- util/qemu-sockets.c | 3 +- 3 files changed, 151 insertions(+), 162 deletions(-) -- 1.9.1