Fix query-migrate documentation in qmp-commands.hx
PATCH 1/1 Fix query-migrate documentation in qmp-commands.hx
"ram" is present also when migration completes. total-time and downtime are no longer part of "ram" data.
--- qmp-commands.hx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-)
qmp-commands.hx +7 -7
@@ -2626,8 +2626,8 @@ The main json-object contains the following: - "expected-downtime": only present while migration is active total amount in ms for downtime that was calculated on the last bitmap round (json-int) -- "ram": only present if "status" is "active", it is a json-object with the - following RAM information: +- "ram": only present if "status" is "active" or "complete", it is a + json-object with the following RAM information: - "transferred": amount transferred in bytes (json-int) - "remaining": amount remaining to transfer in bytes (json-int) - "total": total amount of memory in bytes (json-int)
@@ -2669,12 +2669,12 @@ Examples: -> { "execute": "query-migrate" } <- { "return": { "status": "completed", + "total-time":12345, + "downtime":12345, "ram":{ "transferred":123, "remaining":123, "total":246, - "total-time":12345, - "downtime":12345, "duplicate":123, "normal":123, "normal-bytes":123456
@@ -2693,11 +2693,11 @@ Examples: <- { "return":{ "status":"active", + "total-time":12345, "ram":{ "transferred":123, "remaining":123, "total":246, - "total-time":12345, "expected-downtime":12345, "duplicate":123, "normal":123,
@@ -2712,11 +2712,11 @@ Examples: <- { "return":{ "status":"active", + "total-time":12345, "ram":{ "total":1057024, "remaining":1053304, "transferred":3720, - "total-time":12345, "expected-downtime":12345, "duplicate":123, "normal":123,
@@ -2736,12 +2736,12 @@ Examples: <- { "return":{ "status":"active", + "total-time":12345, "capabilities" : [ { "capability": "xbzrle", "state" : true } ], "ram":{ "total":1057024, "remaining":1053304, "transferred":3720, - "total-time":12345, "expected-downtime":12345, "duplicate":10, "normal":3333,
Signature · 1 line
1.8.1.4
Quoted 7 lines · Orit Wasserman
"ram" is present also when migration completes. total-time and downtime are no longer part of "ram" data.
Signed-off-by Orit Wasserman <[email protected]>--- qmp-commands.hx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-)
Signature · 2 lines
Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
Quoted 2 lines · On Thu, 8 Aug 2013 11:46:14 +0300 Orit Wasserman <[email protected]> wrote:
"ram" is present also when migration completes. total-time and downtime are no longer part of "ram" data.
expected-downtime has to be moved too, looks good otherwise.
Quoted 76 lines
Signed-off-by Orit Wasserman <[email protected]>--- qmp-commands.hx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-)qmp-commands.hx +7
-7@@ -2626,8 +2626,8 @@ The main json-object contains the following: - "expected-downtime": only present while migration is active total amount in ms for downtime that was calculated on the last bitmap round (json-int) -- "ram": only present if "status" is "active", it is a json-object with the - following RAM information: +- "ram": only present if "status" is "active" or "complete", it is a + json-object with the following RAM information: - "transferred": amount transferred in bytes (json-int) - "remaining": amount remaining to transfer in bytes (json-int) - "total": total amount of memory in bytes (json-int)@@ -2669,12 +2669,12 @@ Examples: -> { "execute": "query-migrate" } <- { "return": { "status": "completed", + "total-time":12345, + "downtime":12345, "ram":{ "transferred":123, "remaining":123, "total":246, - "total-time":12345, - "downtime":12345, "duplicate":123, "normal":123, "normal-bytes":123456@@ -2693,11 +2693,11 @@ Examples: <- { "return":{ "status":"active", + "total-time":12345, "ram":{ "transferred":123, "remaining":123, "total":246, - "total-time":12345, "expected-downtime":12345, "duplicate":123, "normal":123,@@ -2712,11 +2712,11 @@ Examples: <- { "return":{ "status":"active", + "total-time":12345, "ram":{ "total":1057024, "remaining":1053304, "transferred":3720, - "total-time":12345, "expected-downtime":12345, "duplicate":123, "normal":123,@@ -2736,12 +2736,12 @@ Examples: <- { "return":{ "status":"active", + "total-time":12345, "capabilities" : [ { "capability": "xbzrle", "state" : true } ], "ram":{ "total":1057024, "remaining":1053304, "transferred":3720, - "total-time":12345, "expected-downtime":12345, "duplicate":10, "normal":3333,
Quoted 7 lines · Luiz Capitulino
Quoted 2 lines · On Thu, 8 Aug 2013 11:46:14 +0300 Orit Wasserman <[email protected]> wrote:
"ram" is present also when migration completes. total-time and downtime are no longer part of "ram" data.
expected-downtime has to be moved too, looks good otherwise.
I will fix it in a separate patch.
Orit
Quoted 78 lines
Quoted 77 lines
Signed-off-by Orit Wasserman <[email protected]>--- qmp-commands.hx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-)qmp-commands.hx +7
-7@@ -2626,8 +2626,8 @@ The main json-object contains the following: - "expected-downtime": only present while migration is active total amount in ms for downtime that was calculated on the last bitmap round (json-int) -- "ram": only present if "status" is "active", it is a json-object with the - following RAM information: +- "ram": only present if "status" is "active" or "complete", it is a + json-object with the following RAM information: - "transferred": amount transferred in bytes (json-int) - "remaining": amount remaining to transfer in bytes (json-int) - "total": total amount of memory in bytes (json-int)@@ -2669,12 +2669,12 @@ Examples: -> { "execute": "query-migrate" } <- { "return": { "status": "completed", + "total-time":12345, + "downtime":12345, "ram":{ "transferred":123, "remaining":123, "total":246, - "total-time":12345, - "downtime":12345, "duplicate":123, "normal":123, "normal-bytes":123456@@ -2693,11 +2693,11 @@ Examples: <- { "return":{ "status":"active", + "total-time":12345, "ram":{ "transferred":123, "remaining":123, "total":246, - "total-time":12345, "expected-downtime":12345, "duplicate":123, "normal":123,@@ -2712,11 +2712,11 @@ Examples: <- { "return":{ "status":"active", + "total-time":12345, "ram":{ "total":1057024, "remaining":1053304, "transferred":3720, - "total-time":12345, "expected-downtime":12345, "duplicate":123, "normal":123,@@ -2736,12 +2736,12 @@ Examples: <- { "return":{ "status":"active", + "total-time":12345, "capabilities" : [ { "capability": "xbzrle", "state" : true } ], "ram":{ "total":1057024, "remaining":1053304, "transferred":3720, - "total-time":12345, "expected-downtime":12345, "duplicate":10, "normal":3333,
Quoted 10 lines · On Thu, 08 Aug 2013 19:47:50 +0300 Orit Wasserman <[email protected]> wrote:
Quoted 7 lines · Luiz Capitulino
Quoted 2 lines · On Thu, 8 Aug 2013 11:46:14 +0300 Orit Wasserman <[email protected]> wrote:
"ram" is present also when migration completes. total-time and downtime are no longer part of "ram" data.
expected-downtime has to be moved too, looks good otherwise.
I will fix it in a separate patch.
Why not quickly respin the patch with the instances of the same problem fixed?