Bug 557939 - QMP: Full introspection support
QMP: Full introspection support
Status: ON_QA
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: qemu-kvm-rhev (Show other bugs)
7.0
All Linux
low Severity medium
: beta
: ---
Assigned To: Markus Armbruster
CongLi
:
: 647516 953844 963590 (view as bug list)
Depends On:
Blocks: 693512 1283895 559201 580953 QMPSelfDescr 821045 950968 1059069
  Show dependency treegraph
 
Reported: 2010-01-22 15:33 EST by Luiz Capitulino
Modified: 2016-07-25 05:50 EDT (History)
11 users (show)

See Also:
Fixed In Version: qemu-kvm-rhev-2.5.0-1.el7
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1283895 (view as bug list)
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Luiz Capitulino 2010-01-22 15:33:26 EST
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

JSON schema (http://json-schema.org/) has been chosen as the format for this.
Comment 1 RHEL Product and Program Management 2010-01-22 15:36:16 EST
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
inclusion.
Comment 4 Luiz Capitulino 2010-11-10 12:10:15 EST
Likely to be rhel7.0 material.
Comment 7 Markus Armbruster 2011-04-29 05:03:22 EDT
Related bug 647516.
Comment 8 Markus Armbruster 2011-06-07 08:48:14 EDT
Depends on upstream QAPI schema work.  Moving to RHEL-7.
Comment 10 Luiz Capitulino 2013-05-16 08:31:18 EDT
*** Bug 963590 has been marked as a duplicate of this bug. ***
Comment 11 Luiz Capitulino 2013-05-16 08:36:34 EDT
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.

Two options:

 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.
Comment 12 Amos Kong 2013-06-07 06:25:00 EDT
send a draft patch to upstream:
http://marc.info/?l=qemu-devel&m=137059998004419&w=2
Comment 13 Amos Kong 2013-08-30 06:18:21 EDT
*** Bug 953844 has been marked as a duplicate of this bug. ***
Comment 14 Ronen Hod 2013-11-04 04:34:21 EST
Deferring to 7.1. It almost matured upstream, but not finished yet.
Comment 15 Amos Kong 2014-01-23 10:07:14 EST
Posted V4 to upstream:
[Qemu-devel] [PATCH v4 0/5] QMP full introspection
http://marc.info/?l=qemu-devel&m=139048842504757&w=2
Comment 17 Amos Kong 2014-05-26 04:59:39 EDT
*** Bug 647516 has been marked as a duplicate of this bug. ***
Comment 18 Ronen Hod 2014-10-27 05:34:32 EDT
Need to defer once again.
Still not settled upstream. Need to simplify and clean the solution.
Comment 21 Markus Armbruster 2015-04-04 03:07:22 EDT
Upstream goal is to crack the problem in the 2.4 development cycle,
preferably early.

[PATCH RFC 00/19] qapi: QMP introspection
https://lists.nongnu.org/archive/html/qemu-devel/2015-04/msg00342.html

Since few RFC patches survive review unscathed, I have to reserve
judgement on feasibility of a backport.
Comment 22 Markus Armbruster 2015-09-07 07:50:38 EDT
Missed upstream 2.4, now on track for 2.5.
http://lists.gnu.org/archive/html/qemu-devel/2015-09/msg01599.html
Comment 24 Markus Armbruster 2015-11-30 04:12:34 EST
No doc text needed, because direct use of QMP isn't supported.

Note You need to log in before you can comment on or make changes to this bug.