Received: from eggs.gnu.org ([2001:4830:134:3::10]:54806) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uz2do-00062G-LR for qemu-devel@nongnu.org; Tue, 16 Jul 2013 06:37:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uz2dn-0006xh-AT for qemu-devel@nongnu.org; Tue, 16 Jul 2013 06:37:56 -0400 Received: from mx1.redhat.com ([209.132.183.28]:15366) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uz2dm-0006xa-Vo for qemu-devel@nongnu.org; Tue, 16 Jul 2013 06:37:55 -0400 From: Amos Kong Date: Tue, 16 Jul 2013 18:37:40 +0800 Message-Id: <1373971062-28909-1-git-send-email-akong@redhat.com> Subject: [Qemu-devel] [PATCH v2 0/2] QMP full introspection List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: pbonzini@redhat.com, aliguori@us.ibm.com, armbru@redhat.com, lcapitulino@redhat.com This is an implement of qmp full-introspection, parse and convert the json string to a dynamical tree, return it to management through QMP command output. Anthony has another suggestion: http://lists.nongnu.org/archive/html/qemu-devel/2013-07/msg01903.html The whole output of query-qmp-schema command: https://raw.github.com/kongove/misc/master/txt/query-qmp-schema.txt Welcome your comments! Amos Kong (2): qapi: change qapi to convert schema json full introspection support for QMP Makefile | 5 +- docs/qmp-full-introspection.txt | 143 +++++++++++++++++++ qapi-schema.json | 69 +++++++++ qmp-commands.hx | 39 +++++ qmp.c | 307 ++++++++++++++++++++++++++++++++++++++++ scripts/qapi-commands.py | 2 +- scripts/qapi-types.py | 47 +++++- scripts/qapi-visit.py | 2 +- scripts/qapi.py | 4 +- 9 files changed, 611 insertions(+), 7 deletions(-) create mode 100644 docs/qmp-full-introspection.txt -- 1.8.3.1