From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56196) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmzdn-0006IL-Cw for qemu-devel@nongnu.org; Thu, 22 Sep 2016 04:46:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bmzdi-0000dA-Id for qemu-devel@nongnu.org; Thu, 22 Sep 2016 04:45:59 -0400 Received: from mx4-phx2.redhat.com ([209.132.183.25]:51390) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmzdi-0000cj-9T for qemu-devel@nongnu.org; Thu, 22 Sep 2016 04:45:54 -0400 Date: Thu, 22 Sep 2016 04:45:52 -0400 (EDT) From: =?utf-8?Q?Marc-Andr=C3=A9?= Lureau Message-ID: <1403625254.632846.1474533952810.JavaMail.zimbra@redhat.com> In-Reply-To: <87lgyknx8e.fsf@dusky.pond.sub.org> References: <20160913130209.695-1-marcandre.lureau@redhat.com> <20160913130209.695-16-marcandre.lureau@redhat.com> <1592483129.530259.1474488068217.JavaMail.zimbra@redhat.com> <87lgyknx8e.fsf@dusky.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH 15/30] qmp-commands: move 'query-migrate-parameters' doc to schema List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Markus Armbruster Cc: Eric Blake , =?utf-8?Q?Marc-Andr=C3=A9?= Lureau , qemu-devel@nongnu.org Hi ----- Original Message ----- > Marc-Andr=C3=A9 Lureau writes: >=20 > > Hi > > > > ----- Original Message ----- > >> On 09/13/2016 08:01 AM, Marc-Andr=C3=A9 Lureau wrote: > >> > Signed-off-by: Marc-Andr=C3=A9 Lureau > >> > --- > >> > docs/qmp-commands.txt | 29 ----------------------------- > >> > qapi-schema.json | 13 +++++++++++++ > >> > 2 files changed, 13 insertions(+), 29 deletions(-) > >> >=20 > >>=20 > >> > +++ b/qapi-schema.json > >> > @@ -1011,6 +1011,19 @@ > >> > # Returns: @MigrationParameters > >> > # > >> > # Since: 2.4 > >> > +# > >> > +# Example: > >> > +# > >> > +# -> { "execute": "query-migrate-parameters" } > >> > +# <- { "return": { > >> > +# "decompress-threads": 2, > >> > +# "cpu-throttle-increment": 10, > >> > +# "compress-threads": 8, > >> > +# "compress-level": 1, > >> > +# "cpu-throttle-initial": 20 > >> > +# } > >> > +# } > >> > +# > >> > ## > >> > { 'command': 'query-migrate-parameters', > >> > 'returns': 'MigrationParameters' } > >>=20 > >> The example lacks 'cpu-throttle-increment', 'tls-creds', and > >> 'tls-hostname'; do we want to take this opportunity to touch it up? > > > > I suggest to put a [...] in the returned example, as this example could > > grow again, and there isn't much to learn from that query. > > =20 > >> Meanwhile, I have a series that touches this code, and will obviously > >> create a merge conflict for whoever gets in second: > >> https://lists.gnu.org/archive/html/qemu-devel/2016-09/msg01946.html > > > > Yes, the more we wait to review the series, the more conflicts we will = get. > > There is still over 100 patches to go, I'll send the next 30. >=20 > We suggested restructuring the series, and you liked the idea with the > alternative step (3b), not (3a). Would it make sense to repost the > beginning of the multi-part monster in that form before moving on to the > next part? 3. Merge qmp-commands.txt into QAPI schema comments, step by step (b) If you delete qmp-commands.txt section as you cover them in the QAPI schema, command documentation regresses temporarily. Tolerable, but needs to be explained in commit messages. Your choice. Isn't that what this series is doing? it moves the remaining doc from qmp-c= ommands.txt to the schema.