All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v4 0/5] QMP full introspection
@ 2014-01-23 14:46 Amos Kong
  2014-01-23 14:46 ` [Qemu-devel] [PATCH v4 1/5] qapi: introduce DataObject to describe dynamic structs Amos Kong
                   ` (5 more replies)
  0 siblings, 6 replies; 28+ messages in thread
From: Amos Kong @ 2014-01-23 14:46 UTC (permalink / raw)
  To: qemu-devel; +Cc: qiaonuohan, lcapitulino, mdroth, xiawenc

This is an implement of qmp full-introspection,
parse and convert the json schema to a dynamical tree,
return it to management through QMP command output.

The whole output of query-qmp-schema command:
 http://i-kvm.rhcloud.com/static/pub/v4/qmp-introspection.output.txt
 http://i-kvm.rhcloud.com/static/pub/v4/qmp-introspection.h

Welcome your comments!

V2: use 'DataObject' to describe dynamic struct
V3: improve the metadata as suggested by eric
V4: use python to extend/parse schema for improving
    the response speed and simple the code 

Amos Kong (5):
  qapi: introduce DataObject to describe dynamic structs
  qapi: add qapi-introspect.py code generator
  qobject: introduce qobject_get_str()
  qmp: full introspection support for QMP
  update docs/qmp-full-introspection.txt

 .gitignore                      |   1 +
 Makefile                        |   5 +-
 docs/qmp-full-introspection.txt |  99 ++++++++++++++++++
 include/qapi/qmp/qstring.h      |   1 +
 qapi-schema.json                | 152 ++++++++++++++++++++++++++++
 qmp-commands.hx                 |  42 ++++++++
 qmp.c                           | 215 ++++++++++++++++++++++++++++++++++++++++
 qobject/qstring.c               |  19 ++++
 scripts/qapi-introspect.py      | 172 ++++++++++++++++++++++++++++++++
 9 files changed, 705 insertions(+), 1 deletion(-)
 create mode 100644 docs/qmp-full-introspection.txt
 create mode 100644 scripts/qapi-introspect.py

-- 
1.8.4.2

^ permalink raw reply	[flat|nested] 28+ messages in thread

end of thread, other threads:[~2014-02-11  0:36 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-23 14:46 [Qemu-devel] [PATCH v4 0/5] QMP full introspection Amos Kong
2014-01-23 14:46 ` [Qemu-devel] [PATCH v4 1/5] qapi: introduce DataObject to describe dynamic structs Amos Kong
2014-02-03 19:56   ` Eric Blake
2014-01-23 14:46 ` [Qemu-devel] [PATCH v4 2/5] qapi: add qapi-introspect.py code generator Amos Kong
2014-01-24  9:12   ` Fam Zheng
2014-01-24  9:34     ` Amos Kong
2014-01-26  4:51       ` Amos Kong
2014-02-04  0:15   ` Eric Blake
2014-02-11  0:35     ` Eric Blake
2014-01-23 14:46 ` [Qemu-devel] [PATCH v4 3/5] qobject: introduce qobject_get_str() Amos Kong
2014-02-04  0:20   ` Eric Blake
2014-01-23 14:46 ` [Qemu-devel] [PATCH v4 4/5] qmp: full introspection support for QMP Amos Kong
2014-01-24 10:48   ` Fam Zheng
2014-01-27  8:17     ` Amos Kong
2014-01-27  8:50       ` Amos Kong
2014-01-27  9:38       ` Paolo Bonzini
2014-01-27 10:07         ` Amos Kong
2014-01-27 10:15           ` Paolo Bonzini
2014-01-27 10:46         ` Fam Zheng
2014-01-28 10:45           ` Amos Kong
2014-01-28 11:14             ` Paolo Bonzini
2014-01-28 13:58               ` Eric Blake
2014-01-29  8:12                 ` Fam Zheng
2014-02-04  0:33   ` Eric Blake
2014-01-23 14:46 ` [Qemu-devel] [PATCH v4 5/5] update docs/qmp-full-introspection.txt Amos Kong
2014-01-24 11:43   ` Paolo Bonzini
2014-01-24 13:07     ` Eric Blake
2014-01-24  8:42 ` [Qemu-devel] [PATCH v4 0/5] QMP full introspection Amos Kong

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.