qapi: add missing colon-ending for section name

The documentation parser we are going to add expects a section name to
end with ':', otherwise the comment is treated as free-form text body.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20161117155504.21843-9-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:55 +04:00 committed by Markus Armbruster
parent 9f2a70e465
commit 5072f7b38b
8 changed files with 329 additions and 329 deletions

File diff suppressed because it is too large Load Diff

View File

@ -6,7 +6,7 @@
{ 'include': 'common.json' } { 'include': 'common.json' }
## ##
# @SnapshotInfo # @SnapshotInfo:
# #
# @id: unique snapshot id # @id: unique snapshot id
# #
@ -213,7 +213,7 @@
'*filename': 'str' } } '*filename': 'str' } }
## ##
# @BlockdevCacheInfo # @BlockdevCacheInfo:
# #
# Cache mode information for a block device # Cache mode information for a block device
# #
@ -378,7 +378,7 @@
# @offset: if present, the image file stores the data for this range in # @offset: if present, the image file stores the data for this range in
# raw format at the given offset. # raw format at the given offset.
# #
# Since 1.7 # Since: 1.7
## ##
{ 'struct': 'BlockDeviceMapEntry', { 'struct': 'BlockDeviceMapEntry',
'data': { 'start': 'int', 'length': 'int', 'depth': 'int', 'zero': 'bool', 'data': { 'start': 'int', 'length': 'int', 'depth': 'int', 'zero': 'bool',
@ -790,7 +790,7 @@
'*node-name': 'str', 'password': 'str'} } '*node-name': 'str', 'password': 'str'} }
## ##
# @block_resize # @block_resize:
# #
# Resize a block image while a guest is running. # Resize a block image while a guest is running.
# #
@ -812,7 +812,7 @@
'size': 'int' }} 'size': 'int' }}
## ##
# @NewImageMode # @NewImageMode:
# #
# An enumeration that tells QEMU how to set the backing file path in # An enumeration that tells QEMU how to set the backing file path in
# a new image file. # a new image file.
@ -829,7 +829,7 @@
'data': [ 'existing', 'absolute-paths' ] } 'data': [ 'existing', 'absolute-paths' ] }
## ##
# @BlockdevSnapshotSync # @BlockdevSnapshotSync:
# #
# Either @device or @node-name must be set but not both. # Either @device or @node-name must be set but not both.
# #
@ -852,7 +852,7 @@
'*format': 'str', '*mode': 'NewImageMode' } } '*format': 'str', '*mode': 'NewImageMode' } }
## ##
# @BlockdevSnapshot # @BlockdevSnapshot:
# #
# @node: device or node name that will have a snapshot created. # @node: device or node name that will have a snapshot created.
# #
@ -861,13 +861,13 @@
# It must not have a current backing file (this can be # It must not have a current backing file (this can be
# achieved by passing "backing": "" to blockdev-add). # achieved by passing "backing": "" to blockdev-add).
# #
# Since 2.5 # Since: 2.5
## ##
{ 'struct': 'BlockdevSnapshot', { 'struct': 'BlockdevSnapshot',
'data': { 'node': 'str', 'overlay': 'str' } } 'data': { 'node': 'str', 'overlay': 'str' } }
## ##
# @DriveBackup # @DriveBackup:
# #
# @job-id: #optional identifier for the newly-created block job. If # @job-id: #optional 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)
@ -905,9 +905,9 @@
# default 'report' (no limitations, since this applies to # default 'report' (no limitations, since this applies to
# a different block device than @device). # a different block device than @device).
# #
# Note that @on-source-error and @on-target-error only affect background I/O. # Note: @on-source-error and @on-target-error only affect background
# If an error occurs during a guest write request, the device's rerror/werror # I/O. If an error occurs during a guest write request, the device's
# actions will be used. # rerror/werror actions will be used.
# #
# Since: 1.6 # Since: 1.6
## ##
@ -919,7 +919,7 @@
'*on-target-error': 'BlockdevOnError' } } '*on-target-error': 'BlockdevOnError' } }
## ##
# @BlockdevBackup # @BlockdevBackup:
# #
# @job-id: #optional identifier for the newly-created block job. If # @job-id: #optional 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)
@ -946,9 +946,9 @@
# default 'report' (no limitations, since this applies to # default 'report' (no limitations, since this applies to
# a different block device than @device). # a different block device than @device).
# #
# Note that @on-source-error and @on-target-error only affect background I/O. # Note: @on-source-error and @on-target-error only affect background
# If an error occurs during a guest write request, the device's rerror/werror # I/O. If an error occurs during a guest write request, the device's
# actions will be used. # rerror/werror actions will be used.
# #
# Since: 2.3 # Since: 2.3
## ##
@ -961,7 +961,7 @@
'*on-target-error': 'BlockdevOnError' } } '*on-target-error': 'BlockdevOnError' } }
## ##
# @blockdev-snapshot-sync # @blockdev-snapshot-sync:
# #
# Generates a synchronous snapshot of a block device. # Generates a synchronous snapshot of a block device.
# #
@ -970,26 +970,26 @@
# 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
# #
# Since 0.14.0 # Since: 0.14.0
## ##
{ 'command': 'blockdev-snapshot-sync', { 'command': 'blockdev-snapshot-sync',
'data': 'BlockdevSnapshotSync' } 'data': 'BlockdevSnapshotSync' }
## ##
# @blockdev-snapshot # @blockdev-snapshot:
# #
# Generates a snapshot of a block device. # Generates a snapshot of a block device.
# #
# For the arguments, see the documentation of BlockdevSnapshot. # For the arguments, see the documentation of BlockdevSnapshot.
# #
# Since 2.5 # Since: 2.5
## ##
{ 'command': 'blockdev-snapshot', { 'command': 'blockdev-snapshot',
'data': 'BlockdevSnapshot' } 'data': 'BlockdevSnapshot' }
## ##
# @change-backing-file # @change-backing-file:
# #
# Change the backing file in the image file metadata. This does not # Change the backing file in the image file metadata. This does not
# cause QEMU to reopen the image file to reparse the backing filename # cause QEMU to reopen the image file to reparse the backing filename
@ -1016,7 +1016,7 @@
'backing-file': 'str' } } 'backing-file': 'str' } }
## ##
# @block-commit # @block-commit:
# #
# Live commit of data from overlay image nodes into backing nodes - i.e., # Live commit of data from overlay image nodes into backing nodes - i.e.,
# writes data between 'top' and 'base' into 'base'. # writes data between 'top' and 'base' into 'base'.
@ -1079,7 +1079,7 @@
'*backing-file': 'str', '*speed': 'int' } } '*backing-file': 'str', '*speed': 'int' } }
## ##
# @drive-backup # @drive-backup:
# #
# Start a point-in-time copy of a block device to a new destination. The # Start a point-in-time copy of a block device to a new destination. The
# status of ongoing drive-backup operations can be checked with # status of ongoing drive-backup operations can be checked with
@ -1092,13 +1092,13 @@
# Returns: nothing on success # Returns: nothing on success
# If @device is not a valid block device, GenericError # If @device is not a valid block device, GenericError
# #
# Since 1.6 # Since: 1.6
## ##
{ 'command': 'drive-backup', 'boxed': true, { 'command': 'drive-backup', 'boxed': true,
'data': 'DriveBackup' } 'data': 'DriveBackup' }
## ##
# @blockdev-backup # @blockdev-backup:
# #
# Start a point-in-time copy of a block device to a new destination. The # Start a point-in-time copy of a block device to a new destination. The
# status of ongoing blockdev-backup operations can be checked with # status of ongoing blockdev-backup operations can be checked with
@ -1111,25 +1111,25 @@
# 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
# #
# Since 2.3 # Since: 2.3
## ##
{ 'command': 'blockdev-backup', 'boxed': true, { 'command': 'blockdev-backup', 'boxed': true,
'data': 'BlockdevBackup' } 'data': 'BlockdevBackup' }
## ##
# @query-named-block-nodes # @query-named-block-nodes:
# #
# Get the named block driver list # Get the named block driver list
# #
# Returns: the list of BlockDeviceInfo # Returns: the list of BlockDeviceInfo
# #
# Since 2.0 # Since: 2.0
## ##
{ 'command': 'query-named-block-nodes', 'returns': [ 'BlockDeviceInfo' ] } { 'command': 'query-named-block-nodes', 'returns': [ 'BlockDeviceInfo' ] }
## ##
# @drive-mirror # @drive-mirror:
# #
# Start mirroring a block device's writes to a new destination. # Start mirroring a block device's writes to a new destination.
# #
@ -1138,13 +1138,13 @@
# Returns: nothing on success # Returns: nothing on success
# If @device is not a valid block device, GenericError # If @device is not a valid block device, GenericError
# #
# Since 1.3 # Since: 1.3
## ##
{ 'command': 'drive-mirror', 'boxed': true, { 'command': 'drive-mirror', 'boxed': true,
'data': 'DriveMirror' } 'data': 'DriveMirror' }
## ##
# @DriveMirror # @DriveMirror:
# #
# A set of parameters describing drive mirror setup. # A set of parameters describing drive mirror setup.
# #
@ -1198,7 +1198,7 @@
# written. Both will result in identical contents. # written. Both will result in identical contents.
# Default is true. (Since 2.4) # Default is true. (Since 2.4)
# #
# Since 1.3 # Since: 1.3
## ##
{ 'struct': 'DriveMirror', { 'struct': 'DriveMirror',
'data': { '*job-id': 'str', 'device': 'str', 'target': 'str', 'data': { '*job-id': 'str', 'device': 'str', 'target': 'str',
@ -1210,19 +1210,19 @@
'*unmap': 'bool' } } '*unmap': 'bool' } }
## ##
# @BlockDirtyBitmap # @BlockDirtyBitmap:
# #
# @node: name of device/node which the bitmap is tracking # @node: name of device/node which the bitmap is tracking
# #
# @name: name of the dirty bitmap # @name: name of the dirty bitmap
# #
# Since 2.4 # Since: 2.4
## ##
{ 'struct': 'BlockDirtyBitmap', { 'struct': 'BlockDirtyBitmap',
'data': { 'node': 'str', 'name': 'str' } } 'data': { 'node': 'str', 'name': 'str' } }
## ##
# @BlockDirtyBitmapAdd # @BlockDirtyBitmapAdd:
# #
# @node: name of device/node which the bitmap is tracking # @node: name of device/node which the bitmap is tracking
# #
@ -1231,13 +1231,13 @@
# @granularity: #optional the bitmap granularity, default is 64k for # @granularity: #optional the bitmap granularity, default is 64k for
# block-dirty-bitmap-add # block-dirty-bitmap-add
# #
# Since 2.4 # Since: 2.4
## ##
{ 'struct': 'BlockDirtyBitmapAdd', { 'struct': 'BlockDirtyBitmapAdd',
'data': { 'node': 'str', 'name': 'str', '*granularity': 'uint32' } } 'data': { 'node': 'str', 'name': 'str', '*granularity': 'uint32' } }
## ##
# @block-dirty-bitmap-add # @block-dirty-bitmap-add:
# #
# Create a dirty bitmap with a name on the node # Create a dirty bitmap with a name on the node
# #
@ -1245,13 +1245,13 @@
# If @node is not a valid block device or node, DeviceNotFound # If @node is not a valid block device or node, DeviceNotFound
# If @name is already taken, GenericError with an explanation # If @name is already taken, GenericError with an explanation
# #
# Since 2.4 # Since: 2.4
## ##
{ 'command': 'block-dirty-bitmap-add', { 'command': 'block-dirty-bitmap-add',
'data': 'BlockDirtyBitmapAdd' } 'data': 'BlockDirtyBitmapAdd' }
## ##
# @block-dirty-bitmap-remove # @block-dirty-bitmap-remove:
# #
# Remove a dirty bitmap on the node # Remove a dirty bitmap on the node
# #
@ -1260,13 +1260,13 @@
# If @name is not found, GenericError with an explanation # If @name is not found, GenericError with an explanation
# if @name is frozen by an operation, GenericError # if @name is frozen by an operation, GenericError
# #
# Since 2.4 # Since: 2.4
## ##
{ 'command': 'block-dirty-bitmap-remove', { 'command': 'block-dirty-bitmap-remove',
'data': 'BlockDirtyBitmap' } 'data': 'BlockDirtyBitmap' }
## ##
# @block-dirty-bitmap-clear # @block-dirty-bitmap-clear:
# #
# Clear (reset) a dirty bitmap on the device # Clear (reset) a dirty bitmap on the device
# #
@ -1274,13 +1274,13 @@
# If @node is not a valid block device, DeviceNotFound # If @node is not a valid block device, DeviceNotFound
# If @name is not found, GenericError with an explanation # If @name is not found, GenericError with an explanation
# #
# Since 2.4 # Since: 2.4
## ##
{ 'command': 'block-dirty-bitmap-clear', { 'command': 'block-dirty-bitmap-clear',
'data': 'BlockDirtyBitmap' } 'data': 'BlockDirtyBitmap' }
## ##
# @blockdev-mirror # @blockdev-mirror:
# #
# Start mirroring a block device's writes to a new destination. # Start mirroring a block device's writes to a new destination.
# #
@ -1321,7 +1321,7 @@
# #
# Returns: nothing on success. # Returns: nothing on success.
# #
# Since 2.6 # Since: 2.6
## ##
{ 'command': 'blockdev-mirror', { 'command': 'blockdev-mirror',
'data': { '*job-id': 'str', 'device': 'str', 'target': 'str', 'data': { '*job-id': 'str', 'device': 'str', 'target': 'str',
@ -1368,7 +1368,7 @@
'data': 'BlockIOThrottle' } 'data': 'BlockIOThrottle' }
## ##
# @BlockIOThrottle # @BlockIOThrottle:
# #
# A set of parameters describing block throttling. # A set of parameters describing block throttling.
# #
@ -1650,7 +1650,7 @@
{ 'command': 'block-job-complete', 'data': { 'device': 'str' } } { 'command': 'block-job-complete', 'data': { 'device': 'str' } }
## ##
# @BlockdevDiscardOptions # @BlockdevDiscardOptions:
# #
# Determines how to handle discard requests. # Determines how to handle discard requests.
# #
@ -1663,7 +1663,7 @@
'data': [ 'ignore', 'unmap' ] } 'data': [ 'ignore', 'unmap' ] }
## ##
# @BlockdevDetectZeroesOptions # @BlockdevDetectZeroesOptions:
# #
# Describes the operation mode for the automatic conversion of plain # Describes the operation mode for the automatic conversion of plain
# zero writes by the OS to driver specific optimized zero write commands. # zero writes by the OS to driver specific optimized zero write commands.
@ -1679,7 +1679,7 @@
'data': [ 'off', 'on', 'unmap' ] } 'data': [ 'off', 'on', 'unmap' ] }
## ##
# @BlockdevAioOptions # @BlockdevAioOptions:
# #
# Selects the AIO backend to handle I/O requests # Selects the AIO backend to handle I/O requests
# #
@ -1692,7 +1692,7 @@
'data': [ 'threads', 'native' ] } 'data': [ 'threads', 'native' ] }
## ##
# @BlockdevCacheOptions # @BlockdevCacheOptions:
# #
# Includes cache-related options for block devices # Includes cache-related options for block devices
# #
@ -1708,7 +1708,7 @@
'*no-flush': 'bool' } } '*no-flush': 'bool' } }
## ##
# @BlockdevDriver # @BlockdevDriver:
# #
# Drivers that are supported in block device operations. # Drivers that are supported in block device operations.
# #
@ -1731,7 +1731,7 @@
'vvfat' ] } 'vvfat' ] }
## ##
# @BlockdevOptionsFile # @BlockdevOptionsFile:
# #
# Driver specific block device options for the file backend. # Driver specific block device options for the file backend.
# #
@ -1745,7 +1745,7 @@
'*aio': 'BlockdevAioOptions' } } '*aio': 'BlockdevAioOptions' } }
## ##
# @BlockdevOptionsNull # @BlockdevOptionsNull:
# #
# Driver specific block device options for the null backend. # Driver specific block device options for the null backend.
# #
@ -1760,7 +1760,7 @@
'data': { '*size': 'int', '*latency-ns': 'uint64' } } 'data': { '*size': 'int', '*latency-ns': 'uint64' } }
## ##
# @BlockdevOptionsVVFAT # @BlockdevOptionsVVFAT:
# #
# Driver specific block device options for the vvfat protocol. # Driver specific block device options for the vvfat protocol.
# #
@ -1781,7 +1781,7 @@
'*label': 'str', '*rw': 'bool' } } '*label': 'str', '*rw': 'bool' } }
## ##
# @BlockdevOptionsGenericFormat # @BlockdevOptionsGenericFormat:
# #
# Driver specific block device options for image format that have no option # Driver specific block device options for image format that have no option
# besides their data source. # besides their data source.
@ -1794,7 +1794,7 @@
'data': { 'file': 'BlockdevRef' } } 'data': { 'file': 'BlockdevRef' } }
## ##
# @BlockdevOptionsLUKS # @BlockdevOptionsLUKS:
# #
# Driver specific block device options for LUKS. # Driver specific block device options for LUKS.
# #
@ -1810,7 +1810,7 @@
## ##
# @BlockdevOptionsGenericCOWFormat # @BlockdevOptionsGenericCOWFormat:
# #
# Driver specific block device options for image format that have no option # Driver specific block device options for image format that have no option
# besides their data source and an optional backing file. # besides their data source and an optional backing file.
@ -1827,7 +1827,7 @@
'data': { '*backing': 'BlockdevRef' } } 'data': { '*backing': 'BlockdevRef' } }
## ##
# @Qcow2OverlapCheckMode # @Qcow2OverlapCheckMode:
# #
# General overlap check modes. # General overlap check modes.
# #
@ -1847,7 +1847,7 @@
'data': [ 'none', 'constant', 'cached', 'all' ] } 'data': [ 'none', 'constant', 'cached', 'all' ] }
## ##
# @Qcow2OverlapCheckFlags # @Qcow2OverlapCheckFlags:
# #
# Structure of flags for each metadata structure. Setting a field to 'true' # Structure of flags for each metadata structure. Setting a field to 'true'
# makes qemu guard that structure against unintended overwriting. The default # makes qemu guard that structure against unintended overwriting. The default
@ -1870,7 +1870,7 @@
'*inactive-l2': 'bool' } } '*inactive-l2': 'bool' } }
## ##
# @Qcow2OverlapChecks # @Qcow2OverlapChecks:
# #
# Specifies which metadata structures should be guarded against unintended # Specifies which metadata structures should be guarded against unintended
# overwriting. # overwriting.
@ -1887,7 +1887,7 @@
'mode': 'Qcow2OverlapCheckMode' } } 'mode': 'Qcow2OverlapCheckMode' } }
## ##
# @BlockdevOptionsQcow2 # @BlockdevOptionsQcow2:
# #
# Driver specific block device options for qcow2. # Driver specific block device options for qcow2.
# #
@ -1937,7 +1937,7 @@
## ##
# @BlockdevOptionsArchipelago # @BlockdevOptionsArchipelago:
# #
# Driver specific block device options for Archipelago. # Driver specific block device options for Archipelago.
# #
@ -1966,7 +1966,7 @@
'*segment': 'str' } } '*segment': 'str' } }
## ##
# @BlockdevOptionsSsh # @BlockdevOptionsSsh:
# #
# @server: host address # @server: host address
# #
@ -1977,7 +1977,7 @@
# #
# TODO: Expose the host_key_check option in QMP # TODO: Expose the host_key_check option in QMP
# #
# Since 2.8 # Since: 2.8
## ##
{ 'struct': 'BlockdevOptionsSsh', { 'struct': 'BlockdevOptionsSsh',
'data': { 'server': 'InetSocketAddress', 'data': { 'server': 'InetSocketAddress',
@ -1986,7 +1986,7 @@
## ##
# @BlkdebugEvent # @BlkdebugEvent:
# #
# Trigger events supported by blkdebug. # Trigger events supported by blkdebug.
# #
@ -2009,7 +2009,7 @@
'pwritev_zero', 'pwritev_done', 'empty_image_prepare' ] } 'pwritev_zero', 'pwritev_done', 'empty_image_prepare' ] }
## ##
# @BlkdebugInjectErrorOptions # @BlkdebugInjectErrorOptions:
# #
# Describes a single error injection for blkdebug. # Describes a single error injection for blkdebug.
# #
@ -2041,7 +2041,7 @@
'*immediately': 'bool' } } '*immediately': 'bool' } }
## ##
# @BlkdebugSetStateOptions # @BlkdebugSetStateOptions:
# #
# Describes a single state-change event for blkdebug. # Describes a single state-change event for blkdebug.
# #
@ -2061,7 +2061,7 @@
'new_state': 'int' } } 'new_state': 'int' } }
## ##
# @BlockdevOptionsBlkdebug # @BlockdevOptionsBlkdebug:
# #
# Driver specific block device options for blkdebug. # Driver specific block device options for blkdebug.
# #
@ -2086,7 +2086,7 @@
'*set-state': ['BlkdebugSetStateOptions'] } } '*set-state': ['BlkdebugSetStateOptions'] } }
## ##
# @BlockdevOptionsBlkverify # @BlockdevOptionsBlkverify:
# #
# Driver specific block device options for blkverify. # Driver specific block device options for blkverify.
# #
@ -2101,7 +2101,7 @@
'raw': 'BlockdevRef' } } 'raw': 'BlockdevRef' } }
## ##
# @QuorumReadPattern # @QuorumReadPattern:
# #
# An enumeration of quorum read patterns. # An enumeration of quorum read patterns.
# #
@ -2114,7 +2114,7 @@
{ 'enum': 'QuorumReadPattern', 'data': [ 'quorum', 'fifo' ] } { 'enum': 'QuorumReadPattern', 'data': [ 'quorum', 'fifo' ] }
## ##
# @BlockdevOptionsQuorum # @BlockdevOptionsQuorum:
# #
# Driver specific block device options for Quorum # Driver specific block device options for Quorum
# #
@ -2141,7 +2141,7 @@
'*read-pattern': 'QuorumReadPattern' } } '*read-pattern': 'QuorumReadPattern' } }
## ##
# @GlusterTransport # @GlusterTransport:
# #
# An enumeration of Gluster transport types # An enumeration of Gluster transport types
# #
@ -2156,7 +2156,7 @@
## ##
# @GlusterServer # @GlusterServer:
# #
# Captures the address of a socket # Captures the address of a socket
# #
@ -2185,7 +2185,7 @@
'tcp': 'InetSocketAddress' } } 'tcp': 'InetSocketAddress' } }
## ##
# @BlockdevOptionsGluster # @BlockdevOptionsGluster:
# #
# Driver specific block device options for Gluster # Driver specific block device options for Gluster
# #
@ -2209,7 +2209,7 @@
'*logfile': 'str' } } '*logfile': 'str' } }
## ##
# @ReplicationMode # @ReplicationMode:
# #
# An enumeration of replication modes. # An enumeration of replication modes.
# #
@ -2222,7 +2222,7 @@
{ 'enum' : 'ReplicationMode', 'data' : [ 'primary', 'secondary' ] } { 'enum' : 'ReplicationMode', 'data' : [ 'primary', 'secondary' ] }
## ##
# @BlockdevOptionsReplication # @BlockdevOptionsReplication:
# #
# Driver specific block device options for replication # Driver specific block device options for replication
# #
@ -2240,19 +2240,19 @@
'*top-id': 'str' } } '*top-id': 'str' } }
## ##
# @NFSTransport # @NFSTransport:
# #
# An enumeration of NFS transport types # An enumeration of NFS transport types
# #
# @inet: TCP transport # @inet: TCP transport
# #
# Since 2.8 # Since: 2.8
## ##
{ 'enum': 'NFSTransport', { 'enum': 'NFSTransport',
'data': [ 'inet' ] } 'data': [ 'inet' ] }
## ##
# @NFSServer # @NFSServer:
# #
# Captures the address of the socket # Captures the address of the socket
# #
@ -2260,14 +2260,14 @@
# #
# @host: host address for NFS server # @host: host address for NFS server
# #
# Since 2.8 # Since: 2.8
## ##
{ 'struct': 'NFSServer', { 'struct': 'NFSServer',
'data': { 'type': 'NFSTransport', 'data': { 'type': 'NFSTransport',
'host': 'str' } } 'host': 'str' } }
## ##
# @BlockdevOptionsNfs # @BlockdevOptionsNfs:
# #
# Driver specific block device option for NFS # Driver specific block device option for NFS
# #
@ -2295,7 +2295,7 @@
# @debug-level: #optional set the NFS debug level (max 2) (defaults # @debug-level: #optional set the NFS debug level (max 2) (defaults
# to libnfs default) # to libnfs default)
# #
# Since 2.8 # Since: 2.8
## ##
{ 'struct': 'BlockdevOptionsNfs', { 'struct': 'BlockdevOptionsNfs',
'data': { 'server': 'NFSServer', 'data': { 'server': 'NFSServer',
@ -2308,7 +2308,7 @@
'*debug-level': 'int' } } '*debug-level': 'int' } }
## ##
# @BlockdevOptionsCurl # @BlockdevOptionsCurl:
# #
# Driver specific block device options for the curl backend. # Driver specific block device options for the curl backend.
# #
@ -2320,7 +2320,7 @@
'data': { 'filename': 'str' } } 'data': { 'filename': 'str' } }
## ##
# @BlockdevOptionsNbd # @BlockdevOptionsNbd:
# #
# Driver specific block device options for NBD. # Driver specific block device options for NBD.
# #
@ -2338,7 +2338,7 @@
'*tls-creds': 'str' } } '*tls-creds': 'str' } }
## ##
# @BlockdevOptionsRaw # @BlockdevOptionsRaw:
# #
# Driver specific block device options for the raw driver. # Driver specific block device options for the raw driver.
# #
@ -2352,7 +2352,7 @@
'data': { '*offset': 'int', '*size': 'int' } } 'data': { '*offset': 'int', '*size': 'int' } }
## ##
# @BlockdevOptions # @BlockdevOptions:
# #
# Options for creating a block device. Many options are available for all # Options for creating a block device. Many options are available for all
# block devices, independent of the block driver: # block devices, independent of the block driver:
@ -2418,7 +2418,7 @@
} } } }
## ##
# @BlockdevRef # @BlockdevRef:
# #
# Reference to a block device. # Reference to a block device.
# #
@ -2616,7 +2616,7 @@
## ##
# @BlockErrorAction # @BlockErrorAction:
# #
# An enumeration of action that has been taken when a DISK I/O occurs # An enumeration of action that has been taken when a DISK I/O occurs
# #
@ -2633,7 +2633,7 @@
## ##
# @BLOCK_IMAGE_CORRUPTED # @BLOCK_IMAGE_CORRUPTED:
# #
# Emitted when a corruption has been detected in a disk image # Emitted when a corruption has been detected in a disk image
# #
@ -2668,7 +2668,7 @@
'fatal' : 'bool' } } 'fatal' : 'bool' } }
## ##
# @BLOCK_IO_ERROR # @BLOCK_IO_ERROR:
# #
# Emitted when a disk I/O error occurs # Emitted when a disk I/O error occurs
# #
@ -2704,7 +2704,7 @@
'reason': 'str' } } 'reason': 'str' } }
## ##
# @BLOCK_JOB_COMPLETED # @BLOCK_JOB_COMPLETED:
# #
# Emitted when a block job has completed # Emitted when a block job has completed
# #
@ -2736,7 +2736,7 @@
'*error': 'str' } } '*error': 'str' } }
## ##
# @BLOCK_JOB_CANCELLED # @BLOCK_JOB_CANCELLED:
# #
# Emitted when a block job has been cancelled # Emitted when a block job has been cancelled
# #
@ -2762,7 +2762,7 @@
'speed' : 'int' } } 'speed' : 'int' } }
## ##
# @BLOCK_JOB_ERROR # @BLOCK_JOB_ERROR:
# #
# Emitted when a block job encounters an error # Emitted when a block job encounters an error
# #
@ -2781,7 +2781,7 @@
'action' : 'BlockErrorAction' } } 'action' : 'BlockErrorAction' } }
## ##
# @BLOCK_JOB_READY # @BLOCK_JOB_READY:
# #
# Emitted when a block job is ready to complete # Emitted when a block job is ready to complete
# #
@ -2810,7 +2810,7 @@
'speed' : 'int' } } 'speed' : 'int' } }
## ##
# @PreallocMode # @PreallocMode:
# #
# Preallocation mode of QEMU image file # Preallocation mode of QEMU image file
# #
@ -2822,13 +2822,13 @@
# space is really available. @full preallocation also sets up # space is really available. @full preallocation also sets up
# metadata correctly. # metadata correctly.
# #
# Since 2.2 # Since: 2.2
## ##
{ 'enum': 'PreallocMode', { 'enum': 'PreallocMode',
'data': [ 'off', 'metadata', 'falloc', 'full' ] } 'data': [ 'off', 'metadata', 'falloc', 'full' ] }
## ##
# @BLOCK_WRITE_THRESHOLD # @BLOCK_WRITE_THRESHOLD:
# #
# Emitted when writes on block device reaches or exceeds the # Emitted when writes on block device reaches or exceeds the
# configured write threshold. For thin-provisioned devices, this # configured write threshold. For thin-provisioned devices, this
@ -2851,7 +2851,7 @@
'write-threshold': 'uint64' } } 'write-threshold': 'uint64' } }
## ##
# @block-set-write-threshold # @block-set-write-threshold:
# #
# Change the write threshold for a block drive. An event will be delivered # Change the write threshold for a block drive. An event will be delivered
# if a write to this block drive crosses the configured threshold. # if a write to this block drive crosses the configured threshold.
@ -2869,7 +2869,7 @@
'data': { 'node-name': 'str', 'write-threshold': 'uint64' } } 'data': { 'node-name': 'str', 'write-threshold': 'uint64' } }
## ##
# @x-blockdev-change # @x-blockdev-change:
# #
# Dynamically reconfigure the block driver state graph. It can be used # Dynamically reconfigure the block driver state graph. It can be used
# to add, remove, insert or replace a graph node. Currently only the # to add, remove, insert or replace a graph node. Currently only the

