Red Hat Bugzilla – Bug 963590
Full introspection support for QMP: query-qmp-schema
Last modified: 2015-05-24 20:07:15 EDT
One important feature for QMP in 1.6 is full introspection support.
By that we mean having a command like query-qmp-schema which returns the contents of qapi-schema.json in json format. The query-command-line-options command is a simple example of such a command.
qapi-schema.json is processed by qapi python scripts to generate C
files, I found the content is good enough for Libvirt to know the
QMP command schema. We can change qapi scripts to generate a talbe/list
to record the raw string, then we can return the raw string in
Amos, it turns out that we already have a BZ for this. I'm going to close this one as a dupe and re-assign the original one to you. Feel free to add new information as a comment.
*** This bug has been marked as a duplicate of bug 557939 ***