Browse Source

migration: Drop deprecated QMP migrate argument @detach

Deprecated in commit c2fb6eaeb9 (qapi/migration: Deprecate migrate
argument @detach), v10.1.0.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Fabiano Rosas <farosas@suse.de>
Link: https://lore.kernel.org/qemu-devel/20260108125512.2234147-3-armbru@redhat.com
Signed-off-by: Fabiano Rosas <farosas@suse.de>
pull/316/head
Markus Armbruster 3 months ago
committed by Fabiano Rosas
parent
commit
fc37c122ff
  1. 5
      docs/about/deprecated.rst
  2. 5
      docs/about/removed-features.rst
  3. 2
      migration/migration-hmp-cmds.c
  4. 2
      migration/migration.c
  5. 8
      qapi/migration.json

5
docs/about/deprecated.rst

@ -142,11 +142,6 @@ Use ``job-dismiss`` instead.
Use ``job-finalize`` instead.
``migrate`` argument ``detach`` (since 10.1)
''''''''''''''''''''''''''''''''''''''''''''
This argument has always been ignored.
Human Machine Protocol (HMP) commands
-------------------------------------

5
docs/about/removed-features.rst

@ -766,6 +766,11 @@ without reporting any destination threads, or non-multifd source
threads). For debugging purpose, please use ``-name
$VM,debug-threads=on`` instead.
``migrate`` argument ``detach`` (since 11.0)
''''''''''''''''''''''''''''''''''''''''''''
This argument has always been ignored.
QEMU Machine Protocol (QMP) events
----------------------------------

2
migration/migration-hmp-cmds.c

@ -829,7 +829,7 @@ void hmp_migrate(Monitor *mon, const QDict *qdict)
}
QAPI_LIST_PREPEND(caps, g_steal_pointer(&channel));
qmp_migrate(NULL, true, caps, false, false, true, resume, &err);
qmp_migrate(NULL, true, caps, true, resume, &err);
if (hmp_handle_error(mon, err)) {
return;
}

2
migration/migration.c

@ -2201,7 +2201,7 @@ static gboolean qmp_migrate_finish_cb(QIOChannel *channel,
}
void qmp_migrate(const char *uri, bool has_channels,
MigrationChannelList *channels, bool has_detach, bool detach,
MigrationChannelList *channels,
bool has_resume, bool resume, Error **errp)
{
bool resume_requested;

8
qapi/migration.json

@ -1397,19 +1397,12 @@
# @channels: list of migration stream channels with each stream in the
# list connected to a destination interface endpoint.
#
# @detach: this argument exists only for compatibility reasons and is
# ignored by QEMU
#
# @resume: when set, use the new uri/channels specified to resume
# paused postcopy migration. This flag should only be used if
# the previous postcopy migration was interrupted. The command
# will fail unless migration is in "postcopy-paused" state.
# (default: false, since 3.0)
#
# Features:
#
# @deprecated: Argument @detach is deprecated.
#
# Since: 0.14
#
# .. admonition:: Notes
@ -1469,7 +1462,6 @@
{ 'command': 'migrate',
'data': {'*uri': 'str',
'*channels': [ 'MigrationChannel' ],
'*detach': { 'type': 'bool', 'features': [ 'deprecated' ] },
'*resume': 'bool' } }
##

Loading…
Cancel
Save