aboutsummaryrefslogtreecommitdiff
path: root/migration/options.h
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2023-03-02 12:05:03 +0100
committerJuan Quintela <quintela@redhat.com>2023-04-27 16:37:28 +0200
commit87c22901094a911e687e2ad014be868a9723c486 (patch)
tree4207fdea43849a189bf30d75008cd08a6605ef27 /migration/options.h
parentf5da8ba4777f3ab88bfee82bbf8261d6295a26a2 (diff)
migration: Move migrate_set_block_incremental() to options.c
Once there, make it more regular and remove the need for MigrationState parameter. Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Diffstat (limited to 'migration/options.h')
-rw-r--r--migration/options.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/migration/options.h b/migration/options.h
index e982103c0d..d261a25441 100644
--- a/migration/options.h
+++ b/migration/options.h
@@ -82,6 +82,10 @@ int migrate_multifd_zstd_level(void);
uint8_t migrate_throttle_trigger_threshold(void);
uint64_t migrate_xbzrle_cache_size(void);
+/* parameters setters */
+
+void migrate_set_block_incremental(bool value);
+
/* parameters helpers */
bool migrate_params_check(MigrationParameters *params, Error **errp);