qapi: Normalize version references x.y.0 to just x.y

We use x.y most of the time, and x.y.0 sometimes.  Normalize for
consistency.

Reported-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20201118064158.3359056-1-armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
Markus Armbruster 2020-11-18 07:41:58 +01:00
parent 6cc0667d9b
commit 9bc6e893b7
15 changed files with 123 additions and 123 deletions

View file

@ -27,7 +27,7 @@
#
# Returns: nothing on success.
#
# Since: 0.14.0
# Since: 0.14
#
# Example:
#
@ -47,7 +47,7 @@
#
# @name: The name of the guest
#
# Since: 0.14.0
# Since: 0.14
##
{ 'struct': 'NameInfo', 'data': {'*name': 'str'} }
@ -58,7 +58,7 @@
#
# Returns: @NameInfo of the guest
#
# Since: 0.14.0
# Since: 0.14
#
# Example:
#
@ -132,7 +132,7 @@
#
# Stop all guest VCPU execution.
#
# Since: 0.14.0
# Since: 0.14
#
# Notes: This function will succeed even if the guest is already in the stopped
# state. In "inmigrate" state, it will ensure that the guest
@ -152,7 +152,7 @@
#
# Resume guest VCPU execution.
#
# Since: 0.14.0
# Since: 0.14
#
# Returns: If successful, nothing
#
@ -210,7 +210,7 @@
#
# Returns: the output of the command as a string
#
# Since: 0.14.0
# Since: 0.14
#
# Notes: This command only exists as a stop-gap. Its use is highly
# discouraged. The semantics of this command are not
@ -264,7 +264,7 @@
# Returns: - Nothing on success.
# - If @device is not a valid block device, DeviceNotFound
#
# Since: 0.14.0
# Since: 0.14
#
# Example:
#
@ -296,7 +296,7 @@
#
# Returns: Nothing on success
#
# Since: 0.14.0
# Since: 0.14
#
# Notes: If @fdname already exists, the file descriptor assigned to
# it will be closed and replaced by the received file
@ -322,7 +322,7 @@
#
# Returns: Nothing on success
#
# Since: 0.14.0
# Since: 0.14
#
# Example:
#
@ -342,7 +342,7 @@
# @fd: The file descriptor that was received via SCM rights and
# added to the fd set.
#
# Since: 1.2.0
# Since: 1.2
##
{ 'struct': 'AddfdInfo', 'data': {'fdset-id': 'int', 'fd': 'int'} }
@ -363,7 +363,7 @@
#
# If @fdset-id is not specified, a new fd set will be created.
#
# Since: 1.2.0
# Since: 1.2
#
# Example:
#
@ -388,7 +388,7 @@
# Returns: - Nothing on success
# - If @fdset-id or @fd is not found, FdNotFound
#
# Since: 1.2.0
# Since: 1.2
#
# Notes: The list of fd sets is shared by all monitor connections.
#
@ -412,7 +412,7 @@
#
# @opaque: A free-form string that can be used to describe the fd.
#
# Since: 1.2.0
# Since: 1.2
##
{ 'struct': 'FdsetFdInfo',
'data': {'fd': 'int', '*opaque': 'str'} }
@ -426,7 +426,7 @@
#
# @fds: A list of file descriptors that belong to this fd set.
#
# Since: 1.2.0
# Since: 1.2
##
{ 'struct': 'FdsetInfo',
'data': {'fdset-id': 'int', 'fds': ['FdsetFdInfo']} }
@ -438,7 +438,7 @@
#
# Returns: A list of @FdsetInfo
#
# Since: 1.2.0
# Since: 1.2
#
# Note: The list of fd sets is shared by all monitor connections.
#