migration: Move migrate_use_block() to options.c

Once that we are there, we rename the function to migrate_block()
to be consistent with all other capabilities.

Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
This commit is contained in:
Juan Quintela
2023-03-01 22:23:57 +01:00
parent 87dca0c9bb
commit 9d4b1e5f22
6 changed files with 13 additions and 13 deletions

View File

@@ -1001,7 +1001,7 @@ static int block_load(QEMUFile *f, void *opaque, int version_id)
static bool block_is_active(void *opaque)
{
return migrate_use_block();
return migrate_block();
}
static SaveVMHandlers savevm_block_handlers = {