diff options
author | Dr. David Alan Gilbert <dave@treblig.org> | 2024-09-19 14:46:21 +0100 |
---|---|---|
committer | Peter Xu <peterx@redhat.com> | 2024-10-08 15:28:55 -0400 |
commit | 21ed5ff6063422c874fbb0e389d5b4cfd18b6fff (patch) | |
tree | 43ef1fe2101cea3df99f88e50a1e7a3d19ceae89 /migration | |
parent | a5d8d1384224252b122cb23e3bc141dcd29d41c2 (diff) |
migration: Remove unused migrate_zero_blocks
migrate_zero_blocks is unused since
eef0bae3a7 ("migration: Remove block migration")
Remove it.
Signed-off-by: Dr. David Alan Gilbert <dave@treblig.org>
Reviewed-by: Peter Xu <peterx@redhat.com>
Link: https://lore.kernel.org/r/20240919134626.166183-3-dave@treblig.org
Signed-off-by: Peter Xu <peterx@redhat.com>
Diffstat (limited to 'migration')
-rw-r--r-- | migration/options.c | 7 | ||||
-rw-r--r-- | migration/options.h | 1 |
2 files changed, 0 insertions, 8 deletions
diff --git a/migration/options.c b/migration/options.c index 9460c5dee9..6f549984cb 100644 --- a/migration/options.c +++ b/migration/options.c @@ -339,13 +339,6 @@ bool migrate_xbzrle(void) return s->capabilities[MIGRATION_CAPABILITY_XBZRLE]; } -bool migrate_zero_blocks(void) -{ - MigrationState *s = migrate_get_current(); - - return s->capabilities[MIGRATION_CAPABILITY_ZERO_BLOCKS]; -} - bool migrate_zero_copy_send(void) { MigrationState *s = migrate_get_current(); diff --git a/migration/options.h b/migration/options.h index 36e7b3723f..79084eed0d 100644 --- a/migration/options.h +++ b/migration/options.h @@ -40,7 +40,6 @@ bool migrate_release_ram(void); bool migrate_return_path(void); bool migrate_validate_uuid(void); bool migrate_xbzrle(void); -bool migrate_zero_blocks(void); bool migrate_zero_copy_send(void); /* |