View File

@ -40,7 +40,7 @@
'data': ['auto', 'none', 'lba', 'large', 'rechs']} 'data': ['auto', 'none', 'lba', 'large', 'rechs']}
## ##
# @FloppyDriveType # @FloppyDriveType:
# #
# Type of Floppy drive to be emulated by the Floppy Disk Controller. # Type of Floppy drive to be emulated by the Floppy Disk Controller.
# #
@ -56,7 +56,7 @@
'data': ['144', '288', '120', 'none', 'auto']} 'data': ['144', '288', '120', 'none', 'auto']}
## ##
# @BlockdevSnapshotInternal # @BlockdevSnapshotInternal:
# #
# @device: the device name or node-name of a root node to generate the snapshot # @device: the device name or node-name of a root node to generate the snapshot
# from # from
@ -73,7 +73,7 @@
'data': { 'device': 'str', 'name': 'str' } } 'data': { 'device': 'str', 'name': 'str' } }
## ##
# @blockdev-snapshot-internal-sync # @blockdev-snapshot-internal-sync:
# #
# Synchronously take an internal snapshot of a block device, when the format # Synchronously take an internal snapshot of a block device, when the format
# of the image used supports it. # of the image used supports it.
@ -87,13 +87,13 @@
# If the format of the image used does not support it, # If the format of the image used does not support it,
# BlockFormatFeatureNotSupported # BlockFormatFeatureNotSupported
# #
# Since 1.7 # Since: 1.7
## ##
{ 'command': 'blockdev-snapshot-internal-sync', { 'command': 'blockdev-snapshot-internal-sync',
'data': 'BlockdevSnapshotInternal' } 'data': 'BlockdevSnapshotInternal' }
## ##
# @blockdev-snapshot-delete-internal-sync # @blockdev-snapshot-delete-internal-sync:
# #
# Synchronously delete an internal snapshot of a block device, when the format # Synchronously delete an internal snapshot of a block device, when the format
# of the image used support it. The snapshot is identified by name or id or # of the image used support it. The snapshot is identified by name or id or
@ -114,7 +114,7 @@
# BlockFormatFeatureNotSupported # BlockFormatFeatureNotSupported
# If @id and @name are both not specified, GenericError # If @id and @name are both not specified, GenericError
# #
# Since 1.7 # Since: 1.7
## ##
{ 'command': 'blockdev-snapshot-delete-internal-sync', { 'command': 'blockdev-snapshot-delete-internal-sync',
'data': { 'device': 'str', '*id': 'str', '*name': 'str'}, 'data': { 'device': 'str', '*id': 'str', '*name': 'str'},
@ -190,7 +190,7 @@
{ 'command': 'nbd-server-stop' } { 'command': 'nbd-server-stop' }
## ##
# @DEVICE_TRAY_MOVED # @DEVICE_TRAY_MOVED:
# #
# Emitted whenever the tray of a removable device is moved by the guest or by # Emitted whenever the tray of a removable device is moved by the guest or by
# HMP/QMP commands # HMP/QMP commands
@ -209,7 +209,7 @@
'data': { 'device': 'str', 'id': 'str', 'tray-open': 'bool' } } 'data': { 'device': 'str', 'id': 'str', 'tray-open': 'bool' } }
## ##
# @QuorumOpType # @QuorumOpType:
# #
# An enumeration of the quorum operation types # An enumeration of the quorum operation types
# #

