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
This commit is contained in:
parent
c865d84872
commit
16b0fd3252
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user