From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54819) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YoEr7-00037z-5i for qemu-devel@nongnu.org; Fri, 01 May 2015 13:36:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YoEr0-000509-Kd for qemu-devel@nongnu.org; Fri, 01 May 2015 13:36:05 -0400 Received: from mx1.redhat.com ([209.132.183.28]:40850) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YoEr0-000504-FT for qemu-devel@nongnu.org; Fri, 01 May 2015 13:35:58 -0400 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (Postfix) with ESMTPS id 2273E91743 for ; Fri, 1 May 2015 17:35:58 +0000 (UTC) Date: Fri, 1 May 2015 13:16:15 -0400 From: Luiz Capitulino Message-ID: <20150501131615.39dbaeef@redhat.com> In-Reply-To: <1430343306-6152-1-git-send-email-eblake@redhat.com> References: <1430343306-6152-1-git-send-email-eblake@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2 0/3] parse 'null' literal in QMP List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eric Blake Cc: kwolf@redhat.com, qemu-devel@nongnu.org, armbru@redhat.com On Wed, 29 Apr 2015 15:35:03 -0600 Eric Blake wrote: > Here's my attempt to merge the best points of Markus' approach [1] > (patches 16-18 of that series - benefit of smaller patches and fewer > malloc calls) and my approach [2] (benefit of a testsuite addition > and more detailed commit messages), while fixing the typos that both > of us had in v1. > > [1]https://lists.gnu.org/archive/html/qemu-devel/2015-04/msg00342.html > [2]https://lists.gnu.org/archive/html/qemu-devel/2015-04/msg00623.html Applied to the qmp branch, thanks. > > Eric Blake (1): > json-parser: Accept 'null' in QMP > > Markus Armbruster (2): > qobject: Clean up around qtype_code > qobject: Add a special null QObject > > block/qapi.c | 3 --- > include/hw/qdev-core.h | 2 +- > include/qapi/qmp/qobject.h | 13 +++++++++++-- > qobject/Makefile.objs | 2 +- > qobject/json-parser.c | 2 ++ > qobject/qjson.c | 6 ++++-- > qobject/qnull.c | 29 +++++++++++++++++++++++++++++ > tests/check-qjson.c | 15 +++++++++++++-- > 8 files changed, 61 insertions(+), 11 deletions(-) > create mode 100644 qobject/qnull.c >