diff options
Diffstat (limited to 'migration/migration.c')
-rw-r--r-- | migration/migration.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/migration/migration.c b/migration/migration.c index 19409e6790..dc7db8751d 100644 --- a/migration/migration.c +++ b/migration/migration.c @@ -611,8 +611,11 @@ bool migrate_zero_blocks(void) bool migrate_use_compression(void) { - /* Disable compression before the patch series are applied */ - return false; + MigrationState *s; + + s = migrate_get_current(); + + return s->enabled_capabilities[MIGRATION_CAPABILITY_COMPRESS]; } int migrate_compress_level(void) |