Bug 1283895

Summary: QMP: Full introspection support
Product: Red Hat Enterprise Linux 7 Reporter: Markus Armbruster <armbru>
Component: qemu-kvmAssignee: Markus Armbruster <armbru>
Status: CLOSED WONTFIX QA Contact: jingzhao <jinzhao>
Severity: medium Docs Contact:
Priority: low    
Version: 7.0CC: ailan, areis, berrange, gcosta, huding, juzhang, knoel, lcapitulino, michen, qzhang, rbalakri, tburke, virt-bugs, virt-maint
Target Milestone: betaKeywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 557939 Environment:
Last Closed: 2017-10-06 16:47:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 557939    
Bug Blocks: 580953, 643055, 693512, 821045, 950968, 1059069, 1394681    

Comment 1 Markus Armbruster 2015-11-20 08:16:05 UTC
In order to have full forward compatibility support, QMP needs to be capable of
describing itself.

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
o Errors

The work has now landed upstream (commit 39a1815 "qapi: New QMP
command query-qmp-schema for QMP introspection" and commit 1a9a507
"qapi-introspect: Hide type names") and will be in 2.5.

This bug is for tracking a possible backport to qemu-kvm.

Comment 3 Markus Armbruster 2015-11-30 09:14:51 UTC
No doc text needed, because direct use of QMP isn't supported.

Comment 4 Markus Armbruster 2016-07-22 07:38:00 UTC
A backport will be non-trivial.  It should only be undertaken if there's actual demand.  As long as there isn't, we'll keep punting this bug.