Received: from eggs.gnu.org ([2001:4830:134:3::10]:33633) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c7QWU-0004Ph-31 for qemu-devel@nongnu.org; Thu, 17 Nov 2016 12:30:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c7QWP-0005kR-7D for qemu-devel@nongnu.org; Thu, 17 Nov 2016 12:30:54 -0500 Received: from mx1.redhat.com ([209.132.183.28]:44686) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c7QWP-0005kD-1C for qemu-devel@nongnu.org; Thu, 17 Nov 2016 12:30:49 -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 3102D262D for ; Thu, 17 Nov 2016 17:30:48 +0000 (UTC) From: Markus Armbruster References: <20161110152209.18379-1-marcandre.lureau@redhat.com> <20161110152209.18379-4-marcandre.lureau@redhat.com> Date: Thu, 17 Nov 2016 18:30:46 +0100 In-Reply-To: <20161110152209.18379-4-marcandre.lureau@redhat.com> (=?utf-8?Q?=22Marc-Andr=C3=A9?= Lureau"'s message of "Thu, 10 Nov 2016 19:21:57 +0400") Message-ID: <87r36a814p.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 v4 03/15] 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 we are going to add finishes a section after an > empty line. Is this still true? > Fix the 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 > ## Patch looks good.