summaryrefslogtreecommitdiffstats
path: root/qapi
diff options
context:
space:
mode:
authorDr. David Alan Gilbert2017-10-20 11:05:53 +0200
committerJuan Quintela2017-10-23 18:03:30 +0200
commit89cfc02cb6e3fdaf8ae246493ea51e75be2818c1 (patch)
tree14a08877ab2c98278eafa0e5d1c8dc52e2a6e076 /qapi
parentmigration: Wait for semaphore before completing migration (diff)
downloadqemu-89cfc02cb6e3fdaf8ae246493ea51e75be2818c1.tar.gz
qemu-89cfc02cb6e3fdaf8ae246493ea51e75be2818c1.tar.xz
qemu-89cfc02cb6e3fdaf8ae246493ea51e75be2818c1.zip
migration: migrate-continue
A new qmp command allows the caller to continue from a given paused state. Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Reviewed-by: Peter Xu <peterx@redhat.com> Reviewed-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'qapi')
-rw-r--r--qapi/migration.json17
1 files changed, 17 insertions, 0 deletions
diff --git a/qapi/migration.json b/qapi/migration.json
index b56f95db64..272f191551 100644
--- a/qapi/migration.json
+++ b/qapi/migration.json
@@ -877,6 +877,23 @@
{ 'command': 'migrate_cancel' }
##
+# @migrate-continue:
+#
+# Continue migration when it's in a paused state.
+#
+# @state: The state the migration is currently expected to be in
+#
+# Returns: nothing on success
+# Since: 2.11
+# Example:
+#
+# -> { "execute": "migrate-continue" , "arguments":
+# { "state": "pre-switchover" } }
+# <- { "return": {} }
+##
+{ 'command': 'migrate-continue', 'data': {'state': 'MigrationStatus'} }
+
+##
# @migrate_set_downtime:
#
# Set maximum tolerated downtime for migration.