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
# - If Spice is not enabled, DeviceNotFound
#
# Since: 0.14.0
# Since: 0.14
#
# Example:
#
@ -56,7 +56,7 @@
# Returns: - Nothing on success
# - If @protocol is 'spice' and Spice is not active, DeviceNotFound
#
# Since: 0.14.0
# Since: 0.14
#
# Notes: Time is relative to the server and currently there is no way to
# coordinate server time with client time. It is not recommended to
@ -88,7 +88,7 @@
#
# Returns: Nothing on success
#
# Since: 0.14.0
# Since: 0.14
#
# Example:
#
@ -156,7 +156,7 @@
#
# @tls: true if the channel is encrypted, false otherwise.
#
# Since: 0.14.0
# Since: 0.14
##
{ 'struct': 'SpiceChannel',
'base': 'SpiceBasicInfo',
@ -215,7 +215,7 @@
#
# @channels: a list of @SpiceChannel for each active spice channel
#
# Since: 0.14.0
# Since: 0.14
##
{ 'struct': 'SpiceInfo',
'data': {'enabled': 'bool', 'migrated': 'bool', '*host': 'str', '*port': 'int',
@ -230,7 +230,7 @@
#
# Returns: @SpiceInfo
#
# Since: 0.14.0
# Since: 0.14
#
# Example:
#
@ -278,7 +278,7 @@
#
# @client: client information
#
# Since: 0.14.0
# Since: 0.14
#
# Example:
#
@ -305,7 +305,7 @@
#
# @client: client information
#
# Since: 0.14.0
# Since: 0.14
#
# Example:
#
@ -333,7 +333,7 @@
#
# @client: client information
#
# Since: 0.14.0
# Since: 0.14
#
# Example:
#
@ -420,7 +420,7 @@
# @sasl_username: If SASL authentication is in use, the SASL username
# used for authentication.
#
# Since: 0.14.0
# Since: 0.14
##
{ 'struct': 'VncClientInfo',
'base': 'VncBasicInfo',
@ -462,7 +462,7 @@
#
# @clients: a list of @VncClientInfo of all currently connected clients
#
# Since: 0.14.0
# Since: 0.14
##
{ 'struct': 'VncInfo',
'data': {'enabled': 'bool', '*host': 'str',
@ -555,7 +555,7 @@
#
# Returns: @VncInfo
#
# Since: 0.14.0
# Since: 0.14
#
# Example:
#
@ -619,7 +619,7 @@
# Note: This event is emitted before any authentication takes place, thus
# the authentication ID is not provided
#
# Since: 0.13.0
# Since: 0.13
#
# Example:
#
@ -647,7 +647,7 @@
#
# @client: client information
#
# Since: 0.13.0
# Since: 0.13
#
# Example:
#
@ -674,7 +674,7 @@
#
# @client: client information
#
# Since: 0.13.0
# Since: 0.13
#
# Example:
#
@ -709,7 +709,7 @@
#
# @absolute: true if this device supports absolute coordinates as input
#
# Since: 0.14.0
# Since: 0.14
##
{ 'struct': 'MouseInfo',
'data': {'name': 'str', 'index': 'int', 'current': 'bool',
@ -722,7 +722,7 @@
#
# Returns: a list of @MouseInfo for each device
#
# Since: 0.14.0
# Since: 0.14
#
# Example:
#
@ -792,7 +792,7 @@
# 'sysrq' will be transparently changed to 'print', so they
# are effectively synonyms.
#
# Since: 1.3.0
# Since: 1.3
#
##
{ 'enum': 'QKeyCode',
@ -824,7 +824,7 @@
#
# Represents a keyboard key.
#
# Since: 1.3.0
# Since: 1.3
##
{ 'union': 'KeyValue',
'data': {
@ -847,7 +847,7 @@
# Returns: - Nothing on success
# - If key is unknown or redundant, InvalidParameter
#
# Since: 1.3.0
# Since: 1.3
#
# Example:
#