Patchwork [3/5] Fix example for query-migrate-capabilities

login
register
mail settings
Submitter Orit Wasserman
Date Jan. 30, 2013, 10:35 a.m.
Message ID <1359542158-30060-4-git-send-email-owasserm@redhat.com>
Download mbox | patch
Permalink /patch/216842/
State New
Headers show

Comments

Orit Wasserman - Jan. 30, 2013, 10:35 a.m.
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
---
 qmp-commands.hx | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

Patch

diff --git a/qmp-commands.hx b/qmp-commands.hx
index f58a841..ba43062 100644
--- a/qmp-commands.hx
+++ b/qmp-commands.hx
@@ -2601,10 +2601,8 @@  Arguments:
 Example:
 
 -> { "execute": "query-migrate-capabilities" }
-<- { "return": {
-        "capabilities" :  [ { "capability" : "xbzrle", "state" : false } ]
-     }
-   }
+<- { "return": [ { "state": false, "capability": "xbzrle" } ] }
+
 EQMP
 
     {