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
+7 -7
View File
@@ -87,7 +87,7 @@
# exact format depends on the downstream however it highly
# recommended that a unique name is used.
#
# Since: 0.14.0
# Since: 0.14
##
{ 'struct': 'VersionInfo',
'data': {'qemu': 'VersionTriple', 'package': 'str'} }
@@ -99,7 +99,7 @@
#
# Returns: A @VersionInfo object describing the current version of QEMU.
#
# Since: 0.14.0
# Since: 0.14
#
# Example:
#
@@ -126,7 +126,7 @@
#
# @name: The command name
#
# Since: 0.14.0
# Since: 0.14
##
{ 'struct': 'CommandInfo', 'data': {'name': 'str'} }
@@ -137,7 +137,7 @@
#
# Returns: A list of @CommandInfo for all supported commands
#
# Since: 0.14.0
# Since: 0.14
#
# Example:
#
@@ -166,7 +166,7 @@
#
# @name: The event name
#
# Since: 1.2.0
# Since: 1.2
##
{ 'struct': 'EventInfo', 'data': {'name': 'str'} }
@@ -182,7 +182,7 @@
#
# Returns: A list of @EventInfo.
#
# Since: 1.2.0
# Since: 1.2
#
# Example:
#
@@ -212,7 +212,7 @@
# guaranteed. When using this interface, a premature EOF would not be
# unexpected.
#
# Since: 0.14.0
# Since: 0.14
#
# Example:
#