Message ID | 20180313180320.339796-11-vsementsov@virtuozzo.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
* Vladimir Sementsov-Ogievskiy (vsementsov@virtuozzo.com) wrote: > 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> > --- > migration/migration.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > 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; > -- > 2.11.1 > -- Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK
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;
Allow migrate-start-postcopy for any postcopy type Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> --- migration/migration.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)