aboutsummaryrefslogtreecommitdiff
path: root/migration/savevm.c
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2023-03-01 22:23:57 +0100
committerJuan Quintela <quintela@redhat.com>2023-04-24 15:01:46 +0200
commit9d4b1e5f22a838285ebeb8f0eb7cc8df1161998f (patch)
tree0edfd2c28ad1a622d2c0578f98145e111c04de09 /migration/savevm.c
parent87dca0c9bb63014ef73ad82f7aedea1cb5a822e7 (diff)
downloadqemu-9d4b1e5f22a838285ebeb8f0eb7cc8df1161998f.zip
qemu-9d4b1e5f22a838285ebeb8f0eb7cc8df1161998f.tar.gz
qemu-9d4b1e5f22a838285ebeb8f0eb7cc8df1161998f.tar.bz2
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>
Diffstat (limited to 'migration/savevm.c')
-rw-r--r--migration/savevm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/migration/savevm.c b/migration/savevm.c
index ebcf571..9671211 100644
--- a/migration/savevm.c
+++ b/migration/savevm.c
@@ -1612,7 +1612,7 @@ static int qemu_savevm_state(QEMUFile *f, Error **errp)
return -EINVAL;
}
- if (migrate_use_block()) {
+ if (migrate_block()) {
error_setg(errp, "Block migration and snapshots are incompatible");
return -EINVAL;
}