qapi: fix schema symbol sections

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é Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20161117155504.21843-5-marcandre.lureau@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
This commit is contained in:
Marc-André Lureau 2016-11-17 19:54:51 +04:00 committed by Markus Armbruster
parent 95cd8fd909
commit 49687ace02
3 changed files with 17 additions and 5 deletions

View File

@ -65,6 +65,7 @@
{ 'enum': 'LostTickPolicy', { 'enum': 'LostTickPolicy',
'data': ['discard', 'delay', 'merge', 'slew' ] } 'data': ['discard', 'delay', 'merge', 'slew' ] }
##
# @add_client # @add_client
# #
# Allow client connections for VNC, Spice and socket based # Allow client connections for VNC, Spice and socket based
@ -443,6 +444,7 @@
'cache-miss': 'int', 'cache-miss-rate': 'number', 'cache-miss': 'int', 'cache-miss-rate': 'number',
'overflow': 'int' } } 'overflow': 'int' } }
##
# @MigrationStatus: # @MigrationStatus:
# #
# An enumeration of migration status. # An enumeration of migration status.
@ -629,6 +631,7 @@
## ##
{ 'command': 'query-migrate-capabilities', 'returns': ['MigrationCapabilityStatus']} { 'command': 'query-migrate-capabilities', 'returns': ['MigrationCapabilityStatus']}
##
# @MigrationParameter # @MigrationParameter
# #
# Migration parameters enumeration # Migration parameters enumeration
@ -687,7 +690,7 @@
'tls-creds', 'tls-hostname', 'max-bandwidth', 'tls-creds', 'tls-hostname', 'max-bandwidth',
'downtime-limit', 'x-checkpoint-delay' ] } 'downtime-limit', 'x-checkpoint-delay' ] }
# ##
# @migrate-set-parameters # @migrate-set-parameters
# #
# Set various migration parameters. See MigrationParameters for details. # Set various migration parameters. See MigrationParameters for details.
@ -699,7 +702,7 @@
{ 'command': 'migrate-set-parameters', 'boxed': true, { 'command': 'migrate-set-parameters', 'boxed': true,
'data': 'MigrationParameters' } 'data': 'MigrationParameters' }
# ##
# @MigrationParameters # @MigrationParameters
# #
# Optional members can be omitted on input ('migrate-set-parameters') # Optional members can be omitted on input ('migrate-set-parameters')
@ -797,6 +800,7 @@
# command. # command.
# #
# Since: 2.5 # Since: 2.5
##
{ 'command': 'migrate-start-postcopy' } { 'command': 'migrate-start-postcopy' }
## ##
@ -2254,6 +2258,7 @@
## ##
{ 'command': 'migrate-incoming', 'data': {'uri': 'str' } } { 'command': 'migrate-incoming', 'data': {'uri': 'str' } }
##
# @xen-save-devices-state: # @xen-save-devices-state:
# #
# Save the state of all devices to file. The RAM and the block devices # Save the state of all devices to file. The RAM and the block devices
@ -3484,6 +3489,7 @@
'modelb': 'CpuModelInfo' }, 'modelb': 'CpuModelInfo' },
'returns': 'CpuModelBaselineInfo' } 'returns': 'CpuModelBaselineInfo' }
##
# @AddfdInfo: # @AddfdInfo:
# #
# Information about a file descriptor that was added to an fd set. # Information about a file descriptor that was added to an fd set.
@ -4532,14 +4538,16 @@
## ##
{ 'command': 'query-memory-devices', 'returns': ['MemoryDeviceInfo'] } { 'command': 'query-memory-devices', 'returns': ['MemoryDeviceInfo'] }
## @ACPISlotType ##
# @ACPISlotType
# #
# @DIMM: memory slot # @DIMM: memory slot
# @CPU: logical CPU slot (since 2.7) # @CPU: logical CPU slot (since 2.7)
# ##
{ 'enum': 'ACPISlotType', 'data': [ 'DIMM', 'CPU' ] } { 'enum': 'ACPISlotType', 'data': [ 'DIMM', 'CPU' ] }
## @ACPIOSTInfo ##
# @ACPIOSTInfo
# #
# OSPM Status Indication for a device # OSPM Status Indication for a device
# For description of possible values of @source and @status fields # For description of possible values of @source and @status fields

View File

@ -2809,6 +2809,7 @@
'offset': 'int', 'offset': 'int',
'speed' : 'int' } } 'speed' : 'int' } }
##
# @PreallocMode # @PreallocMode
# #
# Preallocation mode of QEMU image file # Preallocation mode of QEMU image file

View File

@ -837,6 +837,7 @@
{ 'command': 'guest-set-user-password', { 'command': 'guest-set-user-password',
'data': { 'username': 'str', 'password': 'str', 'crypted': 'bool' } } 'data': { 'username': 'str', 'password': 'str', 'crypted': 'bool' } }
##
# @GuestMemoryBlock: # @GuestMemoryBlock:
# #
# @phys-index: Arbitrary guest-specific unique identifier of the MEMORY BLOCK. # @phys-index: Arbitrary guest-specific unique identifier of the MEMORY BLOCK.
@ -936,6 +937,7 @@
'data': {'mem-blks': ['GuestMemoryBlock'] }, 'data': {'mem-blks': ['GuestMemoryBlock'] },
'returns': ['GuestMemoryBlockResponse'] } 'returns': ['GuestMemoryBlockResponse'] }
##
# @GuestMemoryBlockInfo: # @GuestMemoryBlockInfo:
# #
# @size: the size (in bytes) of the guest memory blocks, # @size: the size (in bytes) of the guest memory blocks,
@ -959,6 +961,7 @@
{ 'command': 'guest-get-memory-block-info', { 'command': 'guest-get-memory-block-info',
'returns': 'GuestMemoryBlockInfo' } 'returns': 'GuestMemoryBlockInfo' }
##
# @GuestExecStatus: # @GuestExecStatus:
# #
# @exited: true if process has already terminated. # @exited: true if process has already terminated.