aboutsummaryrefslogtreecommitdiff
path: root/migration/migration.c
diff options
context:
space:
mode:
authorPeter Xu <peterx@redhat.com>2018-05-02 18:47:23 +0800
committerJuan Quintela <quintela@redhat.com>2018-05-15 20:54:49 +0200
commit7a4da28b26382bbfc01847dcb7ac01de99f0a1f0 (patch)
tree7801e9caad166d937f63c5df1ad91b212b027e41 /migration/migration.c
parent3a7804c3065ac79ff6e609e75ff2765d79f64f85 (diff)
downloadqemu-7a4da28b26382bbfc01847dcb7ac01de99f0a1f0.zip
qemu-7a4da28b26382bbfc01847dcb7ac01de99f0a1f0.tar.gz
qemu-7a4da28b26382bbfc01847dcb7ac01de99f0a1f0.tar.bz2
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/migration.c')
-rw-r--r--migration/migration.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/migration/migration.c b/migration/migration.c
index 3d3b0a5..19f07fb 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();