]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
migration: Remove unused migrate_zero_blocks
authorDr. David Alan Gilbert <dave@treblig.org>
Thu, 19 Sep 2024 13:46:21 +0000 (14:46 +0100)
committerPeter Xu <peterx@redhat.com>
Tue, 8 Oct 2024 19:28:55 +0000 (15:28 -0400)
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>
migration/options.c
migration/options.h

index 9460c5dee9137a8536c8969f2c59d64751526e19..6f549984cb74bcd2f2e286a0615d06839969f51d 100644 (file)
@@ -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();
index 36e7b3723f030fb6dd3a811d6e397b7bd180dcfc..79084eed0ddc67ee97a0762d6b5046cf2652db7b 100644 (file)
@@ -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);
 
 /*