From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36361) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWk0m-0002hI-16 for qemu-devel@nongnu.org; Fri, 19 Feb 2016 07:18:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aWk0g-0007Zg-R2 for qemu-devel@nongnu.org; Fri, 19 Feb 2016 07:18:15 -0500 Received: from mx1.redhat.com ([209.132.183.28]:35807) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWk0g-0007ZF-Jn for qemu-devel@nongnu.org; Fri, 19 Feb 2016 07:18:10 -0500 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (Postfix) with ESMTPS id 62EAB8F50E for ; Fri, 19 Feb 2016 12:18:09 +0000 (UTC) Received: from blackfin.pond.sub.org (ovpn-116-67.ams2.redhat.com [10.36.116.67]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u1JCI7IL014844 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Fri, 19 Feb 2016 07:18:08 -0500 From: Markus Armbruster Date: Fri, 19 Feb 2016 13:17:51 +0100 Message-Id: <1455884286-26272-1-git-send-email-armbru@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PULL 00/15] QAPI patches for 2016-02-19 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org The following changes since commit dd5e38b19d7cb07d317e1285941d8245c01da5= 40: Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-201= 60218-1' into staging (2016-02-18 15:20:35 +0000) are available in the git repository at: git://repo.or.cz/qemu/armbru.git tags/pull-qapi-2016-02-19 for you to fetch changes up to dbf11922622685934bfb41e7cf2be9bd4a0405c0: qapi: Change visit_start_implicit_struct to visit_start_alternate (2016= -02-19 11:08:57 +0100) ---------------------------------------------------------------- QAPI patches for 2016-02-19 ---------------------------------------------------------------- Eric Blake (13): qapi-visit: Honor prefix of discriminator enum qapi: Simplify excess input reporting in input visitors qapi: Forbid empty unions and useless alternates qapi: Forbid 'any' inside an alternate qapi: Add tests of complex objects within alternate qapi: Visit variants in visit_type_FOO_fields() qapi-visit: Less indirection in visit_type_Foo_fields() qapi: Adjust layout of FooList types qapi: Emit structs used as variants in topological order qapi-visit: Use common idiom in gen_visit_fields_decl() qapi: Don't box struct branch of alternate qapi: Don't box branches of flat unions qapi: Change visit_start_implicit_struct to visit_start_alternate Markus Armbruster (2): qapi-visit: Simplify how we visit common union members qapi-visit: Unify struct and union visit cpus.c | 18 +-- docs/qapi-code-gen.txt | 15 +- hmp.c | 12 +- include/qapi/visitor-impl.h | 21 ++- include/qapi/visitor.h | 63 +++++--- qapi/opts-visitor.c | 16 +- qapi/qapi-dealloc-visitor.c | 42 +----- qapi/qapi-visit-core.c | 45 ++---- qapi/qmp-input-visitor.c | 43 +++--- qapi/qmp-output-visitor.c | 3 +- qapi/string-input-visitor.c | 4 +- qapi/string-output-visitor.c | 2 +- scripts/qapi-types.py | 33 +++-- scripts/qapi-visit.py | 253 ++++++++++++--------------= ------ scripts/qapi.py | 29 +++- tests/Makefile | 1 + tests/qapi-schema/alternate-any.err | 1 + tests/qapi-schema/alternate-any.exit | 1 + tests/qapi-schema/alternate-any.json | 4 + tests/qapi-schema/alternate-any.out | 0 tests/qapi-schema/alternate-empty.err | 1 + tests/qapi-schema/alternate-empty.exit | 2 +- tests/qapi-schema/alternate-empty.json | 2 +- tests/qapi-schema/alternate-empty.out | 5 - tests/qapi-schema/flat-union-empty.err | 1 + tests/qapi-schema/flat-union-empty.exit | 2 +- tests/qapi-schema/flat-union-empty.json | 2 +- tests/qapi-schema/flat-union-empty.out | 9 -- tests/qapi-schema/qapi-schema-test.json | 13 +- tests/qapi-schema/qapi-schema-test.out | 11 +- tests/qapi-schema/union-empty.err | 1 + tests/qapi-schema/union-empty.exit | 2 +- tests/qapi-schema/union-empty.json | 2 +- tests/qapi-schema/union-empty.out | 6 - tests/test-qmp-input-visitor.c | 39 ++++- tests/test-qmp-output-visitor.c | 27 +++- 36 files changed, 358 insertions(+), 373 deletions(-) create mode 100644 tests/qapi-schema/alternate-any.err create mode 100644 tests/qapi-schema/alternate-any.exit create mode 100644 tests/qapi-schema/alternate-any.json create mode 100644 tests/qapi-schema/alternate-any.out --=20 2.4.3