aboutsummaryrefslogtreecommitdiff
path: root/qapi
diff options
context:
space:
mode:
authorFabiano Rosas <farosas@suse.de>2024-09-19 14:46:22 +0100
committerPeter Xu <peterx@redhat.com>2024-10-08 15:28:55 -0400
commit73581a041e683fe7899e6af799c42becf60ee400 (patch)
treec7dd0c0a99184b581c0c3f57536d1560480f1efc /qapi
parent21ed5ff6063422c874fbb0e389d5b4cfd18b6fff (diff)
downloadqemu-73581a041e683fe7899e6af799c42becf60ee400.zip
qemu-73581a041e683fe7899e6af799c42becf60ee400.tar.gz
qemu-73581a041e683fe7899e6af799c42becf60ee400.tar.bz2
migration: Deprecate zero-blocks capability
The zero-blocks capability was meant to be used along with the block migration, which has been removed already in commit eef0bae3a7 ("migration: Remove block migration"). Setting zero-blocks is currently a noop, but the outright removal of the capability would cause and error in case some users are still setting it. Put the capability through the deprecation process. Signed-off-by: Fabiano Rosas <farosas@suse.de> Reviewed-by: Peter Xu <peterx@redhat.com> Link: https://lore.kernel.org/r/20240919134626.166183-4-dave@treblig.org Signed-off-by: Peter Xu <peterx@redhat.com>
Diffstat (limited to 'qapi')
-rw-r--r--qapi/migration.json5
1 files changed, 4 insertions, 1 deletions
diff --git a/qapi/migration.json b/qapi/migration.json
index b66cccf..3af6aa1 100644
--- a/qapi/migration.json
+++ b/qapi/migration.json
@@ -479,11 +479,14 @@
# Features:
#
# @unstable: Members @x-colo and @x-ignore-shared are experimental.
+# @deprecated: Member @zero-blocks is deprecated as being part of
+# block migration which was already removed.
#
# Since: 1.2
##
{ 'enum': 'MigrationCapability',
- 'data': ['xbzrle', 'rdma-pin-all', 'auto-converge', 'zero-blocks',
+ 'data': ['xbzrle', 'rdma-pin-all', 'auto-converge',
+ { 'name': 'zero-blocks', 'features': [ 'deprecated' ] },
'events', 'postcopy-ram',
{ 'name': 'x-colo', 'features': [ 'unstable' ] },
'release-ram',