From: Amos Kong <akong@redhat.com>
To: qemu-devel@nongnu.org
Cc: mdroth@linux.vnet.ibm.com, qiaonuohan@cn.fujitsu.com,
xiawenc@linux.vnet.ibm.com, lcapitulino@redhat.com
Subject: [Qemu-devel] [PATCH v3 0/3] QMP full introspection
Date: Sun, 5 Jan 2014 20:02:28 +0800 [thread overview]
Message-ID: <1388923351-10556-1-git-send-email-akong@redhat.com> (raw)
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.
The whole output of query-qmp-schema command:
https://raw.github.com/kongove/misc/master/txt/qmp-introspection.output.txt
Welcome your comments!
V2: use 'DataObject' to describe dynamic struct
V3: improve the metadata as suggested by eric
Amos Kong (3):
qapi: cleanup redundant variable
qapi: change qapi to convert schema json
qmp: full introspection support for QMP
Makefile | 5 +-
docs/qmp-full-introspection.txt | 97 ++++++++++
qapi-schema.json | 150 ++++++++++++++++
qmp-commands.hx | 43 ++++-
qmp.c | 382 ++++++++++++++++++++++++++++++++++++++++
scripts/qapi-commands.py | 2 +-
scripts/qapi-types.py | 48 ++++-
scripts/qapi-visit.py | 2 +-
scripts/qapi.py | 23 ++-
9 files changed, 737 insertions(+), 15 deletions(-)
create mode 100644 docs/qmp-full-introspection.txt
--
1.8.4.2
next reply other threads:[~2014-01-05 12:03 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-05 12:02 Amos Kong [this message]
2014-01-05 12:02 ` [Qemu-devel] [PATCH v3 1/3] qapi: cleanup redundant variable Amos Kong
2014-01-05 12:02 ` [Qemu-devel] [PATCH v3 2/3] qapi: change qapi to convert schema json Amos Kong
2014-01-06 7:53 ` Fam Zheng
2014-01-06 10:11 ` Fam Zheng
2014-01-22 18:06 ` Luiz Capitulino
2014-01-23 3:05 ` Amos Kong
2014-01-23 3:25 ` Amos Kong
2014-01-23 13:30 ` Luiz Capitulino
2014-01-05 12:02 ` [Qemu-devel] [PATCH v3 3/3] qmp: full introspection support for QMP Amos Kong
2014-01-06 9:37 ` Fam Zheng
2014-01-09 9:49 ` Amos Kong
2014-01-22 18:18 ` Luiz Capitulino
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1388923351-10556-1-git-send-email-akong@redhat.com \
--to=akong@redhat.com \
--cc=lcapitulino@redhat.com \
--cc=mdroth@linux.vnet.ibm.com \
--cc=qemu-devel@nongnu.org \
--cc=qiaonuohan@cn.fujitsu.com \
--cc=xiawenc@linux.vnet.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).