View File

@ -3,7 +3,7 @@
# QAPI common definitions # QAPI common definitions
## ##
# @QapiErrorClass # @QapiErrorClass:
# #
# QEMU error classes # QEMU error classes
# #
@ -30,7 +30,7 @@
'DeviceNotActive', 'DeviceNotFound', 'KVMMissingCap' ] } 'DeviceNotActive', 'DeviceNotFound', 'KVMMissingCap' ] }
## ##
# @VersionTriple # @VersionTriple:
# #
# A three-part version number. # A three-part version number.
# #
@ -101,7 +101,7 @@
{ 'command': 'query-commands', 'returns': ['CommandInfo'] } { 'command': 'query-commands', 'returns': ['CommandInfo'] }
## ##
# @OnOffAuto # @OnOffAuto:
# #
# An enumeration of three options: on, off, and auto # An enumeration of three options: on, off, and auto
# #
@ -117,7 +117,7 @@
'data': [ 'auto', 'on', 'off' ] } 'data': [ 'auto', 'on', 'off' ] }
## ##
# @OnOffSplit # @OnOffSplit:
# #
# An enumeration of three values: on, off, and split # An enumeration of three values: on, off, and split
# #

View File

@ -1,5 +1,5 @@
## ##
# @SHUTDOWN # @SHUTDOWN:
# #
# Emitted when the virtual machine has shut down, indicating that qemu is # Emitted when the virtual machine has shut down, indicating that qemu is
# about to exit. # about to exit.
@ -12,7 +12,7 @@
{ 'event': 'SHUTDOWN' } { 'event': 'SHUTDOWN' }
## ##
# @POWERDOWN # @POWERDOWN:
# #
# Emitted when the virtual machine is powered down through the power control # Emitted when the virtual machine is powered down through the power control
# system, such as via ACPI. # system, such as via ACPI.
@ -22,7 +22,7 @@
{ 'event': 'POWERDOWN' } { 'event': 'POWERDOWN' }
## ##
# @RESET # @RESET:
# #
# Emitted when the virtual machine is reset # Emitted when the virtual machine is reset
# #
@ -31,7 +31,7 @@
{ 'event': 'RESET' } { 'event': 'RESET' }
## ##
# @STOP # @STOP:
# #
# Emitted when the virtual machine is stopped # Emitted when the virtual machine is stopped
# #
@ -40,7 +40,7 @@
{ 'event': 'STOP' } { 'event': 'STOP' }
## ##
# @RESUME # @RESUME:
# #
# Emitted when the virtual machine resumes execution # Emitted when the virtual machine resumes execution
# #
@ -49,7 +49,7 @@
{ 'event': 'RESUME' } { 'event': 'RESUME' }
## ##
# @SUSPEND # @SUSPEND:
# #
# Emitted when guest enters a hardware suspension state, for example, S3 state, # Emitted when guest enters a hardware suspension state, for example, S3 state,
# which is sometimes called standby state # which is sometimes called standby state
@ -59,7 +59,7 @@
{ 'event': 'SUSPEND' } { 'event': 'SUSPEND' }
## ##
# @SUSPEND_DISK # @SUSPEND_DISK:
# #
# Emitted when guest enters a hardware suspension state with data saved on # Emitted when guest enters a hardware suspension state with data saved on
# disk, for example, S4 state, which is sometimes called hibernate state # disk, for example, S4 state, which is sometimes called hibernate state
@ -71,7 +71,7 @@
{ 'event': 'SUSPEND_DISK' } { 'event': 'SUSPEND_DISK' }
## ##
# @WAKEUP # @WAKEUP:
# #
# Emitted when the guest has woken up from suspend state and is running # Emitted when the guest has woken up from suspend state and is running
# #
@ -80,7 +80,7 @@
{ 'event': 'WAKEUP' } { 'event': 'WAKEUP' }
## ##
# @RTC_CHANGE # @RTC_CHANGE:
# #
# Emitted when the guest changes the RTC time. # Emitted when the guest changes the RTC time.
# #
@ -93,7 +93,7 @@
'data': { 'offset': 'int' } } 'data': { 'offset': 'int' } }
## ##
# @WATCHDOG # @WATCHDOG:
# #
# Emitted when the watchdog device's timer is expired # Emitted when the watchdog device's timer is expired
# #
@ -108,7 +108,7 @@
'data': { 'action': 'WatchdogExpirationAction' } } 'data': { 'action': 'WatchdogExpirationAction' } }
## ##
# @DEVICE_DELETED # @DEVICE_DELETED:
# #
# Emitted whenever the device removal completion is acknowledged by the guest. # Emitted whenever the device removal completion is acknowledged by the guest.
# At this point, it's safe to reuse the specified device ID. Device removal can # At this point, it's safe to reuse the specified device ID. Device removal can
@ -124,7 +124,7 @@
'data': { '*device': 'str', 'path': 'str' } } 'data': { '*device': 'str', 'path': 'str' } }
## ##
# @NIC_RX_FILTER_CHANGED # @NIC_RX_FILTER_CHANGED:
# #
# Emitted once until the 'query-rx-filter' command is executed, the first event # Emitted once until the 'query-rx-filter' command is executed, the first event
# will always be emitted # will always be emitted
@ -139,7 +139,7 @@
'data': { '*name': 'str', 'path': 'str' } } 'data': { '*name': 'str', 'path': 'str' } }
## ##
# @VNC_CONNECTED # @VNC_CONNECTED:
# #
# Emitted when a VNC client establishes a connection # Emitted when a VNC client establishes a connection
# #
@ -157,7 +157,7 @@
'client': 'VncBasicInfo' } } 'client': 'VncBasicInfo' } }
## ##
# @VNC_INITIALIZED # @VNC_INITIALIZED:
# #
# Emitted after authentication takes place (if any) and the VNC session is # Emitted after authentication takes place (if any) and the VNC session is
# made active # made active
@ -173,7 +173,7 @@
'client': 'VncClientInfo' } } 'client': 'VncClientInfo' } }
## ##
# @VNC_DISCONNECTED # @VNC_DISCONNECTED:
# #
# Emitted when the connection is closed # Emitted when the connection is closed
# #
@ -188,7 +188,7 @@
'client': 'VncClientInfo' } } 'client': 'VncClientInfo' } }
## ##
# @SPICE_CONNECTED # @SPICE_CONNECTED:
# #
# Emitted when a SPICE client establishes a connection # Emitted when a SPICE client establishes a connection
# #
@ -203,7 +203,7 @@
'client': 'SpiceBasicInfo' } } 'client': 'SpiceBasicInfo' } }
## ##
# @SPICE_INITIALIZED # @SPICE_INITIALIZED:
# #
# Emitted after initial handshake and authentication takes place (if any) # Emitted after initial handshake and authentication takes place (if any)
# and the SPICE channel is up and running # and the SPICE channel is up and running
@ -219,7 +219,7 @@
'client': 'SpiceChannel' } } 'client': 'SpiceChannel' } }
## ##
# @SPICE_DISCONNECTED # @SPICE_DISCONNECTED:
# #
# Emitted when the SPICE connection is closed # Emitted when the SPICE connection is closed
# #
@ -234,7 +234,7 @@
'client': 'SpiceBasicInfo' } } 'client': 'SpiceBasicInfo' } }
## ##
# @SPICE_MIGRATE_COMPLETED # @SPICE_MIGRATE_COMPLETED:
# #
# Emitted when SPICE migration has completed # Emitted when SPICE migration has completed
# #
@ -243,7 +243,7 @@
{ 'event': 'SPICE_MIGRATE_COMPLETED' } { 'event': 'SPICE_MIGRATE_COMPLETED' }
## ##
# @MIGRATION # @MIGRATION:
# #
# Emitted when a migration event happens # Emitted when a migration event happens
# #
@ -255,7 +255,7 @@
'data': {'status': 'MigrationStatus'}} 'data': {'status': 'MigrationStatus'}}
## ##
# @MIGRATION_PASS # @MIGRATION_PASS:
# #
# Emitted from the source side of a migration at the start of each pass # Emitted from the source side of a migration at the start of each pass
# (when it syncs the dirty bitmap) # (when it syncs the dirty bitmap)
@ -268,7 +268,7 @@
'data': { 'pass': 'int' } } 'data': { 'pass': 'int' } }
## ##
# @ACPI_DEVICE_OST # @ACPI_DEVICE_OST:
# #
# Emitted when guest executes ACPI _OST method. # Emitted when guest executes ACPI _OST method.
# #
@ -280,7 +280,7 @@
'data': { 'info': 'ACPIOSTInfo' } } 'data': { 'info': 'ACPIOSTInfo' } }
## ##
# @BALLOON_CHANGE # @BALLOON_CHANGE:
# #
# Emitted when the guest changes the actual BALLOON level. This value is # Emitted when the guest changes the actual BALLOON level. This value is
# equivalent to the @actual field return by the 'query-balloon' command # equivalent to the @actual field return by the 'query-balloon' command
@ -293,7 +293,7 @@
'data': { 'actual': 'int' } } 'data': { 'actual': 'int' } }
## ##
# @GUEST_PANICKED # @GUEST_PANICKED:
# #
# Emitted when guest OS panic is detected # Emitted when guest OS panic is detected
# #
@ -305,7 +305,7 @@
'data': { 'action': 'GuestPanicAction' } } 'data': { 'action': 'GuestPanicAction' } }
## ##
# @QUORUM_FAILURE # @QUORUM_FAILURE:
# #
# Emitted by the Quorum block driver if it fails to establish a quorum # Emitted by the Quorum block driver if it fails to establish a quorum
# #
@ -321,7 +321,7 @@
'data': { 'reference': 'str', 'sector-num': 'int', 'sectors-count': 'int' } } 'data': { 'reference': 'str', 'sector-num': 'int', 'sectors-count': 'int' } }
## ##
# @QUORUM_REPORT_BAD # @QUORUM_REPORT_BAD:
# #
# Emitted to report a corruption of a Quorum file # Emitted to report a corruption of a Quorum file
# #
@ -345,7 +345,7 @@
'sector-num': 'int', 'sectors-count': 'int' } } 'sector-num': 'int', 'sectors-count': 'int' } }
## ##
# @VSERPORT_CHANGE # @VSERPORT_CHANGE:
# #
# Emitted when the guest opens or closes a virtio-serial port. # Emitted when the guest opens or closes a virtio-serial port.
# #
@ -359,7 +359,7 @@
'data': { 'id': 'str', 'open': 'bool' } } 'data': { 'id': 'str', 'open': 'bool' } }
## ##
# @MEM_UNPLUG_ERROR # @MEM_UNPLUG_ERROR:
# #
# Emitted when memory hot unplug error occurs. # Emitted when memory hot unplug error occurs.
# #
@ -373,7 +373,7 @@
'data': { 'device': 'str', 'msg': 'str' } } 'data': { 'device': 'str', 'msg': 'str' } }
## ##
# @DUMP_COMPLETED # @DUMP_COMPLETED:
# #
# Emitted when background dump has completed # Emitted when background dump has completed
# #

