[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v1 02/72] qapi: Extract VersionInfo definition in qa
From: |
Benoît Canet |
Subject: |
[Qemu-devel] [PATCH v1 02/72] qapi: Extract VersionInfo definition in qapi/common.json |
Date: |
Sat, 31 May 2014 13:50:41 +0200 |
Signed-off-by: Benoit Canet <address@hidden>
---
qapi-schema.json | 26 --------------------------
qapi/common.json | 27 +++++++++++++++++++++++++++
2 files changed, 27 insertions(+), 26 deletions(-)
diff --git a/qapi-schema.json b/qapi-schema.json
index 366a507..915bd69 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -110,32 +110,6 @@
{ 'command': 'query-name', 'returns': 'NameInfo' }
##
-# @VersionInfo:
-#
-# A description of QEMU's version.
-#
-# @qemu.major: The major version of QEMU
-#
-# @qemu.minor: The minor version of QEMU
-#
-# @qemu.micro: The micro 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
-# signifies a stable release.
-#
-# @package: QEMU will always set this field to an empty string. Downstream
-# versions of QEMU should set this to a non-empty string. The
-# exact format depends on the downstream however it highly
-# recommended that a unique name is used.
-#
-# Since: 0.14.0
-##
-{ 'type': 'VersionInfo',
- 'data': {'qemu': {'major': 'int', 'minor': 'int', 'micro': 'int'},
- 'package': 'str'} }
-
-##
# @query-version:
#
# Returns the current version of QEMU.
diff --git a/qapi/common.json b/qapi/common.json
index 37f63a4..36c625b 100644
--- a/qapi/common.json
+++ b/qapi/common.json
@@ -27,3 +27,30 @@
{ 'enum': 'ErrorClass',
'data': [ 'GenericError', 'CommandNotFound', 'DeviceEncrypted',
'DeviceNotActive', 'DeviceNotFound', 'KVMMissingCap' ] }
+
+##
+# @VersionInfo:
+#
+# A description of QEMU's version.
+#
+# @qemu.major: The major version of QEMU
+#
+# @qemu.minor: The minor version of QEMU
+#
+# @qemu.micro: The micro 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
+# signifies a stable release.
+#
+# @package: QEMU will always set this field to an empty string. Downstream
+# versions of QEMU should set this to a non-empty string. The
+# exact format depends on the downstream however it highly
+# recommended that a unique name is used.
+#
+# Since: 0.14.0
+##
+{ 'type': 'VersionInfo',
+ 'data': {'qemu': {'major': 'int', 'minor': 'int', 'micro': 'int'},
+ 'package': 'str'} }
+
--
1.9.1
- [Qemu-devel] [PATCH v1 11/72] qapi: Extract ImageInfo definition into qapi/block-core.json, (continued)
- [Qemu-devel] [PATCH v1 11/72] qapi: Extract ImageInfo definition into qapi/block-core.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 13/72] qapi: Extract BlockDeviceInfo definition into qapi/block-core.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 01/72] qapi: Extract ErrorClass definition in qapi/common.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 05/72] qapi: Extract query-commands definition into qapi/common.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 08/72] qapi: Extract ImageInfoSpecificQCow2 definition into qapi/block-core.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 15/72] qapi: Extract BlockDeviceMapEntry definition into qapi/block-core.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 12/72] qapi: Extract ImageCheck definition into qapi/block-core.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 04/72] qapi: Extract CommandInfo definition in qapi/common.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 09/72] qapi: Extract ImageInfoSpecificQCow2 definition into qapi/block-core.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 06/72] qapi: create two block related json modules, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 02/72] qapi: Extract VersionInfo definition in qapi/common.json,
Benoît Canet <=
- [Qemu-devel] [PATCH v1 07/72] qapi: Extract SnapshotInfo definition into qapi/block-core.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 14/72] qapi: Extract BlockDeviceIoStatus definition into qapi/block-core.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 17/72] qapi: Extract BlockInfo definition into qapi/block-core.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 16/72] qapi: Extract BlockDirtyInfo definition into qapi/block-core.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 20/72] qapi: Extract BlockStats definition into qapi/block-core.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 19/72] qapi: Extract BlockDeviceStats definition into qapi/block-core.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 27/72] qapi: Extract block_passwd definition into qapi/block-core.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 22/72] qapi: Extract BlockdevOnError definition into qapi/block-core.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 21/72] qapi: Extract query-blockstats definition into qapi/block-core.json, Benoît Canet, 2014/05/31
- [Qemu-devel] [PATCH v1 23/72] qapi: Extract MirrorSyncMode definition into qapi/block-core.json, Benoît Canet, 2014/05/31