aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Feiner <peter@gridcentric.ca>2014-05-16 10:40:47 -0400
committerLuiz Capitulino <lcapitulino@redhat.com>2014-05-20 14:39:19 -0400
commit3b6959506831193f37cc830c8e111b437c0d1380 (patch)
tree2f671fac1fd6e70f83476c5028455081b2047297
parentc5fa6c86d0765f837515d1c10654c621724a77e0 (diff)
doc: add "setup" to list of migration states
On a slow VM (e.g., nested), you see the "setup" state when you query the migration status. Signed-off-by: Peter Feiner <peter@gridcentric.ca> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
-rw-r--r--qapi-schema.json2
-rw-r--r--qmp-commands.hx2
2 files changed, 2 insertions, 2 deletions
diff --git a/qapi-schema.json b/qapi-schema.json
index 36cb964dfd..f4ffedef9f 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -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
#
diff --git a/qmp-commands.hx b/qmp-commands.hx
index cae890ee5d..408ae9c07b 100644
--- a/qmp-commands.hx
+++ b/qmp-commands.hx
@@ -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)