migration: migrate 'inc' command option is deprecated.

Use blockdev-mirror with NBD instead.

Reviewed-by: Thomas Huth <thuth@redhat.com>
Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-ID: <20231018115513.2163-3-quintela@redhat.com>
This commit is contained in:
Juan Quintela 2023-10-18 13:55:10 +02:00
parent bf1695c252
commit 40101f320d
4 changed files with 25 additions and 1 deletions

View file

@ -1524,6 +1524,11 @@
#
# @resume: resume one paused migration, default "off". (since 3.0)
#
# Features:
#
# @deprecated: Member @inc is deprecated. Use blockdev-mirror with
# NBD instead.
#
# Returns: nothing on success
#
# Since: 0.14
@ -1545,7 +1550,8 @@
# <- { "return": {} }
##
{ 'command': 'migrate',
'data': {'uri': 'str', '*blk': 'bool', '*inc': 'bool',
'data': {'uri': 'str', '*blk': 'bool',
'*inc': { 'type': 'bool', 'features': [ 'deprecated' ] },
'*detach': 'bool', '*resume': 'bool' } }
##