ToDo/QMP
redo/fix query-command-line-options
Redhat Bug 1058567 - query-command-line-options command lost some options
Developer: Amos Kong <akong AT redhat.com>
Upstream discussion:
QemuOpt is a new interface, not all the options have arguments converted to this interface. Some legacy options were lost (Upstream can accept this legacy issue). But currently some new options without arguments was lost in the return output, this should be fixed.
Problem exists in current query-command-line-options:
- some new options haven't arguments can't be queried. (eg: -enable-fips)
- some legcy options have arguments can't be queried. (eg: -vnc display)
Patches:
- V1: http://lists.nongnu.org/archive/html/qemu-devel/2014-01/msg03660.html
- V6: http://lists.nongnu.org/archive/html/qemu-devel/2014-03/msg05222.html
Add full introspection support
This is about adding a command which returns all QMP types, commands (input and output parameters) and events.
Redhat Bug 557939 - QMP: Full introspection support
target: 1.6 (failed) target: 1.8 (....)
Amos Kong is working on this:
- V1: http://marc.info/?l=qemu-devel&m=137059998004419&w=2
- V2: https://lists.gnu.org/archive/html/qemu-devel/2013-07/msg02494.html
- V4: http://marc.info/?l=qemu-devel&m=139048842504757&w=2
V5: reduce the output size, improve the speed
more:
- convert events to qapi-schema.json, support query of events
Generate doc from qapi-schema.json
The qapi-schema.json file contains full QMP documentation, but it's in JSON format. We should be able to generate a human friendlier doc from it (eg. a manpage).