summaryrefslogtreecommitdiffstats
path: root/hmp-commands.hx
diff options
context:
space:
mode:
authorPeter Xu2018-05-02 12:47:40 +0200
committerJuan Quintela2018-05-15 22:13:08 +0200
commitd37297dc66202c33f9cafbc48ccae629e7d6dc31 (patch)
treea9637a712fcf225007f6b488f0fc3329349e3f77 /hmp-commands.hx
parentmigration/qmp: add command migrate-pause (diff)
downloadqemu-d37297dc66202c33f9cafbc48ccae629e7d6dc31.tar.gz
qemu-d37297dc66202c33f9cafbc48ccae629e7d6dc31.tar.xz
qemu-d37297dc66202c33f9cafbc48ccae629e7d6dc31.zip
migration/hmp: add migrate_pause command
Wrapper for QMP command "migrate-pause". Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Signed-off-by: Peter Xu <peterx@redhat.com> Message-Id: <20180502104740.12123-25-peterx@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'hmp-commands.hx')
-rw-r--r--hmp-commands.hx14
1 files changed, 14 insertions, 0 deletions
diff --git a/hmp-commands.hx b/hmp-commands.hx
index 2fa387d341..0734fea931 100644
--- a/hmp-commands.hx
+++ b/hmp-commands.hx
@@ -974,6 +974,20 @@ Continue a paused incoming postcopy migration using the @var{uri}.
ETEXI
{
+ .name = "migrate_pause",
+ .args_type = "",
+ .params = "",
+ .help = "Pause an ongoing migration (postcopy-only)",
+ .cmd = hmp_migrate_pause,
+ },
+
+STEXI
+@item migrate_pause
+@findex migrate_pause
+Pause an ongoing migration. Currently it only supports postcopy.
+ETEXI
+
+ {
.name = "migrate_set_cache_size",
.args_type = "value:o",
.params = "value",