Red Hat Bugzilla – Bug 557939
QMP: Full introspection support
Last modified: 2016-07-25 05:50:04 EDT
In order to have full forward compatibility support, QMP needs to be capable of
This means that we need commands to dump the following protocol information:
o Accepted commands, arguments, responses and errors
o Asynchronous messages and their data
o Protocol capabilities
JSON schema (http://json-schema.org/) has been chosen as the format for this.
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release. Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release. This request is not yet committed for
Likely to be rhel7.0 material.
Related bug 647516.
Depends on upstream QAPI schema work. Moving to RHEL-7.
*** Bug 963590 has been marked as a duplicate of this bug. ***
Amos, it's interesting to note our original expectation for this feature. We don't need to dump errors anymore (this is not even possible today), but we certainly need to dump events.
1. Move events to the schema and dump them along
2. Extend query-events with argument information
I prefer option 1, but you don't need to do this right now. IMO, it would be acceptable to work on command/types introspection first and after that add the events.
send a draft patch to upstream:
*** Bug 953844 has been marked as a duplicate of this bug. ***
Deferring to 7.1. It almost matured upstream, but not finished yet.
Posted V4 to upstream:
[Qemu-devel] [PATCH v4 0/5] QMP full introspection
*** Bug 647516 has been marked as a duplicate of this bug. ***
Need to defer once again.
Still not settled upstream. Need to simplify and clean the solution.
Upstream goal is to crack the problem in the 2.4 development cycle,
[PATCH RFC 00/19] qapi: QMP introspection
Since few RFC patches survive review unscathed, I have to reserve
judgement on feasibility of a backport.
Missed upstream 2.4, now on track for 2.5.
No doc text needed, because direct use of QMP isn't supported.