summaryrefslogtreecommitdiffstats
path: root/migration
diff options
context:
space:
mode:
authorPeter Xu2018-05-02 12:47:23 +0200
committerJuan Quintela2018-05-15 20:54:49 +0200
commit7a4da28b26382bbfc01847dcb7ac01de99f0a1f0 (patch)
tree7801e9caad166d937f63c5df1ad91b212b027e41 /migration
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 'migration')
-rw-r--r--migration/migration.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/migration/migration.c b/migration/migration.c
index 3d3b0a5b4a..19f07fb64f 100644
--- a/migration/migration.c
+++ b/migration/migration.c
@@ -1413,7 +1413,7 @@ bool migration_is_blocked(Error **errp)
void qmp_migrate(const char *uri, bool has_blk, bool blk,
bool has_inc, bool inc, bool has_detach, bool detach,
- Error **errp)
+ bool has_resume, bool resume, Error **errp)
{
Error *local_err = NULL;
MigrationState *s = migrate_get_current();