qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH v4 0/5] QMP full introspection


From: Amos Kong
Subject: [Qemu-devel] [PATCH v4 0/5] QMP full introspection
Date: Thu, 23 Jan 2014 22:46:31 +0800

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]