From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51157) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKiuL-00072s-Cy for qemu-devel@nongnu.org; Wed, 06 Jul 2016 05:14:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bKiuH-0000QE-Go for qemu-devel@nongnu.org; Wed, 06 Jul 2016 05:14:12 -0400 Received: from mx1.redhat.com ([209.132.183.28]:43616) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKiuH-0000Q1-8w for qemu-devel@nongnu.org; Wed, 06 Jul 2016 05:14:09 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (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 DF0577F342 for ; Wed, 6 Jul 2016 09:14:08 +0000 (UTC) Received: from blackfin.pond.sub.org (ovpn-116-37.ams2.redhat.com [10.36.116.37]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u669E6HO021384 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Wed, 6 Jul 2016 05:14:08 -0400 From: Markus Armbruster Date: Wed, 6 Jul 2016 11:13:51 +0200 Message-Id: <1467796446-25446-1-git-send-email-armbru@redhat.com> Subject: [Qemu-devel] [PULL 00/15] QAPI patches for 2016-07-06 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org The following changes since commit 791b7d2340cfafcac9af7864343cf23504d57804: Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into staging (2016-07-05 16:48:24 +0100) are available in the git repository at: git://repo.or.cz/qemu/armbru.git tags/pull-qapi-2016-07-06 for you to fetch changes up to b6954712abea03afd686b724060f9873e2c61f2b: replay: Use new QAPI cloning (2016-07-06 10:52:04 +0200) ---------------------------------------------------------------- QAPI patches for 2016-07-06 ---------------------------------------------------------------- Eric Blake (15): qapi: Improve use of qmp/types.h qemu-img: Don't leak errors when outputting JSON qapi: Add parameter to visit_end_* qapi: Add new visit_free() function opts-visitor: Favor new visit_free() function string-input-visitor: Favor new visit_free() function qmp-input-visitor: Favor new visit_free() function string-output-visitor: Favor new visit_free() function qmp-output-visitor: Favor new visit_free() function tests: Clean up test-string-output-visitor tests: Factor out common code in qapi output tests qapi: Add new visit_complete() function qapi: Add new clone visitor sockets: Use new QAPI cloning replay: Use new QAPI cloning block/crypto.c | 30 +++-- block/qapi.c | 9 +- blockdev.c | 9 +- docs/qapi-code-gen.txt | 49 +++------ hmp.c | 19 ++-- hw/acpi/core.c | 8 +- hw/pci/pcie_aer.c | 1 + hw/ppc/spapr_drc.c | 4 +- hw/virtio/virtio-balloon.c | 4 +- include/io/task.h | 2 +- include/qapi/clone-visitor.h | 39 +++++++ include/qapi/dealloc-visitor.h | 5 +- include/qapi/opts-visitor.h | 4 +- include/qapi/qmp-input-visitor.h | 6 +- include/qapi/qmp-output-visitor.h | 12 +- include/qapi/qmp/types.h | 1 - include/qapi/string-input-visitor.h | 5 +- include/qapi/string-output-visitor.h | 14 ++- include/qapi/visitor-impl.h | 26 +++-- include/qapi/visitor.h | 161 ++++++++++++++++++--------- include/qemu/sockets.h | 4 - io/channel-socket.c | 9 +- monitor.c | 6 +- net/net.c | 16 ++- numa.c | 6 +- qapi/Makefile.objs | 2 +- qapi/opts-visitor.c | 38 +++---- qapi/qapi-clone-visitor.c | 182 +++++++++++++++++++++++++++++++ qapi/qapi-dealloc-visitor.c | 61 ++--------- qapi/qapi-visit-core.c | 55 +++++++--- qapi/qmp-dispatch.c | 1 + qapi/qmp-input-visitor.c | 27 ++--- qapi/qmp-output-visitor.c | 56 ++++++---- qapi/string-input-visitor.c | 25 +++-- qapi/string-output-visitor.c | 32 ++++-- qemu-char.c | 5 +- qemu-img.c | 32 +++--- qmp.c | 9 +- qobject/json-parser.c | 7 +- qobject/qjson.c | 6 +- qobject/qobject.c | 7 +- qom/object.c | 58 +++++----- qom/object_interfaces.c | 12 +- qom/qom-qobject.c | 19 ++-- replay/replay-input.c | 34 +----- scripts/qapi-commands.py | 33 ++---- scripts/qapi-event.py | 12 +- scripts/qapi-types.py | 6 +- scripts/qapi-visit.py | 8 +- tests/.gitignore | 1 + tests/Makefile.include | 4 + tests/check-qjson.c | 8 +- tests/check-qnull.c | 17 ++- tests/test-clone-visitor.c | 206 +++++++++++++++++++++++++++++++++++ tests/test-opts-visitor.c | 9 +- tests/test-qmp-commands.c | 8 +- tests/test-qmp-input-strict.c | 13 +-- tests/test-qmp-input-visitor.c | 15 +-- tests/test-qmp-output-visitor.c | 92 ++++++---------- tests/test-string-input-visitor.c | 22 ++-- tests/test-string-output-visitor.c | 99 ++++++++--------- tests/test-visitor-serialization.c | 41 +++---- util/qemu-sockets.c | 27 ----- 63 files changed, 1025 insertions(+), 713 deletions(-) create mode 100644 include/qapi/clone-visitor.h create mode 100644 qapi/qapi-clone-visitor.c create mode 100644 tests/test-clone-visitor.c -- 2.5.5