aboutsummaryrefslogtreecommitdiff
path: root/include/migration/migration.h
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2017-04-05 18:32:37 +0200
committerJuan Quintela <quintela@redhat.com>2017-05-18 18:04:54 +0200
commit2833c59b947cf909020c4d6194aac35f383e832b (patch)
tree955fdc5ab08961829f9813e729866dd03949eb6a /include/migration/migration.h
parentf4a06d1391acf919da3f4291f2d6a70344d21c66 (diff)
migration: Create block capability
Create one capability for block migration and one parameter for incremental block migration. Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> --- - address all Markus comments - use Markus and Eric text descriptions - change logic another time - improve text messages
Diffstat (limited to 'include/migration/migration.h')
-rw-r--r--include/migration/migration.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/migration/migration.h b/include/migration/migration.h
index 49ec5015e5..024a048ee4 100644
--- a/include/migration/migration.h
+++ b/include/migration/migration.h
@@ -153,6 +153,9 @@ struct MigrationState
/* The last error that occurred */
Error *error;
+ /* Do we have to clean up -b/-i from old migrate parameters */
+ /* This feature is deprecated and will be removed */
+ bool must_remove_block_options;
};
void migrate_set_state(int *state, int old_state, int new_state);
@@ -265,6 +268,9 @@ bool migrate_colo_enabled(void);
int64_t xbzrle_cache_resize(int64_t new_size);
+bool migrate_use_block(void);
+bool migrate_use_block_incremental(void);
+
bool migrate_use_compression(void);
int migrate_compress_level(void);
int migrate_compress_threads(void);