Received: from eggs.gnu.org ([2001:4830:134:3::10]:39172) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aOQYi-0007OU-Ik for qemu-devel@nongnu.org; Wed, 27 Jan 2016 08:55:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aOQYd-0002l1-JH for qemu-devel@nongnu.org; Wed, 27 Jan 2016 08:54:56 -0500 Received: from mx1.redhat.com ([209.132.183.28]:41008) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aOQYd-0002ks-EI for qemu-devel@nongnu.org; Wed, 27 Jan 2016 08:54:51 -0500 From: Markus Armbruster Date: Wed, 27 Jan 2016 14:54:45 +0100 Message-Id: <1453902888-20457-1-git-send-email-armbru@redhat.com> In-Reply-To: <1453219845-30939-27-git-send-email-eblake@redhat.com> References: <1453219845-30939-27-git-send-email-eblake@redhat.com> Subject: [Qemu-devel] [PATCH 0/3] qapi-visit: Unify struct and union visit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: marcandre.lureau@redhat.com, mdroth@linux.vnet.ibm.com I got stuck reviewing "[PATCH v9 31/37] qapi-visit: Unify struct and union visit". The result is probably fine, but the patch itself is impenetrable for me. Here's my version. I believe it's really simple to review (but as the author, I'm hopelessly biased). I based on PATCH 26/37 instead of PATCH 30, because I found the empty struct stuff from PACTH 27-30 not useful for this unification job. If we want it for other reasons (I have no opinion, yet), rebasing it onto this series shouldn't be hard. Markus Armbruster (3): qapi-visit: Simplify how we visit common union members qapi-visit: Clean up code generated around visit_end_union() qapi-visit: Unify struct and union visit scripts/qapi-visit.py | 122 +++++++++++++++----------------------------------- 1 file changed, 36 insertions(+), 86 deletions(-) -- 2.4.3