diff options
Diffstat (limited to 'migration/migration.c')
-rw-r--r-- | migration/migration.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/migration/migration.c b/migration/migration.c index 4a9e531..5ab1e48 100644 --- a/migration/migration.c +++ b/migration/migration.c @@ -2157,7 +2157,7 @@ static bool migrate_prepare(MigrationState *s, bool blk, bool blk_inc, error_setg(errp, "No disk migration is required in COLO mode"); return false; } - if (migrate_block() || migrate_use_block_incremental()) { + if (migrate_block() || migrate_block_incremental()) { error_setg(errp, "Command options are incompatible with " "current migration capabilities"); return false; @@ -2273,15 +2273,6 @@ int migrate_use_tls(void) return s->parameters.tls_creds && *s->parameters.tls_creds; } -bool migrate_use_block_incremental(void) -{ - MigrationState *s; - - s = migrate_get_current(); - - return s->parameters.block_incremental; -} - /* migration thread support */ /* * Something bad happened to the RP stream, mark an error |