Received: from eggs.gnu.org ([2001:4830:134:3::10]:56433) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c7P1z-0002N2-Nb for qemu-devel@nongnu.org; Thu, 17 Nov 2016 10:55:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c7P1y-0004sX-SP for qemu-devel@nongnu.org; Thu, 17 Nov 2016 10:55:19 -0500 Received: from mx1.redhat.com ([209.132.183.28]:45694) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c7P1y-0004sM-Nx for qemu-devel@nongnu.org; Thu, 17 Nov 2016 10:55:18 -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 DC4937AEBB for ; Thu, 17 Nov 2016 15:55:17 +0000 (UTC) From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Thu, 17 Nov 2016 19:54:50 +0400 Message-Id: <20161117155504.21843-4-marcandre.lureau@redhat.com> In-Reply-To: <20161117155504.21843-1-marcandre.lureau@redhat.com> References: <20161117155504.21843-1-marcandre.lureau@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH v5 03/17] qga/schema: improve guest-set-vcpus Returns: section List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: eblake@redhat.com, armbru@redhat.com, =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= The documentation parser we are going to add finishes a section after an empty line. 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 ## --=20 2.10.0