diff options
author | Juan Quintela <quintela@redhat.com> | 2023-03-02 00:49:47 +0100 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2023-04-24 15:01:46 +0200 |
commit | 6f8be7080a1f79bf3832cf798fba1697c409c597 (patch) | |
tree | 2ee1b0842f06ef3f658d77bfaf470c3c065a7e63 /migration/options.c | |
parent | 5390adec03a7d8bc6bcf5887f726b0ddaeb90681 (diff) |
migration: Move migrate_use_block_incremental() to option.c
To be consistent with every other parameter, rename to
migrate_block_incremental().
Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Diffstat (limited to 'migration/options.c')
-rw-r--r-- | migration/options.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/migration/options.c b/migration/options.c index 8d15be858c..2b6d88b4b9 100644 --- a/migration/options.c +++ b/migration/options.c @@ -463,6 +463,15 @@ void qmp_migrate_set_capabilities(MigrationCapabilityStatusList *params, /* parameters */ +bool migrate_block_incremental(void) +{ + MigrationState *s; + + s = migrate_get_current(); + + return s->parameters.block_incremental; +} + int migrate_compress_level(void) { MigrationState *s; |