QMP full introspection
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest5 patches 22 repliesIn review
- v33 patches 9 repliesSuperseded
- v22 patches 23 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 1 patch | 32 replies | Superseded |
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | qapi: introduce DataObject to describe dynamic structsdocs/ qapi-schema.json | +185 | 1 reply | |
| 2/5 | qapi: add qapi-introspect.py code generator.gitignore Makefile docs/ +1 more | +194 | 5 replies | |
| 3/5 | qobject: introduce qobject_get_str()include/ qobject/ | +20 | 1 reply | |
| 4/5 | qmp: full introspection support for QMPqapi-schema.json qmp-commands.hx qmp.c | +268 | 12 replies | |
| 5/5 | update docs/qmp-full-introspection.txtdocs/ | +38 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.
Cover letter [Qemu-devel] [PATCH v4 0/5] QMP full introspection
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
Signature · 1 line
1.8.4.2