View File

@ -11,7 +11,7 @@
# See the COPYING file in the top-level directory. # See the COPYING file in the top-level directory.
## ##
# @query-qmp-schema # @query-qmp-schema:
# #
# Command query-qmp-schema exposes the QMP wire ABI as an array of # Command query-qmp-schema exposes the QMP wire ABI as an array of
# SchemaInfo. This lets QMP clients figure out what commands and # SchemaInfo. This lets QMP clients figure out what commands and
@ -49,7 +49,7 @@
'gen': false } # just to simplify qmp_query_json() 'gen': false } # just to simplify qmp_query_json()
## ##
# @SchemaMetaType # @SchemaMetaType:
# #
# This is a @SchemaInfo's meta type, i.e. the kind of entity it # This is a @SchemaInfo's meta type, i.e. the kind of entity it
# describes. # describes.
@ -75,7 +75,7 @@
'command', 'event' ] } 'command', 'event' ] }
## ##
# @SchemaInfo # @SchemaInfo:
# #
# @name: the entity's name, inherited from @base. # @name: the entity's name, inherited from @base.
# Commands and events have the name defined in the QAPI schema. # Commands and events have the name defined in the QAPI schema.
@ -105,7 +105,7 @@
'event': 'SchemaInfoEvent' } } 'event': 'SchemaInfoEvent' } }
## ##
# @SchemaInfoBuiltin # @SchemaInfoBuiltin:
# #
# Additional SchemaInfo members for meta-type 'builtin'. # Additional SchemaInfo members for meta-type 'builtin'.
# #
@ -117,7 +117,7 @@
'data': { 'json-type': 'JSONType' } } 'data': { 'json-type': 'JSONType' } }
## ##
# @JSONType # @JSONType:
# #
# The four primitive and two structured types according to RFC 7159 # The four primitive and two structured types according to RFC 7159
# section 1, plus 'int' (split off 'number'), plus the obvious top # section 1, plus 'int' (split off 'number'), plus the obvious top
@ -130,7 +130,7 @@
'object', 'array', 'value' ] } 'object', 'array', 'value' ] }
## ##
# @SchemaInfoEnum # @SchemaInfoEnum:
# #
# Additional SchemaInfo members for meta-type 'enum'. # Additional SchemaInfo members for meta-type 'enum'.
# #
@ -144,7 +144,7 @@
'data': { 'values': ['str'] } } 'data': { 'values': ['str'] } }
## ##
# @SchemaInfoArray # @SchemaInfoArray:
# #
# Additional SchemaInfo members for meta-type 'array'. # Additional SchemaInfo members for meta-type 'array'.
# #
@ -158,7 +158,7 @@
'data': { 'element-type': 'str' } } 'data': { 'element-type': 'str' } }
## ##
# @SchemaInfoObject # @SchemaInfoObject:
# #
# Additional SchemaInfo members for meta-type 'object'. # Additional SchemaInfo members for meta-type 'object'.
# #
@ -183,7 +183,7 @@
'*variants': [ 'SchemaInfoObjectVariant' ] } } '*variants': [ 'SchemaInfoObjectVariant' ] } }
## ##
# @SchemaInfoObjectMember # @SchemaInfoObjectMember:
# #
# An object member. # An object member.
# #
@ -206,7 +206,7 @@
# @default's type must be null or match @type # @default's type must be null or match @type
## ##
# @SchemaInfoObjectVariant # @SchemaInfoObjectVariant:
# #
# The variant members for a value of the type tag. # The variant members for a value of the type tag.
# #
@ -221,7 +221,7 @@
'data': { 'case': 'str', 'type': 'str' } } 'data': { 'case': 'str', 'type': 'str' } }
## ##
# @SchemaInfoAlternate # @SchemaInfoAlternate:
# #
# Additional SchemaInfo members for meta-type 'alternate'. # Additional SchemaInfo members for meta-type 'alternate'.
# #
@ -237,7 +237,7 @@
'data': { 'members': [ 'SchemaInfoAlternateMember' ] } } 'data': { 'members': [ 'SchemaInfoAlternateMember' ] } }
## ##
# @SchemaInfoAlternateMember # @SchemaInfoAlternateMember:
# #
# An alternate member. # An alternate member.
# #
@ -249,7 +249,7 @@
'data': { 'type': 'str' } } 'data': { 'type': 'str' } }
## ##
# @SchemaInfoCommand # @SchemaInfoCommand:
# #
# Additional SchemaInfo members for meta-type 'command'. # Additional SchemaInfo members for meta-type 'command'.
# #
@ -266,7 +266,7 @@
'data': { 'arg-type': 'str', 'ret-type': 'str' } } 'data': { 'arg-type': 'str', 'ret-type': 'str' } }
## ##
# @SchemaInfoEvent # @SchemaInfoEvent:
# #
# Additional SchemaInfo members for meta-type 'event'. # Additional SchemaInfo members for meta-type 'event'.
# #

