diff options
| author | Vladimir Sementsov-Ogievskiy | 2018-03-13 20:34:01 +0100 |
|---|---|---|
| committer | John Snow | 2018-03-13 22:06:03 +0100 |
| commit | 16b0fd3252511af284ceaeedb4d09ce2d5142da0 (patch) | |
| tree | 1a016b93a08a80b2369a1902793c0d88acf1f6f6 | |
| parent | migration: add is_active_iterate handler (diff) | |
| download | qemu-16b0fd3252511af284ceaeedb4d09ce2d5142da0.tar.gz qemu-16b0fd3252511af284ceaeedb4d09ce2d5142da0.tar.xz qemu-16b0fd3252511af284ceaeedb4d09ce2d5142da0.zip | |
migration: allow qmp command migrate-start-postcopy for any postcopy
Allow migrate-start-postcopy for any postcopy type
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Message-id: 20180313180320.339796-11-vsementsov@virtuozzo.com
| -rw-r--r-- | migration/migration.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/migration/migration.c b/migration/migration.c index 094196c236..59b4fe6090 100644 --- a/migration/migration.c +++ b/migration/migration.c @@ -1022,7 +1022,7 @@ void qmp_migrate_start_postcopy(Error **errp) { MigrationState *s = migrate_get_current(); - if (!migrate_postcopy_ram()) { + if (!migrate_postcopy()) { error_setg(errp, "Enable postcopy with migrate_set_capability before" " the start of migration"); return; |
