From: Peter Krempa Date: Wed, 21 May 2025 07:59:53 +0000 (+0200) Subject: qemuMonitorJSONMigrate: Drop 'detach' QMP option X-Git-Tag: v11.4.0-rc1~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=17e170a137911837867feb680ed5d5d132133621;p=thirdparty%2Flibvirt.git qemuMonitorJSONMigrate: Drop 'detach' QMP option The argument was always ignored by qemu [1], as of qemu-10.1 it will be deprecated. As it was always unused/ignored we can drop it without any extra logic. [1] qemu docs state: 3. The user Monitor's "detach" argument is invalid in QMP and should not be used. Signed-off-by: Peter Krempa Reviewed-by: Michal Privoznik --- diff --git a/src/qemu/qemu_monitor_json.c b/src/qemu/qemu_monitor_json.c index 3c2b35575e..a6fb2a2013 100644 --- a/src/qemu/qemu_monitor_json.c +++ b/src/qemu/qemu_monitor_json.c @@ -3198,7 +3198,6 @@ int qemuMonitorJSONMigrate(qemuMonitor *mon, { bool resume = !!(flags & QEMU_MONITOR_MIGRATE_RESUME); g_autoptr(virJSONValue) cmd = qemuMonitorJSONMakeCommand("migrate", - "b:detach", true, "b:resume", resume, "s:uri", uri, NULL);