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>
This commit is contained in:
Markus Armbruster
2026-01-08 13:55:12 +01:00
committed by Fabiano Rosas
parent 7686f2c5d7
commit fc37c122ff
5 changed files with 7 additions and 15 deletions
-5
View File
@@ -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
View File
@@ -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
----------------------------------
+1 -1
View File
@@ -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;
}
+1 -1
View File
@@ -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
View File
@@ -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' } }
##