qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH for-2.5 0/4] Expose ErrorClass through introspection
@ 2015-11-12  1:17 Eric Blake
  2015-11-12  1:17 ` [Qemu-devel] [PATCH for-2.5 1/4] qapi: Add type.is_empty() helper Eric Blake
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Eric Blake @ 2015-11-12  1:17 UTC (permalink / raw)
  To: qemu-devel; +Cc: armbru

I noticed that introspection was not documenting either
qmp_capabilities nor the ErrorClass enum.  I think this is worth
fixing for 2.5 when introspection is brand new, so that if we later
extend the ErrorClass enum or add future capability negotiation (and
in particular if such additions get backported in downstream builds),
a client will be able to use introspection to learn whether the new
features are supported, regardless of the qemu version.

Note that this also adds qmp_capabilities to 'query-commands'.

Yes, this is borderline, and you may decide that it doesn't deserve
to be called a bug and should wait for 2.6.

Eric Blake (3):
  qapi: Add type.is_empty() helper
  qapi: Fix command with named empty argument type
  qapi: Expose ErrorClass through introspection

Marc-André Lureau (1):
  monitor: use qapi for qmp_capabilities command

 docs/qmp-spec.txt                       | 16 ++++++++++++++++
 monitor.c                               |  8 ++++++--
 qapi-schema.json                        | 32 ++++++++++++++++++++++++++++++++
 qmp-commands.hx                         |  4 ++--
 scripts/qapi-commands.py                |  6 +++---
 scripts/qapi-event.py                   |  6 +++---
 scripts/qapi-types.py                   |  2 +-
 scripts/qapi.py                         |  3 +++
 tests/qapi-schema/qapi-schema-test.json |  2 ++
 tests/qapi-schema/qapi-schema-test.out  |  2 ++
 tests/test-qmp-commands.c               |  5 +++++
 11 files changed, 75 insertions(+), 11 deletions(-)

-- 
2.4.3

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2015-11-12 13:37 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-12  1:17 [Qemu-devel] [PATCH for-2.5 0/4] Expose ErrorClass through introspection Eric Blake
2015-11-12  1:17 ` [Qemu-devel] [PATCH for-2.5 1/4] qapi: Add type.is_empty() helper Eric Blake
2015-11-12  1:17 ` [Qemu-devel] [PATCH for-2.5 2/4] qapi: Fix command with named empty argument type Eric Blake
2015-11-12  1:17 ` [Qemu-devel] [PATCH for-2.5 3/4] monitor: use qapi for qmp_capabilities command Eric Blake
2015-11-12  1:17 ` [Qemu-devel] [PATCH for-2.5 4/4] qapi: Expose ErrorClass through introspection Eric Blake
2015-11-12 10:48 ` [Qemu-devel] [PATCH for-2.5 0/4] " Markus Armbruster
2015-11-12 13:28   ` Eric Blake
2015-11-12 10:48 ` Markus Armbruster
2015-11-12 13:37   ` Eric Blake

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).