qapi: Drop unnecessary empty lines in comments

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20220503073737.84223-5-abologna@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
This commit is contained in:
Andrea Bolognani 2022-05-03 09:37:33 +02:00 committed by Markus Armbruster
parent 4ae65a5265
commit c6487a8887
11 changed files with 0 additions and 48 deletions

View File

@ -237,7 +237,6 @@
# information (since 1.7) # information (since 1.7)
# #
# Since: 1.3 # Since: 1.3
#
## ##
{ 'struct': 'ImageInfo', { 'struct': 'ImageInfo',
'data': {'filename': 'str', 'format': 'str', '*dirty-flag': 'bool', 'data': {'filename': 'str', 'format': 'str', '*dirty-flag': 'bool',
@ -288,7 +287,6 @@
# supports it # supports it
# #
# Since: 1.4 # Since: 1.4
#
## ##
{ 'struct': 'ImageCheck', { 'struct': 'ImageCheck',
'data': {'filename': 'str', 'format': 'str', 'check-errors': 'int', 'data': {'filename': 'str', 'format': 'str', 'check-errors': 'int',
@ -328,7 +326,6 @@
# @filename: filename that is referred to by @offset # @filename: filename that is referred to by @offset
# #
# Since: 2.6 # Since: 2.6
#
## ##
{ 'struct': 'MapEntry', { 'struct': 'MapEntry',
'data': {'start': 'int', 'length': 'int', 'data': 'bool', 'data': {'start': 'int', 'length': 'int', 'data': 'bool',
@ -445,7 +442,6 @@
# has one or more dirty bitmaps) (Since 4.2) # has one or more dirty bitmaps) (Since 4.2)
# #
# Since: 0.14 # Since: 0.14
#
## ##
{ 'struct': 'BlockDeviceInfo', { 'struct': 'BlockDeviceInfo',
'data': { 'file': 'str', '*node-name': 'str', 'ro': 'bool', 'drv': 'str', 'data': { 'file': 'str', '*node-name': 'str', 'ro': 'bool', 'drv': 'str',

View File

@ -300,7 +300,6 @@
# @read-write: Makes the device writable # @read-write: Makes the device writable
# #
# Since: 2.3 # Since: 2.3
#
## ##
{ 'enum': 'BlockdevChangeReadOnlyMode', { 'enum': 'BlockdevChangeReadOnlyMode',
'data': ['retain', 'read-only', 'read-write'] } 'data': ['retain', 'read-only', 'read-write'] }

View File

@ -413,7 +413,6 @@
# @clipboard: enable/disable clipboard, default is disabled. # @clipboard: enable/disable clipboard, default is disabled.
# #
# Since: 6.1 # Since: 6.1
#
## ##
{ 'struct': 'ChardevQemuVDAgent', { 'struct': 'ChardevQemuVDAgent',
'data': { '*mouse': 'bool', 'data': { '*mouse': 'bool',

View File

@ -192,7 +192,6 @@
# Keys to toggle input-linux between host and guest. # Keys to toggle input-linux between host and guest.
# #
# Since: 4.0 # Since: 4.0
#
## ##
{ 'enum': 'GrabToggleKeys', { 'enum': 'GrabToggleKeys',
'data': [ 'ctrl-ctrl', 'alt-alt', 'shift-shift','meta-meta', 'scrolllock', 'data': [ 'ctrl-ctrl', 'alt-alt', 'shift-shift','meta-meta', 'scrolllock',
@ -204,7 +203,6 @@
# @human-readable-text: Formatted output intended for humans. # @human-readable-text: Formatted output intended for humans.
# #
# Since: 6.2 # Since: 6.2
#
## ##
{ 'struct': 'HumanReadableText', { 'struct': 'HumanReadableText',
'data': { 'human-readable-text': 'str' } } 'data': { 'human-readable-text': 'str' } }

View File

@ -33,7 +33,6 @@
# all the QMP capabilities will be turned off by default. # all the QMP capabilities will be turned off by default.
# #
# Since: 0.13 # Since: 0.13
#
## ##
{ 'command': 'qmp_capabilities', { 'command': 'qmp_capabilities',
'data': { '*enable': [ 'QMPCapability' ] }, 'data': { '*enable': [ 'QMPCapability' ] },
@ -49,7 +48,6 @@
# (Please refer to qmp-spec.txt for more information on OOB) # (Please refer to qmp-spec.txt for more information on OOB)
# #
# Since: 2.12 # Since: 2.12
#
## ##
{ 'enum': 'QMPCapability', { 'enum': 'QMPCapability',
'data': [ 'oob' ] } 'data': [ 'oob' ] }

View File

@ -77,7 +77,6 @@
# additional fields will be listed (since 3.0) # additional fields will be listed (since 3.0)
# #
# Since: 2.12 # Since: 2.12
#
## ##
{ 'union' : 'CpuInfoFast', { 'union' : 'CpuInfoFast',
'base' : { 'cpu-index' : 'int', 'base' : { 'cpu-index' : 'int',
@ -1022,7 +1021,6 @@
# Formula used: logical_vm_size = vm_ram_size - balloon_size # Formula used: logical_vm_size = vm_ram_size - balloon_size
# #
# Since: 0.14 # Since: 0.14
#
## ##
{ 'struct': 'BalloonInfo', 'data': {'actual': 'int' } } { 'struct': 'BalloonInfo', 'data': {'actual': 'int' } }

View File

@ -151,7 +151,6 @@
# (since 4.2) # (since 4.2)
# #
# Since: 2.3 # Since: 2.3
#
## ##
{ 'enum': 'MigrationStatus', { 'enum': 'MigrationStatus',
'data': [ 'none', 'setup', 'cancelling', 'cancelled', 'data': [ 'none', 'setup', 'cancelling', 'cancelled',
@ -166,7 +165,6 @@
# @transferred: amount of bytes transferred to the target VM by VFIO devices # @transferred: amount of bytes transferred to the target VM by VFIO devices
# #
# Since: 5.2 # Since: 5.2
#
## ##
{ 'struct': 'VfioStats', { 'struct': 'VfioStats',
'data': {'transferred': 'int' } } 'data': {'transferred': 'int' } }
@ -546,7 +544,6 @@
# @zstd: use zstd compression method. # @zstd: use zstd compression method.
# #
# Since: 5.0 # Since: 5.0
#
## ##
{ 'enum': 'MultiFDCompression', { 'enum': 'MultiFDCompression',
'data': [ 'none', 'zlib', 'data': [ 'none', 'zlib',
@ -1757,7 +1754,6 @@
# @dirty-rate: dirty rate. # @dirty-rate: dirty rate.
# #
# Since: 6.2 # Since: 6.2
#
## ##
{ 'struct': 'DirtyRateVcpu', { 'struct': 'DirtyRateVcpu',
'data': { 'id': 'int', 'dirty-rate': 'int64' } } 'data': { 'id': 'int', 'dirty-rate': 'int64' } }
@ -1774,7 +1770,6 @@
# @measured: the dirtyrate thread has measured and results are available. # @measured: the dirtyrate thread has measured and results are available.
# #
# Since: 5.2 # Since: 5.2
#
## ##
{ 'enum': 'DirtyRateStatus', { 'enum': 'DirtyRateStatus',
'data': [ 'unstarted', 'measuring', 'measured'] } 'data': [ 'unstarted', 'measuring', 'measured'] }
@ -1791,7 +1786,6 @@
# @dirty-bitmap: calculate dirtyrate by dirty bitmap. # @dirty-bitmap: calculate dirtyrate by dirty bitmap.
# #
# Since: 6.2 # Since: 6.2
#
## ##
{ 'enum': 'DirtyRateMeasureMode', { 'enum': 'DirtyRateMeasureMode',
'data': ['page-sampling', 'dirty-ring', 'dirty-bitmap'] } 'data': ['page-sampling', 'dirty-ring', 'dirty-bitmap'] }
@ -1821,7 +1815,6 @@
# mode specified (Since 6.2) # mode specified (Since 6.2)
# #
# Since: 5.2 # Since: 5.2
#
## ##
{ 'struct': 'DirtyRateInfo', { 'struct': 'DirtyRateInfo',
'data': {'*dirty-rate': 'int64', 'data': {'*dirty-rate': 'int64',

View File

@ -110,7 +110,6 @@
# @data: the measurement value encoded in base64 # @data: the measurement value encoded in base64
# #
# Since: 2.12 # Since: 2.12
#
## ##
{ 'struct': 'SevLaunchMeasureInfo', 'data': {'data': 'str'}, { 'struct': 'SevLaunchMeasureInfo', 'data': {'data': 'str'},
'if': 'TARGET_I386' } 'if': 'TARGET_I386' }
@ -194,7 +193,6 @@
# @gpa: the guest physical address where secret will be injected. # @gpa: the guest physical address where secret will be injected.
# #
# Since: 6.0 # Since: 6.0
#
## ##
{ 'command': 'sev-inject-launch-secret', { 'command': 'sev-inject-launch-secret',
'data': { 'packet-header': 'str', 'secret': 'str', '*gpa': 'uint64' }, 'data': { 'packet-header': 'str', 'secret': 'str', '*gpa': 'uint64' },
@ -208,7 +206,6 @@
# #
# @data: guest attestation report (base64 encoded) # @data: guest attestation report (base64 encoded)
# #
#
# Since: 6.1 # Since: 6.1
## ##
{ 'struct': 'SevAttestationReport', { 'struct': 'SevAttestationReport',

View File

@ -40,7 +40,6 @@
# @icount: current number of executed instructions. # @icount: current number of executed instructions.
# #
# Since: 5.2 # Since: 5.2
#
## ##
{ 'struct': 'ReplayInfo', { 'struct': 'ReplayInfo',
'data': { 'mode': 'ReplayMode', '*filename': 'str', 'icount': 'int' } } 'data': { 'mode': 'ReplayMode', '*filename': 'str', 'icount': 'int' } }

View File

@ -592,7 +592,6 @@
# @guest: memory failure at guest memory, # @guest: memory failure at guest memory,
# #
# Since: 5.2 # Since: 5.2
#
## ##
{ 'enum': 'MemoryFailureRecipient', { 'enum': 'MemoryFailureRecipient',
'data': [ 'hypervisor', 'data': [ 'hypervisor',
@ -619,7 +618,6 @@
# to handle memory failures. # to handle memory failures.
# #
# Since: 5.2 # Since: 5.2
#
## ##
{ 'enum': 'MemoryFailureAction', { 'enum': 'MemoryFailureAction',
'data': [ 'ignore', 'data': [ 'ignore',
@ -639,7 +637,6 @@
# failure was still in progress. # failure was still in progress.
# #
# Since: 5.2 # Since: 5.2
#
## ##
{ 'struct': 'MemoryFailureFlags', { 'struct': 'MemoryFailureFlags',
'data': { 'action-required': 'bool', 'data': { 'action-required': 'bool',

View File

@ -15,7 +15,6 @@
# Display protocols which support changing password options. # Display protocols which support changing password options.
# #
# Since: 7.0 # Since: 7.0
#
## ##
{ 'enum': 'DisplayProtocol', { 'enum': 'DisplayProtocol',
'data': [ 'vnc', 'spice' ] } 'data': [ 'vnc', 'spice' ] }
@ -32,7 +31,6 @@
# @disconnect: disconnect existing clients # @disconnect: disconnect existing clients
# #
# Since: 7.0 # Since: 7.0
#
## ##
{ 'enum': 'SetPasswordAction', { 'enum': 'SetPasswordAction',
'data': [ 'keep', 'fail', 'disconnect' ] } 'data': [ 'keep', 'fail', 'disconnect' ] }
@ -52,7 +50,6 @@
# For VNC, only 'keep' is currently implemented. # For VNC, only 'keep' is currently implemented.
# #
# Since: 7.0 # Since: 7.0
#
## ##
{ 'union': 'SetPasswordOptions', { 'union': 'SetPasswordOptions',
'base': { 'protocol': 'DisplayProtocol', 'base': { 'protocol': 'DisplayProtocol',
@ -70,7 +67,6 @@
# Defaults to the first. # Defaults to the first.
# #
# Since: 7.0 # Since: 7.0
#
## ##
{ 'struct': 'SetPasswordOptionsVnc', { 'struct': 'SetPasswordOptionsVnc',
'data': { '*display': 'str' } } 'data': { '*display': 'str' } }
@ -115,7 +111,6 @@
# sure you are on the same machine as the QEMU instance. # sure you are on the same machine as the QEMU instance.
# #
# Since: 7.0 # Since: 7.0
#
## ##
{ 'union': 'ExpirePasswordOptions', { 'union': 'ExpirePasswordOptions',
'base': { 'protocol': 'DisplayProtocol', 'base': { 'protocol': 'DisplayProtocol',
@ -132,7 +127,6 @@
# Defaults to the first. # Defaults to the first.
# #
# Since: 7.0 # Since: 7.0
#
## ##
{ 'struct': 'ExpirePasswordOptionsVnc', { 'struct': 'ExpirePasswordOptionsVnc',
@ -167,7 +161,6 @@
# @ppm: PPM format # @ppm: PPM format
# #
# Since: 7.1 # Since: 7.1
#
## ##
{ 'enum': 'ImageFormat', { 'enum': 'ImageFormat',
'data': ['ppm', 'png'] } 'data': ['ppm', 'png'] }
@ -902,7 +895,6 @@
# are effectively synonyms. # are effectively synonyms.
# #
# Since: 1.3 # Since: 1.3
#
## ##
{ 'enum': 'QKeyCode', { 'enum': 'QKeyCode',
'data': [ 'unmapped', 'data': [ 'unmapped',
@ -1206,7 +1198,6 @@
# Since 3.1 # Since 3.1
# #
# Since: 2.12 # Since: 2.12
#
## ##
{ 'struct' : 'DisplayGTK', { 'struct' : 'DisplayGTK',
'data' : { '*grab-on-hover' : 'bool', 'data' : { '*grab-on-hover' : 'bool',
@ -1221,7 +1212,6 @@
# available node on the host. # available node on the host.
# #
# Since: 3.1 # Since: 3.1
#
## ##
{ 'struct' : 'DisplayEGLHeadless', { 'struct' : 'DisplayEGLHeadless',
'data' : { '*rendernode' : 'str' } } 'data' : { '*rendernode' : 'str' } }
@ -1242,7 +1232,6 @@
# @audiodev: Use the specified DBus audiodev to export audio. # @audiodev: Use the specified DBus audiodev to export audio.
# #
# Since: 7.0 # Since: 7.0
#
## ##
{ 'struct' : 'DisplayDBus', { 'struct' : 'DisplayDBus',
'data' : { '*rendernode' : 'str', 'data' : { '*rendernode' : 'str',
@ -1263,7 +1252,6 @@
# @es: Use OpenGL with ES (embedded systems) Context. # @es: Use OpenGL with ES (embedded systems) Context.
# #
# Since: 3.0 # Since: 3.0
#
## ##
{ 'enum' : 'DisplayGLMode', { 'enum' : 'DisplayGLMode',
'data' : [ 'off', 'on', 'core', 'es' ] } 'data' : [ 'off', 'on', 'core', 'es' ] }
@ -1276,7 +1264,6 @@
# @charset: Font charset used by guest (default: CP437). # @charset: Font charset used by guest (default: CP437).
# #
# Since: 4.0 # Since: 4.0
#
## ##
{ 'struct' : 'DisplayCurses', { 'struct' : 'DisplayCurses',
'data' : { '*charset' : 'str' } } 'data' : { '*charset' : 'str' } }
@ -1346,7 +1333,6 @@
# @dbus: Start a D-Bus service for the display. (Since 7.0) # @dbus: Start a D-Bus service for the display. (Since 7.0)
# #
# Since: 2.12 # Since: 2.12
#
## ##
{ 'enum' : 'DisplayType', { 'enum' : 'DisplayType',
'data' : [ 'data' : [
@ -1376,7 +1362,6 @@
# @gl: Enable OpenGL support (default: off). # @gl: Enable OpenGL support (default: off).
# #
# Since: 2.12 # Since: 2.12
#
## ##
{ 'union' : 'DisplayOptions', { 'union' : 'DisplayOptions',
'base' : { 'type' : 'DisplayType', 'base' : { 'type' : 'DisplayType',
@ -1403,7 +1388,6 @@
# Returns: @DisplayOptions # Returns: @DisplayOptions
# #
# Since: 3.1 # Since: 3.1
#
## ##
{ 'command': 'query-display-options', { 'command': 'query-display-options',
'returns': 'DisplayOptions' } 'returns': 'DisplayOptions' }
@ -1416,7 +1400,6 @@
# @vnc: VNC display # @vnc: VNC display
# #
# Since: 6.0 # Since: 6.0
#
## ##
{ 'enum': 'DisplayReloadType', { 'enum': 'DisplayReloadType',
'data': ['vnc'] } 'data': ['vnc'] }
@ -1429,7 +1412,6 @@
# @tls-certs: reload tls certs or not. # @tls-certs: reload tls certs or not.
# #
# Since: 6.0 # Since: 6.0
#
## ##
{ 'struct': 'DisplayReloadOptionsVNC', { 'struct': 'DisplayReloadOptionsVNC',
'data': { '*tls-certs': 'bool' } } 'data': { '*tls-certs': 'bool' } }
@ -1442,7 +1424,6 @@
# @type: Specify the display type. # @type: Specify the display type.
# #
# Since: 6.0 # Since: 6.0
#
## ##
{ 'union': 'DisplayReloadOptions', { 'union': 'DisplayReloadOptions',
'base': {'type': 'DisplayReloadType'}, 'base': {'type': 'DisplayReloadType'},
@ -1477,7 +1458,6 @@
# @vnc: VNC display # @vnc: VNC display
# #
# Since: 7.1 # Since: 7.1
#
## ##
{ 'enum': 'DisplayUpdateType', { 'enum': 'DisplayUpdateType',
'data': ['vnc'] } 'data': ['vnc'] }
@ -1492,7 +1472,6 @@
# for websockets are not touched. # for websockets are not touched.
# #
# Since: 7.1 # Since: 7.1
#
## ##
{ 'struct': 'DisplayUpdateOptionsVNC', { 'struct': 'DisplayUpdateOptionsVNC',
'data': { '*addresses': ['SocketAddress'] } } 'data': { '*addresses': ['SocketAddress'] } }
@ -1505,7 +1484,6 @@
# @type: Specify the display type. # @type: Specify the display type.
# #
# Since: 7.1 # Since: 7.1
#
## ##
{ 'union': 'DisplayUpdateOptions', { 'union': 'DisplayUpdateOptions',
'base': {'type': 'DisplayUpdateType'}, 'base': {'type': 'DisplayUpdateType'},