doc: add "setup" to list of migration states
PATCH 1/1 doc: add "setup" to list of migration states
From: Peter Feiner <[email protected]>
On a slow VM (e.g., nested), you see the "setup" state when you query the migration status.
Signed-off-by Peter Feiner <[email protected]>
--- qapi-schema.json | 2 +- qmp-commands.hx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
qapi-schema.json +1 -1
@@ -691,7 +691,7 @@ # Information about current migration process. # # @status: #optional string describing the current migration status. -# As of 0.14.0 this can be 'active', 'completed', 'failed' or +# As of 0.14.0 this can be 'setup', 'active', 'completed', 'failed' or # 'cancelled'. If this field is not returned, no migration process # has been initiated #
qmp-commands.hx +1 -1
@@ -2937,7 +2937,7 @@ block migration status. The main json-object contains the following: - "status": migration status (json-string) - - Possible values: "active", "completed", "failed", "cancelled" + - Possible values: "setup", "active", "completed", "failed", "cancelled" - "total-time": total amount of ms since migration started. If migration has ended, it returns the total migration time (json-int)
Signature · 1 line
1.7.9.5
Quoted 10 lines · On 05/16/2014 08:40 AM, [email protected] wrote:
From: Peter Feiner <[email protected]>
On a slow VM (e.g., nested), you see the "setup" state when you query the migration status.
Signed-off-by Peter Feiner <[email protected]>--- qapi-schema.json | 2 +- qmp-commands.hx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
Reviewed-by Eric Blake <[email protected]>
qapi-schema.json line 694
Quoted 11 lines
qapi-schema.json +1
-1@@ -691,7 +691,7 @@ # Information about current migration process. # # @status: #optional string describing the current migration status. -# As of 0.14.0 this can be 'active', 'completed', 'failed' or +# As of 0.14.0 this can be 'setup', 'active', 'completed', 'failed' or
You know, it would be even nicer to convert from an open-coded 'str' to a finite enum of valid strings; it would be self-documenting, and make it that much easier to guarantee the code doesn't add new states without documenting when they were added.
Signature · 2 lines
Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
Luiz Capitulino
AppliedQuoted 6 lines · On Fri, 16 May 2014 10:40:47 -0400 [email protected] wrote:
From: Peter Feiner <[email protected]>
On a slow VM (e.g., nested), you see the "setup" state when you query the migration status.
Signed-off-by Peter Feiner <[email protected]>
Applied to the qmp branch, thanks.
Quoted 31 lines
--- qapi-schema.json | 2 +- qmp-commands.hx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)qapi-schema.json +1
-1@@ -691,7 +691,7 @@ # Information about current migration process. # # @status: #optional string describing the current migration status. -# As of 0.14.0 this can be 'active', 'completed', 'failed' or +# As of 0.14.0 this can be 'setup', 'active', 'completed', 'failed' or # 'cancelled'. If this field is not returned, no migration process # has been initiated #qmp-commands.hx +1
-1@@ -2937,7 +2937,7 @@ block migration status. The main json-object contains the following: - "status": migration status (json-string) - - Possible values: "active", "completed", "failed", "cancelled" + - Possible values: "setup", "active", "completed", "failed", "cancelled" - "total-time": total amount of ms since migration started. If migration has ended, it returns the total migration time (json-int)