View File

@ -17,7 +17,7 @@
# #
# @enabled: The event is dynamically enabled. # @enabled: The event is dynamically enabled.
# #
# Since 2.2 # Since: 2.2
## ##
{ 'enum': 'TraceEventState', { 'enum': 'TraceEventState',
'data': ['unavailable', 'disabled', 'enabled'] } 'data': ['unavailable', 'disabled', 'enabled'] }
@ -34,7 +34,7 @@
# An event is per-vCPU if it has the "vcpu" property in the "trace-events" # An event is per-vCPU if it has the "vcpu" property in the "trace-events"
# files. # files.
# #
# Since 2.2 # Since: 2.2
## ##
{ 'struct': 'TraceEventInfo', { 'struct': 'TraceEventInfo',
'data': {'name': 'str', 'state': 'TraceEventState', 'vcpu': 'bool'} } 'data': {'name': 'str', 'state': 'TraceEventState', 'vcpu': 'bool'} }
@ -58,7 +58,7 @@
# exact match, @vcpu is given and the event does not have the "vcpu" property, # exact match, @vcpu is given and the event does not have the "vcpu" property,
# an error is returned. # an error is returned.
# #
# Since 2.2 # Since: 2.2
## ##
{ 'command': 'trace-event-get-state', { 'command': 'trace-event-get-state',
'data': {'name': 'str', '*vcpu': 'int'}, 'data': {'name': 'str', '*vcpu': 'int'},
@ -83,7 +83,7 @@
# match, @vcpu is given and the event does not have the "vcpu" property, an # match, @vcpu is given and the event does not have the "vcpu" property, an
# error is returned. # error is returned.
# #
# Since 2.2 # Since: 2.2
## ##
{ 'command': 'trace-event-set-state', { 'command': 'trace-event-set-state',
'data': {'name': 'str', 'enable': 'bool', '*ignore-unavailable': 'bool', 'data': {'name': 'str', 'enable': 'bool', '*ignore-unavailable': 'bool',

View File

@ -102,7 +102,7 @@
# #
# Returns: Time in nanoseconds. # Returns: Time in nanoseconds.
# #
# Since 1.5 # Since: 1.5
## ##
{ 'command': 'guest-get-time', { 'command': 'guest-get-time',
'returns': 'int' } 'returns': 'int' }
@ -149,13 +149,13 @@
# @success-response: whether command returns a response on success # @success-response: whether command returns a response on success
# (since 1.7) # (since 1.7)
# #
# Since 1.1.0 # Since: 1.1.0
## ##
{ 'struct': 'GuestAgentCommandInfo', { 'struct': 'GuestAgentCommandInfo',
'data': { 'name': 'str', 'enabled': 'bool', 'success-response': 'bool' } } 'data': { 'name': 'str', 'enabled': 'bool', 'success-response': 'bool' } }
## ##
# @GuestAgentInfo # @GuestAgentInfo:
# #
# Information about guest agent. # Information about guest agent.
# #
@ -163,7 +163,7 @@
# #
# @supported_commands: Information about guest agent commands # @supported_commands: Information about guest agent commands
# #
# Since 0.15.0 # Since: 0.15.0
## ##
{ 'struct': 'GuestAgentInfo', { 'struct': 'GuestAgentInfo',
'data': { 'version': 'str', 'data': { 'version': 'str',
@ -230,7 +230,7 @@
'data': { 'handle': 'int' } } 'data': { 'handle': 'int' } }
## ##
# @GuestFileRead # @GuestFileRead:
# #
# Result of guest agent file-read operation # Result of guest agent file-read operation
# #
@ -264,7 +264,7 @@
'returns': 'GuestFileRead' } 'returns': 'GuestFileRead' }
## ##
# @GuestFileWrite # @GuestFileWrite:
# #
# Result of guest agent file-write operation # Result of guest agent file-write operation
# #
@ -300,7 +300,7 @@
## ##
# @GuestFileSeek # @GuestFileSeek:
# #
# Result of guest agent file-seek operation # Result of guest agent file-seek operation
# #
@ -378,7 +378,7 @@
'data': { 'handle': 'int' } } 'data': { 'handle': 'int' } }
## ##
# @GuestFsfreezeStatus # @GuestFsfreezeStatus:
# #
# An enumeration of filesystem freeze states # An enumeration of filesystem freeze states
# #
@ -455,7 +455,7 @@
'returns': 'int' } 'returns': 'int' }
## ##
# @GuestFilesystemTrimResult # @GuestFilesystemTrimResult:
# #
# @path: path that was trimmed # @path: path that was trimmed
# @error: an error message when trim failed # @error: an error message when trim failed
@ -469,7 +469,7 @@
'*trimmed': 'int', '*minimum': 'int', '*error': 'str'} } '*trimmed': 'int', '*minimum': 'int', '*error': 'str'} }
## ##
# @GuestFilesystemTrimResponse # @GuestFilesystemTrimResponse:
# #
# @paths: list of @GuestFilesystemTrimResult per path that was trimmed # @paths: list of @GuestFilesystemTrimResult per path that was trimmed
# #
@ -501,7 +501,7 @@
'returns': 'GuestFilesystemTrimResponse' } 'returns': 'GuestFilesystemTrimResponse' }
## ##
# @guest-suspend-disk # @guest-suspend-disk:
# #
# Suspend guest to disk. # Suspend guest to disk.
# #
@ -529,7 +529,7 @@
{ 'command': 'guest-suspend-disk', 'success-response': false } { 'command': 'guest-suspend-disk', 'success-response': false }
## ##
# @guest-suspend-ram # @guest-suspend-ram:
# #
# Suspend guest to ram. # Suspend guest to ram.
# #
@ -561,7 +561,7 @@
{ 'command': 'guest-suspend-ram', 'success-response': false } { 'command': 'guest-suspend-ram', 'success-response': false }
## ##
# @guest-suspend-hybrid # @guest-suspend-hybrid:
# #
# Save guest state to disk and suspend to ram. # Save guest state to disk and suspend to ram.
# #
@ -720,7 +720,7 @@
'returns': 'int' } 'returns': 'int' }
## ##
# @GuestDiskBusType # @GuestDiskBusType:
# #
# An enumeration of bus type of disks # An enumeration of bus type of disks
# #
@ -783,7 +783,7 @@
'bus': 'int', 'target': 'int', 'unit': 'int'} } 'bus': 'int', 'target': 'int', 'unit': 'int'} }
## ##
# @GuestFilesystemInfo # @GuestFilesystemInfo:
# #
# @name: disk name # @name: disk name
# @mountpoint: mount point path # @mountpoint: mount point path
@ -811,7 +811,7 @@
'returns': ['GuestFilesystemInfo'] } 'returns': ['GuestFilesystemInfo'] }
## ##
# @guest-set-user-password # @guest-set-user-password:
# #
# @username: the user account whose password to change # @username: the user account whose password to change
# @password: the new password entry string, base64 encoded # @password: the new password entry string, base64 encoded
@ -832,7 +832,7 @@
# #
# Returns: Nothing on success. # Returns: Nothing on success.
# #
# Since 2.3 # Since: 2.3
## ##
{ 'command': 'guest-set-user-password', { 'command': 'guest-set-user-password',
'data': { 'username': 'str', 'password': 'str', 'crypted': 'bool' } } 'data': { 'username': 'str', 'password': 'str', 'crypted': 'bool' } }
@ -873,7 +873,7 @@
'returns': ['GuestMemoryBlock'] } 'returns': ['GuestMemoryBlock'] }
## ##
# @GuestMemoryBlockResponseType # @GuestMemoryBlockResponseType:
# #
# An enumeration of memory block operation result. # An enumeration of memory block operation result.
# #
@ -956,7 +956,7 @@
# #
# Returns: @GuestMemoryBlockInfo # Returns: @GuestMemoryBlockInfo
# #
# Since 2.3 # Since: 2.3
## ##
{ 'command': 'guest-get-memory-block-info', { 'command': 'guest-get-memory-block-info',
'returns': 'GuestMemoryBlockInfo' } 'returns': 'GuestMemoryBlockInfo' }
@ -984,7 +984,7 @@
'*out-data': 'str', '*err-data': 'str', '*out-data': 'str', '*err-data': 'str',
'*out-truncated': 'bool', '*err-truncated': 'bool' }} '*out-truncated': 'bool', '*err-truncated': 'bool' }}
## ##
# @guest-exec-status # @guest-exec-status:
# #
# Check status of process associated with PID retrieved via guest-exec. # Check status of process associated with PID retrieved via guest-exec.
# Reap the process and associated metadata if it has exited. # Reap the process and associated metadata if it has exited.
@ -993,7 +993,7 @@
# #
# Returns: GuestExecStatus on success. # Returns: GuestExecStatus on success.
# #
# Since 2.5 # Since: 2.5
## ##
{ 'command': 'guest-exec-status', { 'command': 'guest-exec-status',
'data': { 'pid': 'int' }, 'data': { 'pid': 'int' },
@ -1003,7 +1003,7 @@
# @GuestExec: # @GuestExec:
# @pid: pid of child process in guest OS # @pid: pid of child process in guest OS
# #
#Since: 2.5 # Since: 2.5
## ##
{ 'struct': 'GuestExec', { 'struct': 'GuestExec',
'data': { 'pid': 'int'} } 'data': { 'pid': 'int'} }