From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48665) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZYuu-0000DI-Sm for qemu-devel@nongnu.org; Wed, 09 Sep 2015 02:31:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZZYup-0003WZ-R6 for qemu-devel@nongnu.org; Wed, 09 Sep 2015 02:31:36 -0400 Received: from mx1.redhat.com ([209.132.183.28]:48099) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZYup-0003WV-LT for qemu-devel@nongnu.org; Wed, 09 Sep 2015 02:31:31 -0400 From: Markus Armbruster References: <1441621003-2434-1-git-send-email-armbru@redhat.com> <1441621003-2434-31-git-send-email-armbru@redhat.com> <55EF3FE3.7050000@redhat.com> Date: Wed, 09 Sep 2015 08:31:28 +0200 In-Reply-To: <55EF3FE3.7050000@redhat.com> (Eric Blake's message of "Tue, 8 Sep 2015 14:06:59 -0600") Message-ID: <87wpw0cddr.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH RFC v5 30/32] qapi: New QMP command query-qmp-schema for QMP introspection List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eric Blake Cc: qemu-devel@nongnu.org, mdroth@linux.vnet.ibm.com Eric Blake writes: > On 09/07/2015 04:16 AM, Markus Armbruster wrote: >> qapi/introspect.json defines the introspection schema. It's designed >> for QMP introspection, but should do for similar uses, such as QGA. >> >> The introspection schema does not reflect all the rules and >> restrictions that apply to QAPI schemata. A valid QAPI schema has an >> introspection value conforming to the introspection schema, but the >> converse is not true. >> >> Introspection lowers away a number of schema details, and makes >> implicit things explicit: >> > >> +## >> +# @SchemaInfoObjectMember >> +# >> +# An object member. >> +# >> +# @name: the member's name, as defined in the QAPI schema. >> +# >> +# @type: the name of the member's type. >> +# >> +# @default: #optional default when used as command parameter. >> +# If absent, the parameter is mandatory. >> +# If present, the value must be null. The parameter is >> +# optional, and behavior when it's missing is not specified >> +# here. >> +# Future extension: if present and non-null, the parameter >> +# is optional, and defaults to this value. >> +# > >> +## >> +# @SchemaInfoObjectVariant >> +# >> +# The variant members for a value of the type tag. >> +# >> +# @case: a value of the type tag. >> +# >> +# @type: the name of the object type that provides the variant members >> +# when the type tag has value @case. > > You aren't consistent on whether secondary lines describing the same > @variable are indented or flush left. I don't care enough to hold up > review, but just pointing it out in case you want to reflow some text. I'm happy to do small, local, obviously safe changes. > I've finished re-reading 31 and 32, and double-checking that the > combined text of all three patches together makes sense as a whole. > Looks like we're ready for this series to come out of RFC soon :) > > And I'll start rebasing and posting my followup patches that have > already been on list... Thanks!