Received: from eggs.gnu.org ([2001:4830:134:3::10]:38290) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c3lnM-0004AK-KB for qemu-devel@nongnu.org; Mon, 07 Nov 2016 10:25:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c3lnH-0004dt-Ie for qemu-devel@nongnu.org; Mon, 07 Nov 2016 10:25:12 -0500 Received: from mx1.redhat.com ([209.132.183.28]:44118) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c3lnH-0004dC-D6 for qemu-devel@nongnu.org; Mon, 07 Nov 2016 10:25:07 -0500 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 93216C057FAD for ; Mon, 7 Nov 2016 15:25:06 +0000 (UTC) From: Markus Armbruster References: <20161107073033.21025-1-marcandre.lureau@redhat.com> <20161107073033.21025-4-marcandre.lureau@redhat.com> Date: Mon, 07 Nov 2016 16:25:04 +0100 In-Reply-To: <20161107073033.21025-4-marcandre.lureau@redhat.com> (=?utf-8?Q?=22Marc-Andr=C3=A9?= Lureau"'s message of "Mon, 7 Nov 2016 11:30:22 +0400") Message-ID: <87zilbqpm7.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 v3 03/14] qga/schema: improve guest-set-vcpus Returns: section List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?utf-8?Q?Marc-Andr=C3=A9?= Lureau Cc: qemu-devel@nongnu.org Marc-Andr=C3=A9 Lureau writes: > The documentation parser finishes a section after an empty line. Fix the Suggest "The documentation parser we're going to add". > Returns: section of guest-set-vcpus, and itemize the possible return > values. > > Signed-off-by: Marc-Andr=C3=A9 Lureau > --- > qga/qapi-schema.json | 12 ++++-------- > 1 file changed, 4 insertions(+), 8 deletions(-) > > diff --git a/qga/qapi-schema.json b/qga/qapi-schema.json > index 758803a..cb68c17 100644 > --- a/qga/qapi-schema.json > +++ b/qga/qapi-schema.json > @@ -696,22 +696,18 @@ > # > # Returns: The length of the initial sublist that has been successfully > # processed. The guest agent maximizes this value. Possible cas= es: > -# > -# 0: if the @vcpus list was empty on input. Gues= t state > +# - 0: if the @vcpus list was empty on input. Gues= t state > # has not been changed. Otherwise, > -# > -# Error: processing the first node of @vcpus failed = for the > +# - Error: processing the first node of @vcpus failed = for the > # reason returned. Guest state has not been c= hanged. > # Otherwise, > -# > -# < length(@vcpus): more than zero initial nodes have been proc= essed, > +# - < length(@vcpus): more than zero initial nodes have been pr= ocessed, > # but not the entire @vcpus list. Guest state= has > # changed accordingly. To retrieve the error > # (assuming it persists), repeat the call wit= h the > # successfully processed initial sublist remo= ved. > # Otherwise, > -# > -# length(@vcpus): call successful. > +# - length(@vcpus): call successful. > # > # Since: 1.5 > ## Matches how we format similar lists elswhere. If the "empty line ends section" syntax turns out to be inconvenient, we can try to consider indentation. But not now.