From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48380) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c3eOK-0000Mu-Tr for qemu-devel@nongnu.org; Mon, 07 Nov 2016 02:30:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c3eOJ-0001Dp-Ks for qemu-devel@nongnu.org; Mon, 07 Nov 2016 02:30:52 -0500 Received: from mx1.redhat.com ([209.132.183.28]:49920) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c3eOJ-0001Cx-DP for qemu-devel@nongnu.org; Mon, 07 Nov 2016 02:30:51 -0500 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) (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 6146461BBD for ; Mon, 7 Nov 2016 07:30:50 +0000 (UTC) From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Mon, 7 Nov 2016 11:30:23 +0400 Message-Id: <20161107073033.21025-5-marcandre.lureau@redhat.com> In-Reply-To: <20161107073033.21025-1-marcandre.lureau@redhat.com> References: <20161107073033.21025-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 v3 04/14] qapi: fix schema symbol sections 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?= According to docs/qapi-code-gen.txt, there needs to be '##' to start a and end a symbol section, that's also what the documentation parser expects. Signed-off-by: Marc-Andr=C3=A9 Lureau --- qapi-schema.json | 18 +++++++++++++----- qapi/block-core.json | 1 + qga/qapi-schema.json | 3 +++ 3 files changed, 17 insertions(+), 5 deletions(-) diff --git a/qapi-schema.json b/qapi-schema.json index 4ba5772..1d8ad72 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -65,6 +65,7 @@ { 'enum': 'LostTickPolicy', 'data': ['discard', 'delay', 'merge', 'slew' ] } =20 +## # @add_client # # Allow client connections for VNC, Spice and socket based @@ -442,6 +443,7 @@ 'cache-miss': 'int', 'cache-miss-rate': 'number', 'overflow': 'int' } } =20 +## # @MigrationStatus: # # An enumeration of migration status. @@ -627,6 +629,7 @@ ## { 'command': 'query-migrate-capabilities', 'returns': ['MigrationCapab= ilityStatus']} =20 +## # @MigrationParameter # # Migration parameters enumeration @@ -685,7 +688,7 @@ 'tls-creds', 'tls-hostname', 'max-bandwidth', 'downtime-limit', 'x-checkpoint-delay' ] } =20 -# +## # @migrate-set-parameters # # Set various migration parameters. See MigrationParameters for details= . @@ -697,7 +700,7 @@ { 'command': 'migrate-set-parameters', 'boxed': true, 'data': 'MigrationParameters' } =20 -# +## # @MigrationParameters # # Optional members can be omitted on input ('migrate-set-parameters') @@ -795,6 +798,7 @@ # command. # # Since: 2.5 +## { 'command': 'migrate-start-postcopy' } =20 ## @@ -2252,6 +2256,7 @@ ## { 'command': 'migrate-incoming', 'data': {'uri': 'str' } } =20 +## # @xen-save-devices-state: # # Save the state of all devices to file. The RAM and the block devices @@ -3482,6 +3487,7 @@ 'modelb': 'CpuModelInfo' }, 'returns': 'CpuModelBaselineInfo' } =20 +## # @AddfdInfo: # # Information about a file descriptor that was added to an fd set. @@ -4530,14 +4536,16 @@ ## { 'command': 'query-memory-devices', 'returns': ['MemoryDeviceInfo'] } =20 -## @ACPISlotType +## +# @ACPISlotType # # @DIMM: memory slot # @CPU: logical CPU slot (since 2.7) -# +## { 'enum': 'ACPISlotType', 'data': [ 'DIMM', 'CPU' ] } =20 -## @ACPIOSTInfo +## +# @ACPIOSTInfo # # OSPM Status Indication for a device # For description of possible values of @source and @status fields diff --git a/qapi/block-core.json b/qapi/block-core.json index bcd3b9e..5108b42 100644 --- a/qapi/block-core.json +++ b/qapi/block-core.json @@ -2810,6 +2810,7 @@ 'offset': 'int', 'speed' : 'int' } } =20 +## # @PreallocMode # # Preallocation mode of QEMU image file diff --git a/qga/qapi-schema.json b/qga/qapi-schema.json index cb68c17..5173c4a 100644 --- a/qga/qapi-schema.json +++ b/qga/qapi-schema.json @@ -833,6 +833,7 @@ { 'command': 'guest-set-user-password', 'data': { 'username': 'str', 'password': 'str', 'crypted': 'bool' } } =20 +## # @GuestMemoryBlock: # # @phys-index: Arbitrary guest-specific unique identifier of the MEMORY = BLOCK. @@ -932,6 +933,7 @@ 'data': {'mem-blks': ['GuestMemoryBlock'] }, 'returns': ['GuestMemoryBlockResponse'] } =20 +## # @GuestMemoryBlockInfo: # # @size: the size (in bytes) of the guest memory blocks, @@ -955,6 +957,7 @@ { 'command': 'guest-get-memory-block-info', 'returns': 'GuestMemoryBlockInfo' } =20 +## # @GuestExecStatus: # # @exited: true if process has already terminated. --=20 2.10.0