From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56794) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZJpx0-000642-NX for qemu-devel@nongnu.org; Mon, 27 Jul 2015 17:28:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZJpwx-0001et-4R for qemu-devel@nongnu.org; Mon, 27 Jul 2015 17:28:46 -0400 Received: from resqmta-po-10v.sys.comcast.net ([96.114.154.169]:41440) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZJpwx-0001eL-02 for qemu-devel@nongnu.org; Mon, 27 Jul 2015 17:28:43 -0400 From: Eric Blake Date: Mon, 27 Jul 2015 15:28:24 -0600 Message-Id: <1438032506-28477-1-git-send-email-eblake@redhat.com> Subject: [Qemu-devel] [RFC PATCH 0/2] qapi: unbox base classes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Depends on Markus' "[PATCH RFC v2 00/47] qapi: QMP introspection", in particular, based on an idea in 7/47 of that series. Note that if we do this, we must fix patch 27/47 of that series to never omit members of a struct when visiting that struct's fields (that is, the base class of a flat union must be parsed in the same as if that class is also the base of another class). Eric Blake (2): vnc: hoist allocation of VncBasicInfo to callers qapi: unbox base members hmp.c | 6 ++-- scripts/qapi-types.py | 13 ++++++-- scripts/qapi-visit.py | 9 ++++-- tests/test-qmp-commands.c | 15 +++------ tests/test-qmp-event.c | 8 ++--- tests/test-qmp-input-visitor.c | 4 +-- tests/test-qmp-output-visitor.c | 12 +++---- tests/test-visitor-serialization.c | 14 ++++----- ui/spice-core.c | 23 ++++++++------ ui/vnc.c | 64 ++++++++++++++++++++------------------ 10 files changed, 84 insertions(+), 84 deletions(-) -- 2.4.3