From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54054) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b0lWi-0000sx-Ko for qemu-devel@nongnu.org; Thu, 12 May 2016 03:59:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b0lWb-0006Iq-Tf for qemu-devel@nongnu.org; Thu, 12 May 2016 03:59:19 -0400 Received: from mx1.redhat.com ([209.132.183.28]:45629) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b0lWb-0006Ia-L2 for qemu-devel@nongnu.org; Thu, 12 May 2016 03:59:13 -0400 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 173D4BBB42 for ; Thu, 12 May 2016 07:59:13 +0000 (UTC) Received: from blackfin.pond.sub.org (ovpn-116-35.ams2.redhat.com [10.36.116.35]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u4C7xARP024012 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Thu, 12 May 2016 03:59:12 -0400 From: Markus Armbruster Date: Thu, 12 May 2016 09:58:47 +0200 Message-Id: <1463039950-4021-1-git-send-email-armbru@redhat.com> Subject: [Qemu-devel] [PULL 00/23] QAPI patches for 2016-05-12 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org The following changes since commit bfc766d38e1fae5767d43845c15c79ac8fa6d6af: Update version for v2.6.0 release (2016-05-11 16:44:26 +0100) are available in the git repository at: git://repo.or.cz/qemu/armbru.git tags/pull-qapi-2016-05-12 for you to fetch changes up to 68ab47e4b4ecc1c4649362b8cc1e49794d1a6537: qapi: Change visit_type_FOO() to no longer return partial objects (2016-05-12 09:47:55 +0200) ---------------------------------------------------------------- QAPI patches for 2016-05-12 ---------------------------------------------------------------- Eric Blake (22): qapi-visit: Add visitor.type classification qapi: Guarantee NULL obj on input visitor callback error qmp: Drop dead command->type qmp-input: Clean up stack handling qapi: Consolidate QMP input visitor creation qapi: Use strict QMP input visitor in more places qmp-input: Don't consume input when checking has_member qapi-commands: Wrap argument visit in visit_start_struct qom: Wrap prop visit in visit_start_struct qmp-input: Require struct push to visit members of top dict qmp-input: Refactor when list is advanced qapi: Document visitor interfaces, add assertions tests: Add check-qnull qapi: Add visit_type_null() visitor qmp: Support explicit null during visits spapr_drc: Expose 'null' in qom-get when there is no fdt qmp: Don't reuse qmp visitor after grabbing output qmp: Tighten output visitor rules qapi: Split visit_end_struct() into pieces qapi: Fix string input visitor handling of invalid list qapi: Simplify semantics of visit_next_list() qapi: Change visit_type_FOO() to no longer return partial objects Markus Armbruster (1): tests/string-input-visitor: Add negative integer tests block/crypto.c | 14 +- docs/qapi-code-gen.txt | 44 +++- hw/ppc/spapr_drc.c | 11 +- hw/virtio/virtio-balloon.c | 15 +- include/qapi/dealloc-visitor.h | 5 + include/qapi/opts-visitor.h | 5 + include/qapi/qmp-input-visitor.h | 9 +- include/qapi/qmp/dispatch.h | 6 - include/qapi/string-input-visitor.h | 5 + include/qapi/string-output-visitor.h | 5 + include/qapi/visitor-impl.h | 81 ++++-- include/qapi/visitor.h | 493 +++++++++++++++++++++++++++++++++-- qapi/opts-visitor.c | 70 ++--- qapi/qapi-dealloc-visitor.c | 43 +-- qapi/qapi-visit-core.c | 111 ++++++-- qapi/qmp-dispatch.c | 18 +- qapi/qmp-input-visitor.c | 189 ++++++++------ qapi/qmp-output-visitor.c | 63 +++-- qapi/qmp-registry.c | 1 - qapi/string-input-visitor.c | 49 ++-- qapi/string-output-visitor.c | 43 ++- qmp.c | 2 +- qom/object.c | 5 +- qom/object_interfaces.c | 42 +-- qom/qom-qobject.c | 3 +- replay/replay-input.c | 2 +- scripts/qapi-commands.py | 12 +- scripts/qapi-event.py | 5 +- scripts/qapi-visit.py | 53 ++-- tests/.gitignore | 1 + tests/Makefile | 6 +- tests/check-qnull.c | 75 ++++++ tests/test-qmp-commands.c | 15 +- tests/test-qmp-input-strict.c | 21 +- tests/test-qmp-input-visitor.c | 42 ++- tests/test-qmp-output-visitor.c | 35 ++- tests/test-string-input-visitor.c | 23 +- tests/test-visitor-serialization.c | 2 +- util/qemu-sockets.c | 2 +- 39 files changed, 1196 insertions(+), 430 deletions(-) create mode 100644 tests/check-qnull.c -- 2.5.5