qapi: Drop unnecessary whitespace in comments

The only instances that get changed are those in which the
additional whitespace was not (or couldn't possibly be) used for
alignment purposes.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Message-Id: <20220503073737.84223-7-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:35 +02:00 committed by Markus Armbruster
parent 15cc783cfb
commit 23e4645258
11 changed files with 31 additions and 31 deletions

View File

@ -604,7 +604,7 @@
# @inserted: @BlockDeviceInfo describing the device if media is # @inserted: @BlockDeviceInfo describing the device if media is
# present # present
# #
# Since: 0.14 # Since: 0.14
## ##
{ 'struct': 'BlockInfo', { 'struct': 'BlockInfo',
'data': {'device': 'str', '*qdev': 'str', 'type': 'str', 'removable': 'bool', 'data': {'device': 'str', '*qdev': 'str', 'type': 'str', 'removable': 'bool',
@ -795,9 +795,9 @@
# #
# Statistics of a virtual block device or a block backing device. # Statistics of a virtual block device or a block backing device.
# #
# @rd_bytes: The number of bytes read by the device. # @rd_bytes: The number of bytes read by the device.
# #
# @wr_bytes: The number of bytes written by the device. # @wr_bytes: The number of bytes written by the device.
# #
# @unmap_bytes: The number of bytes unmapped by the device (Since 4.2) # @unmap_bytes: The number of bytes unmapped by the device (Since 4.2)
# #
@ -970,7 +970,7 @@
# @qdev: The qdev ID, or if no ID is assigned, the QOM path of the block # @qdev: The qdev ID, or if no ID is assigned, the QOM path of the block
# device. (since 3.0) # device. (since 3.0)
# #
# @stats: A @BlockDeviceStats for the device. # @stats: A @BlockDeviceStats for the device.
# #
# @driver-specific: Optional driver-specific stats. (Since 4.2) # @driver-specific: Optional driver-specific stats. (Since 4.2)
# #
@ -1275,7 +1275,7 @@
# #
# @node-name: graph node name to get the image resized (Since 2.0) # @node-name: graph node name to get the image resized (Since 2.0)
# #
# @size: new image size in bytes # @size: new image size in bytes
# #
# Returns: - nothing on success # Returns: - nothing on success
# - If @device is not a valid block device, DeviceNotFound # - If @device is not a valid block device, DeviceNotFound
@ -1960,8 +1960,8 @@
# @job-id: identifier for the newly-created block job. If # @job-id: identifier for the newly-created block job. If
# omitted, the device name will be used. (Since 2.7) # omitted, the device name will be used. (Since 2.7)
# #
# @device: the device name or node-name of a root node whose writes should be # @device: the device name or node-name of a root node whose writes should be
# mirrored. # mirrored.
# #
# @target: the target of the new image. If the file exists, or if it # @target: the target of the new image. If the file exists, or if it
# is a device, the existing file/device will be used as the new # is a device, the existing file/device will be used as the new
@ -1981,7 +1981,7 @@
# @mode: whether and how QEMU should create a new image, default is # @mode: whether and how QEMU should create a new image, default is
# 'absolute-paths'. # 'absolute-paths'.
# #
# @speed: the maximum speed, in bytes per second # @speed: the maximum speed, in bytes per second
# #
# @sync: what parts of the disk image should be copied to the destination # @sync: what parts of the disk image should be copied to the destination
# (all the disk, only the sectors allocated in the topmost image, or # (all the disk, only the sectors allocated in the topmost image, or
@ -2296,7 +2296,7 @@
# broken Quorum files. By default, @device is replaced, although # broken Quorum files. By default, @device is replaced, although
# implicitly created filters on it are kept. # implicitly created filters on it are kept.
# #
# @speed: the maximum speed, in bytes per second # @speed: the maximum speed, in bytes per second
# #
# @sync: what parts of the disk image should be copied to the destination # @sync: what parts of the disk image should be copied to the destination
# (all the disk, only the sectors allocated in the topmost image, or # (all the disk, only the sectors allocated in the topmost image, or
@ -4548,8 +4548,8 @@
## ##
# @BlockdevQcow2Version: # @BlockdevQcow2Version:
# #
# @v2: The original QCOW2 format as introduced in qemu 0.10 (version 2) # @v2: The original QCOW2 format as introduced in qemu 0.10 (version 2)
# @v3: The extended QCOW2 format as introduced in qemu 1.1 (version 3) # @v3: The extended QCOW2 format as introduced in qemu 1.1 (version 3)
# #
# Since: 2.12 # Since: 2.12
## ##
@ -4905,7 +4905,7 @@
# #
# Options for amending an image format # Options for amending an image format
# #
# @driver: Block driver of the node to amend. # @driver: Block driver of the node to amend.
# #
# Since: 5.1 # Since: 5.1
## ##

View File

@ -391,7 +391,7 @@
# block-export-del command, but before the shutdown has # block-export-del command, but before the shutdown has
# completed) # completed)
# #
# Since: 5.2 # Since: 5.2
## ##
{ 'struct': 'BlockExportInfo', { 'struct': 'BlockExportInfo',
'data': { 'id': 'str', 'data': { 'id': 'str',

View File

@ -106,7 +106,7 @@
# Returns: - Nothing on success # Returns: - Nothing on success
# - If @device is not a valid block device, DeviceNotFound # - If @device is not a valid block device, DeviceNotFound
# #
# Notes: Ejecting a device with no media results in success # Notes: Ejecting a device with no media results in success
# #
# Since: 0.14 # Since: 0.14
# #

View File

@ -216,7 +216,7 @@
# #
# Configuration info for file chardevs. # Configuration info for file chardevs.
# #
# @in: The name of the input file # @in: The name of the input file
# @out: The name of the output file # @out: The name of the output file
# @append: Open the file in append mode (default false to # @append: Open the file in append mode (default false to
# truncate) (Since 2.6) # truncate) (Since 2.6)

View File

@ -186,8 +186,8 @@
# #
# Returns the available formats for dump-guest-memory # Returns the available formats for dump-guest-memory
# #
# Returns: A @DumpGuestMemoryCapability object listing available formats for # Returns: A @DumpGuestMemoryCapability object listing available formats for
# dump-guest-memory # dump-guest-memory
# #
# Since: 2.0 # Since: 2.0
# #

View File

@ -315,9 +315,9 @@
# query-current-machine), wake-up guest from suspend if the guest is # query-current-machine), wake-up guest from suspend if the guest is
# in SUSPENDED state. Return an error otherwise. # in SUSPENDED state. Return an error otherwise.
# #
# Since: 1.1 # Since: 1.1
# #
# Returns: nothing. # Returns: nothing.
# #
# Note: prior to 4.0, this command does nothing in case the guest # Note: prior to 4.0, this command does nothing in case the guest
# isn't suspended. # isn't suspended.
@ -368,9 +368,9 @@
# Injects a Non-Maskable Interrupt into the default CPU (x86/s390) or all CPUs (ppc64). # Injects a Non-Maskable Interrupt into the default CPU (x86/s390) or all CPUs (ppc64).
# The command fails when the guest doesn't support injecting. # The command fails when the guest doesn't support injecting.
# #
# Returns: If successful, nothing # Returns: If successful, nothing
# #
# Since: 0.14 # Since: 0.14
# #
# Note: prior to 2.1, this command was only supported for x86 and s390 VMs # Note: prior to 2.1, this command was only supported for x86 and s390 VMs
# #

View File

@ -136,9 +136,9 @@
# The struct describes capability for a Secure Encrypted Virtualization # The struct describes capability for a Secure Encrypted Virtualization
# feature. # feature.
# #
# @pdh: Platform Diffie-Hellman key (base64 encoded) # @pdh: Platform Diffie-Hellman key (base64 encoded)
# #
# @cert-chain: PDH certificate chain (base64 encoded) # @cert-chain: PDH certificate chain (base64 encoded)
# #
# @cpu0-id: Unique ID of CPU0 (base64 encoded) (since 7.1) # @cpu0-id: Unique ID of CPU0 (base64 encoded) (since 7.1)
# #
@ -201,7 +201,7 @@
# The struct describes attestation report for a Secure Encrypted # The struct describes attestation report for a Secure Encrypted
# Virtualization feature. # Virtualization feature.
# #
# @data: guest attestation report (base64 encoded) # @data: guest attestation report (base64 encoded)
# #
# Since: 6.1 # Since: 6.1
## ##

View File

@ -136,7 +136,7 @@
# #
# Stop all guest VCPU execution. # Stop all guest VCPU execution.
# #
# Since: 0.14 # Since: 0.14
# #
# Notes: This function will succeed even if the guest is already in the stopped # Notes: This function will succeed even if the guest is already in the stopped
# state. In "inmigrate" state, it will ensure that the guest # state. In "inmigrate" state, it will ensure that the guest
@ -156,9 +156,9 @@
# #
# Resume guest VCPU execution. # Resume guest VCPU execution.
# #
# Since: 0.14 # Since: 0.14
# #
# Returns: If successful, nothing # Returns: If successful, nothing
# #
# Notes: This command will succeed if the guest is currently running. It # Notes: This command will succeed if the guest is currently running. It
# will also succeed if the guest is in the "inmigrate" state; in # will also succeed if the guest is in the "inmigrate" state; in

View File

@ -104,7 +104,7 @@
# #
# @status: the virtual machine @RunState # @status: the virtual machine @RunState
# #
# Since: 0.14 # Since: 0.14
# #
# Notes: @singlestep is enabled through the GDB stub # Notes: @singlestep is enabled through the GDB stub
## ##
@ -118,7 +118,7 @@
# #
# Returns: @StatusInfo reflecting all VCPUs # Returns: @StatusInfo reflecting all VCPUs
# #
# Since: 0.14 # Since: 0.14
# #
# Example: # Example:
# #

View File

@ -189,7 +189,7 @@
# Captures the address of a socket, which could also be a named file # Captures the address of a socket, which could also be a named file
# descriptor # descriptor
# #
# @type: Transport type # @type: Transport type
# #
# Since: 2.9 # Since: 2.9
## ##

View File

@ -1260,7 +1260,7 @@
# #
# Curses display options. # Curses display options.
# #
# @charset: Font charset used by guest (default: CP437). # @charset: Font charset used by guest (default: CP437).
# #
# Since: 4.0 # Since: 4.0
## ##