diff mbox

[v1,04/72] qapi: Extract CommandInfo definition in qapi/common.json

Message ID 1401537111-10221-5-git-send-email-benoit.canet@irqsave.net
State New
Headers show

Commit Message

BenoƮt Canet May 31, 2014, 11:50 a.m. UTC
Signed-off-by: Benoit Canet <benoit@irqsave.net>
---
 qapi-schema.json | 11 -----------
 qapi/common.json | 11 +++++++++++
 2 files changed, 11 insertions(+), 11 deletions(-)
diff mbox

Patch

diff --git a/qapi-schema.json b/qapi-schema.json
index 6d0aea2..82d675e 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -523,17 +523,6 @@ 
   'returns': 'str' }
 
 ##
-# @CommandInfo:
-#
-# Information about a QMP command
-#
-# @name: The command name
-#
-# Since: 0.14.0
-##
-{ 'type': 'CommandInfo', 'data': {'name': 'str'} }
-
-##
 # @query-commands:
 #
 # Return a list of supported QMP commands by this server
diff --git a/qapi/common.json b/qapi/common.json
index 2f1093c..37caa5a 100644
--- a/qapi/common.json
+++ b/qapi/common.json
@@ -65,3 +65,14 @@ 
 ##
 { 'command': 'query-version', 'returns': 'VersionInfo' }
 
+##
+# @CommandInfo:
+#
+# Information about a QMP command
+#
+# @name: The command name
+#
+# Since: 0.14.0
+##
+{ 'type': 'CommandInfo', 'data': {'name': 'str'} }
+