[From nobody Sat Sep  5 16:49:06 2026
Received: (at submit) by bugs.debian.org; 27 Aug 2026 08:37:05 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-14.9 required=4.0 tests=BAYES_00,
 BODY_INCLUDES_PACKAGE,FOURLA,HAS_PACKAGE,SPF_HELO_NONE,SPF_PASS
 autolearn=ham autolearn_force=no
 version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 48; hammy, 150; neutral, 166; spammy,
 0. spammytokens: hammytokens:0.000-+--trixie, 0.000-+--sk:taint_o,
 0.000-+--sk:TAINT_O, 0.000-+--sk:taint_u, 0.000-+--sk:TAINT_U
Return-path: &lt;sf@techfak.net&gt;
Received: from mailout1.techfak.net ([2001:638:504:2014::13]:46187
 helo=smtp.techfak.de) by buxtehude.debian.org with esmtps
 (TLS1.2:ECDHE_X25519__RSA_SHA512__AES_256_GCM:256) (Exim 4.96)
 (envelope-from &lt;sf@techfak.net&gt;) id 1wzVbb-00BGCS-2X
 for submit@bugs.debian.org; Thu, 27 Aug 2026 08:37:05 +0000
Date: Thu, 27 Aug 2026 10:28:45 +0200
From: Sascha Frey &lt;sf@techfak.net&gt;
To: submit@bugs.debian.org
Subject: libvirt-daemon-driver-qemu: libvirt migration fails with QEMU 11:
 unexpected detach parameter
Message-ID: &lt;20260827082845.GD21526@techfak.de&gt;
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Greylist: delayed 482 seconds by postgrey-1.37 at buxtehude;
 Thu, 27 Aug 2026 08:37:03 UTC
Delivered-To: submit@bugs.debian.org

Package: libvirt-daemon-driver-qemu
Version: 11.3.0-3+deb13u2
Severity: important

Dear Maintainer,

After upgrading our VM hosts from Debian 12 to Debian 13 (trixie),
live migration of VMs from the upgraded hosts started failing.

The affected hosts use:

  libvirt 11.3.0-3+deb13u2
  qemu-system-x86 1:11.0.2+ds-2~bpo13+1

The QEMU processes were restarted after the Debian upgrade, so all
running VMs were using the new QEMU version.

I attempted a normal live migration using virsh, for example:

  virsh -c qemu+ssh://SOURCE/system migrate \
      --live --persistent --undefinesource \
      VMNAME \
      qemu+ssh://DEST/system \
      tcp://migrate.DEST/

The migration fails with:

  error: internal error: unable to execute QEMU command 'migrate':
  Parameter 'detach' is unexpected

The problem can also be reproduced directly through QMP:

  virsh qemu-monitor-command VMNAME --pretty \
    '{&quot;execute&quot;:&quot;migrate&quot;,&quot;arguments&quot;:{&quot;detach&quot;:true}}'

QEMU 11 responds with:

  Parameter 'detach' is unexpected

I locally backported the upstream libvirt change
&quot;qemuMonitorJSONMigrate: Drop 'detach' QMP option&quot; to
11.3.0-3+deb13u2.

After rebuilding and installing the modified libvirt package,
live migration works successfully again.

I therefore believe the Debian trixie libvirt package needs the
upstream fix for compatibility with QEMU 11.

Please consider backporting this upstream fix to the trixie package.
Alternatively, a newer libvirt version could be made available
through trixie-backports.

Upstream patch:
https://www.mail-archive.com/devel@lists.libvirt.org/msg10575.html

-- System Information:
Debian Release: 13.6
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 7.1.8+deb13-amd64 (SMP w/24 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE,
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), LANGUAGE
not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libvirt-daemon-driver-qemu depends on:
ii  adduser                     3.152
ii  debconf [debconf-2.0]       1.5.91
ii  libc6                       2.41-12+deb13u3
ii  libgcc-s1                   14.2.0-19
ii  libglib2.0-0t64             2.84.4-3~deb13u3
ii  libgnutls30t64              3.8.9-3+deb13u4
ii  libselinux1                 3.8.1-1
ii  libvirt-common              11.3.0-3+deb13u2
ii  libvirt-daemon-log          11.3.0-3+deb13u2
ii  libvirt0                    11.3.0-3+deb13u2
ii  libxml2                     2.12.7+dfsg+really2.9.14-2.1+deb13u3
ii  logrotate                   3.22.0-1
ii  qemu-system                 1:11.0.2+ds-2~bpo13+1
ii  qemu-system-x86 [qemu-kvm]  1:11.0.2+ds-2~bpo13+1
ii  systemd-container           257.13-1~deb13u1

Versions of packages libvirt-daemon-driver-qemu recommends:
ii  passt        0.0~git20250503.587980c-2+deb13u1
pn  swtpm        &lt;none&gt;
pn  swtpm-tools  &lt;none&gt;

Versions of packages libvirt-daemon-driver-qemu suggests:
pn  numad  &lt;none&gt;

-- Configuration Files:
/etc/logrotate.d/libvirtd.qemu changed [not included]

-- debconf information:
  libvirt-daemon-driver-qemu/id_warning: true
]