migration: migrate 'blk' command option is deprecated.

Use blocked-mirror with NBD instead.

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

View file

@ -1526,8 +1526,8 @@
#
# Features:
#
# @deprecated: Member @inc is deprecated. Use blockdev-mirror with
# NBD instead.
# @deprecated: Members @inc and @blk are deprecated. Use
# blockdev-mirror with NBD instead.
#
# Returns: nothing on success
#
@ -1550,7 +1550,8 @@
# <- { "return": {} }
##
{ 'command': 'migrate',
'data': {'uri': 'str', '*blk': 'bool',
'data': {'uri': 'str',
'*blk': { 'type': 'bool', 'features': [ 'deprecated' ] },
'*inc': { 'type': 'bool', 'features': [ 'deprecated' ] },
'*detach': 'bool', '*resume': 'bool' } }