summaryrefslogtreecommitdiffstats
path: root/qapi
diff options
context:
space:
mode:
authorPeter Xu2018-05-02 12:47:23 +0200
committerJuan Quintela2018-05-15 20:54:49 +0200
commit7a4da28b26382bbfc01847dcb7ac01de99f0a1f0 (patch)
tree7801e9caad166d937f63c5df1ad91b212b027e41 /qapi
parentmigration: allow fault thread to pause (diff)
downloadqemu-7a4da28b26382bbfc01847dcb7ac01de99f0a1f0.tar.gz
qemu-7a4da28b26382bbfc01847dcb7ac01de99f0a1f0.tar.xz
qemu-7a4da28b26382bbfc01847dcb7ac01de99f0a1f0.zip
qmp: hmp: add migrate "resume" option
It will be used when we want to resume one paused migration. Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Signed-off-by: Peter Xu <peterx@redhat.com> Message-Id: <20180502104740.12123-8-peterx@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com> --- s/2.12/2.13/
Diffstat (limited to 'qapi')
-rw-r--r--qapi/migration.json5
1 files changed, 4 insertions, 1 deletions
diff --git a/qapi/migration.json b/qapi/migration.json
index 244334e9f4..b8ca60ac43 100644
--- a/qapi/migration.json
+++ b/qapi/migration.json
@@ -1031,6 +1031,8 @@
# @detach: this argument exists only for compatibility reasons and
# is ignored by QEMU
#
+# @resume: resume one paused migration, default "off". (since 2.13)
+#
# Returns: nothing on success
#
# Since: 0.14.0
@@ -1052,7 +1054,8 @@
#
##
{ 'command': 'migrate',
- 'data': {'uri': 'str', '*blk': 'bool', '*inc': 'bool', '*detach': 'bool' } }
+ 'data': {'uri': 'str', '*blk': 'bool', '*inc': 'bool',
+ '*detach': 'bool', '*resume': 'bool' } }
##
# @migrate-incoming: