Received: from eggs.gnu.org ([2001:4830:134:3::10]:37594) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c4rBL-0007dq-01 for qemu-devel@nongnu.org; Thu, 10 Nov 2016 10:22:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c4rBH-0007rr-TC for qemu-devel@nongnu.org; Thu, 10 Nov 2016 10:22:27 -0500 Received: from mx1.redhat.com ([209.132.183.28]:40660) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c4rBH-0007r0-Nq for qemu-devel@nongnu.org; Thu, 10 Nov 2016 10:22:23 -0500 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (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 0DCC6935CF for ; Thu, 10 Nov 2016 15:22:23 +0000 (UTC) From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Thu, 10 Nov 2016 19:21:57 +0400 Message-Id: <20161110152209.18379-4-marcandre.lureau@redhat.com> In-Reply-To: <20161110152209.18379-1-marcandre.lureau@redhat.com> References: <20161110152209.18379-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 v4 03/15] 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