From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38719) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZwgWP-0001gG-Ai for qemu-devel@nongnu.org; Wed, 11 Nov 2015 20:17:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZwgWM-0003MT-4X for qemu-devel@nongnu.org; Wed, 11 Nov 2015 20:17:53 -0500 Received: from resqmta-po-10v.sys.comcast.net ([96.114.154.169]:40862) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZwgWL-0003ML-UW for qemu-devel@nongnu.org; Wed, 11 Nov 2015 20:17:50 -0500 From: Eric Blake Date: Wed, 11 Nov 2015 18:17:38 -0700 Message-Id: <1447291062-11011-1-git-send-email-eblake@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] [PATCH for-2.5 0/4] Expose ErrorClass through introspection List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: armbru@redhat.com 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