]> git.proxmox.com Git - mirror_qemu.git/blobdiff - qapi/common.json
Merge remote-tracking branch 'remotes/borntraeger/tags/s390x-20150615' into staging
[mirror_qemu.git] / qapi / common.json
index 12431c691b778c3a291075df5a90bddc6f922d64..bad56bf68821fab4a30d709db06609fea18b498e 100644 (file)
             'DeviceNotActive', 'DeviceNotFound', 'KVMMissingCap' ] }
 
 ##
-# @VersionInfo:
+# @VersionTriple
 #
-# A description of QEMU's version.
+# A three-part version number.
+#
+# @qemu.major:  The major version number.
 #
-# @qemu.major:  The major version of QEMU
+# @qemu.minor:  The minor version number.
 #
-# @qemu.minor:  The minor version of QEMU
+# @qemu.micro:  The micro version number.
+#
+# Since: 2.4
+##
+{ 'struct': 'VersionTriple',
+  'data': {'major': 'int', 'minor': 'int', 'micro': 'int'} }
+
+
+##
+# @VersionInfo:
+#
+# A description of QEMU's version.
 #
-# @qemu.micro:  The micro version of QEMU.  By current convention, a micro
+# @qemu:        The version of QEMU.  By current convention, a micro
 #               version of 50 signifies a development branch.  A micro version
 #               greater than or equal to 90 signifies a release candidate for
 #               the next minor version.  A micro version of less than 50
@@ -51,8 +64,7 @@
 # Since: 0.14.0
 ##
 { 'struct': 'VersionInfo',
-  'data': {'qemu': {'major': 'int', 'minor': 'int', 'micro': 'int'},
-           'package': 'str'} }
+  'data': {'qemu': 'VersionTriple', 'package': 'str'} }
 
 ##
 # @query-version: