diff mbox

[v1,05/72] qapi: Extract query-commands definition into qapi/common.json

Message ID 1401537111-10221-6-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(-)

Comments

Eric Blake June 2, 2014, 2:45 p.m. UTC | #1
On 05/31/2014 05:50 AM, Benoît Canet wrote:
> Signed-off-by: Benoit Canet <benoit@irqsave.net>
> ---
>  qapi-schema.json | 11 -----------
>  qapi/common.json | 11 +++++++++++
>  2 files changed, 11 insertions(+), 11 deletions(-)

3-5: Reviewed-by: Eric Blake <eblake@redhat.com>
diff mbox

Patch

diff --git a/qapi-schema.json b/qapi-schema.json
index 82d675e..1afe023 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -523,17 +523,6 @@ 
   'returns': 'str' }
 
 ##
-# @query-commands:
-#
-# Return a list of supported QMP commands by this server
-#
-# Returns: A list of @CommandInfo for all supported commands
-#
-# Since: 0.14.0
-##
-{ 'command': 'query-commands', 'returns': ['CommandInfo'] }
-
-##
 # @EventInfo:
 #
 # Information about a QMP event
diff --git a/qapi/common.json b/qapi/common.json
index 37caa5a..4e9a21f 100644
--- a/qapi/common.json
+++ b/qapi/common.json
@@ -76,3 +76,14 @@ 
 ##
 { 'type': 'CommandInfo', 'data': {'name': 'str'} }
 
+##
+# @query-commands:
+#
+# Return a list of supported QMP commands by this server
+#
+# Returns: A list of @CommandInfo for all supported commands
+#
+# Since: 0.14.0
+##
+{ 'command': 'query-commands', 'returns': ['CommandInfo'] }
+