all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [PATCH-SERIES qemu-server 0/4] adapt to deprecated and removed features for QEMU 11
@ 2026-05-12 12:09 Fiona Ebner
  2026-05-12 12:09 ` [PATCH qemu-server 1/4] cfg2cmd: avoid using deprecated 'debug-threads' option with QEMU binary >= 11.0 Fiona Ebner
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Fiona Ebner @ 2026-05-12 12:09 UTC (permalink / raw)
  To: pve-devel

Just two small things:
1. The 'debug-threads' option for enabling thread names for debugging
   is now enabled by default and the option is deprecated.
2. Some rather niche HMP commands are deprecated.

qemu-server:

Fiona Ebner (4):
  cfg2cmd: avoid using deprecated 'debug-threads' option with QEMU
    binary >= 11.0
  api: hmp permissions: use v5.36 for module
  api: hmp permissions: make return explicit
  api: human monitor: warn about deprecated commands

 src/PVE/API2/Qemu.pm                                     | 4 ++++
 src/PVE/API2/Qemu/HMPPerms.pm                            | 9 ++++++---
 src/PVE/QemuServer.pm                                    | 7 ++++++-
 src/test/cfg2cmd/aarch64/simple-arm-host.conf.cmd        | 2 +-
 src/test/cfg2cmd/aarch64/simple-arm.conf.cmd             | 2 +-
 src/test/cfg2cmd/aarch64/simple-x86-on-arm-host.conf.cmd | 2 +-
 src/test/cfg2cmd/aio.conf.cmd                            | 2 +-
 src/test/cfg2cmd/bootorder-empty.conf.cmd                | 2 +-
 src/test/cfg2cmd/bootorder-legacy.conf.cmd               | 2 +-
 src/test/cfg2cmd/bootorder.conf.cmd                      | 2 +-
 .../cfg2cmd/cputype-icelake-client-deprecation.conf.cmd  | 2 +-
 src/test/cfg2cmd/custom-cpu-model-defaults.conf.cmd      | 2 +-
 .../cfg2cmd/custom-cpu-model-host-phys-bits.conf.cmd     | 2 +-
 src/test/cfg2cmd/custom-cpu-model.conf.cmd               | 2 +-
 src/test/cfg2cmd/efi-ovmf-without-efidisk.conf.cmd       | 2 +-
 src/test/cfg2cmd/efi-raw-old.conf.cmd                    | 2 +-
 src/test/cfg2cmd/efi-raw-template.conf.cmd               | 2 +-
 src/test/cfg2cmd/efi-raw.conf.cmd                        | 2 +-
 src/test/cfg2cmd/efi-secboot-and-tpm-q35.conf.cmd        | 2 +-
 src/test/cfg2cmd/efi-secboot-and-tpm.conf.cmd            | 2 +-
 src/test/cfg2cmd/efidisk-on-rbd.conf.cmd                 | 2 +-
 src/test/cfg2cmd/i440fx-viommu-virtio.conf.cmd           | 2 +-
 src/test/cfg2cmd/i440fx-win10-hostpci.conf.cmd           | 2 +-
 src/test/cfg2cmd/ide.conf.cmd                            | 2 +-
 src/test/cfg2cmd/memory-hotplug-hugepages.conf.cmd       | 2 +-
 src/test/cfg2cmd/memory-hotplug.conf.cmd                 | 2 +-
 src/test/cfg2cmd/memory-hugepages-1g.conf.cmd            | 2 +-
 src/test/cfg2cmd/memory-hugepages-2m.conf.cmd            | 2 +-
 src/test/cfg2cmd/minimal-defaults.conf.cmd               | 2 +-
 src/test/cfg2cmd/netdev-7.0-multiqueues.conf.cmd         | 2 +-
 src/test/cfg2cmd/netdev-7.1-multiqueues.conf.cmd         | 2 +-
 src/test/cfg2cmd/netdev-7.1.conf.cmd                     | 2 +-
 src/test/cfg2cmd/netdev.conf.cmd                         | 2 +-
 src/test/cfg2cmd/netdev_vxlan.conf.cmd                   | 2 +-
 src/test/cfg2cmd/os-l24.conf.cmd                         | 2 +-
 src/test/cfg2cmd/os-other.conf.cmd                       | 2 +-
 src/test/cfg2cmd/os-solaris.conf.cmd                     | 2 +-
 src/test/cfg2cmd/pinned-version-pxe-pve.conf.cmd         | 2 +-
 src/test/cfg2cmd/pinned-version-pxe.conf.cmd             | 2 +-
 src/test/cfg2cmd/pinned-version.conf.cmd                 | 2 +-
 src/test/cfg2cmd/q35-ide.conf.cmd                        | 2 +-
 src/test/cfg2cmd/q35-linux-hostpci-driver-keep.conf.cmd  | 2 +-
 src/test/cfg2cmd/q35-linux-hostpci-mapping.conf.cmd      | 2 +-
 .../cfg2cmd/q35-linux-hostpci-multifunction.conf.cmd     | 2 +-
 src/test/cfg2cmd/q35-linux-hostpci-template.conf.cmd     | 2 +-
 .../cfg2cmd/q35-linux-hostpci-x-pci-overrides.conf.cmd   | 2 +-
 src/test/cfg2cmd/q35-linux-hostpci.conf.cmd              | 2 +-
 src/test/cfg2cmd/q35-simple-6.0.conf.cmd                 | 2 +-
 src/test/cfg2cmd/q35-simple-7.0.conf.cmd                 | 2 +-
 src/test/cfg2cmd/q35-simple-pinned-6.1.conf.cmd          | 2 +-
 src/test/cfg2cmd/q35-simple.conf.cmd                     | 2 +-
 src/test/cfg2cmd/q35-usb2.conf.cmd                       | 2 +-
 src/test/cfg2cmd/q35-usb3.conf.cmd                       | 2 +-
 src/test/cfg2cmd/q35-viommu-intel-aw-bits.conf.cmd       | 2 +-
 .../cfg2cmd/q35-viommu-intel-guest-phys-bits.conf.cmd    | 2 +-
 src/test/cfg2cmd/q35-viommu-intel.conf.cmd               | 2 +-
 src/test/cfg2cmd/q35-viommu-virtio-aw-bits.conf.cmd      | 2 +-
 src/test/cfg2cmd/q35-viommu-virtio.conf.cmd              | 2 +-
 src/test/cfg2cmd/q35-win10-hostpci.conf.cmd              | 2 +-
 src/test/cfg2cmd/q35-windows-pinning.conf.cmd            | 2 +-
 src/test/cfg2cmd/qemu-xhci-7.1.conf.cmd                  | 2 +-
 src/test/cfg2cmd/qemu-xhci-q35-7.1.conf.cmd              | 2 +-
 src/test/cfg2cmd/qga-fs-freeze-backup-legacy.conf.cmd    | 2 +-
 src/test/cfg2cmd/qga-fs-freeze.conf.cmd                  | 2 +-
 src/test/cfg2cmd/qga-minimal.conf.cmd                    | 2 +-
 src/test/cfg2cmd/scsiblk.conf.cmd                        | 2 +-
 src/test/cfg2cmd/scsihw-lsi.conf.cmd                     | 2 +-
 src/test/cfg2cmd/scsihw-lsi53c810.conf.cmd               | 2 +-
 src/test/cfg2cmd/scsihw-megasas.conf.cmd                 | 2 +-
 src/test/cfg2cmd/scsihw-pvscsi.conf.cmd                  | 2 +-
 src/test/cfg2cmd/scsihw-virtio-scsi-single.conf.cmd      | 2 +-
 src/test/cfg2cmd/seabios_serial.conf.cmd                 | 2 +-
 src/test/cfg2cmd/sev-es.conf.cmd                         | 2 +-
 src/test/cfg2cmd/sev-snp.conf.cmd                        | 2 +-
 src/test/cfg2cmd/sev-std.conf.cmd                        | 2 +-
 src/test/cfg2cmd/simple-backingchain.conf.cmd            | 2 +-
 .../cfg2cmd/simple-balloon-free-page-reporting.conf.cmd  | 2 +-
 src/test/cfg2cmd/simple-btrfs.conf.cmd                   | 2 +-
 src/test/cfg2cmd/simple-cifs.conf.cmd                    | 2 +-
 src/test/cfg2cmd/simple-disk-passthrough.conf.cmd        | 2 +-
 src/test/cfg2cmd/simple-lvm.conf.cmd                     | 2 +-
 src/test/cfg2cmd/simple-lvmthin.conf.cmd                 | 2 +-
 src/test/cfg2cmd/simple-rbd.conf.cmd                     | 2 +-
 src/test/cfg2cmd/simple-virtio-blk.conf.cmd              | 2 +-
 src/test/cfg2cmd/simple-zfs-over-iscsi.conf.cmd          | 2 +-
 src/test/cfg2cmd/simple1-template.conf.cmd               | 2 +-
 src/test/cfg2cmd/simple1.conf.cmd                        | 2 +-
 src/test/cfg2cmd/spice-enhancments.conf.cmd              | 2 +-
 src/test/cfg2cmd/spice-linux-4.1.conf.cmd                | 2 +-
 src/test/cfg2cmd/spice-usb3.conf.cmd                     | 2 +-
 src/test/cfg2cmd/spice-win.conf.cmd                      | 2 +-
 src/test/cfg2cmd/startdate-l26.conf.cmd                  | 2 +-
 src/test/cfg2cmd/startdate-win11.conf.cmd                | 2 +-
 src/test/cfg2cmd/vnc-clipboard-spice.conf.cmd            | 2 +-
 src/test/cfg2cmd/vnc-clipboard-std.conf.cmd              | 2 +-
 95 files changed, 108 insertions(+), 96 deletions(-)


Summary over all repositories:
  95 files changed, 108 insertions(+), 96 deletions(-)

-- 
Generated by git-murpp 0.5.0




^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH qemu-server 1/4] cfg2cmd: avoid using deprecated 'debug-threads' option with QEMU binary >= 11.0
  2026-05-12 12:09 [PATCH-SERIES qemu-server 0/4] adapt to deprecated and removed features for QEMU 11 Fiona Ebner
@ 2026-05-12 12:09 ` Fiona Ebner
  2026-05-12 12:09 ` [PATCH qemu-server 2/4] api: hmp permissions: use v5.36 for module Fiona Ebner
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Fiona Ebner @ 2026-05-12 12:09 UTC (permalink / raw)
  To: pve-devel

Reference:
https://qemu-project.gitlab.io/qemu/about/deprecated.html#debug-threads-option-for-name-since-11-0

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
---
 src/PVE/QemuServer.pm                                      | 7 ++++++-
 src/test/cfg2cmd/aarch64/simple-arm-host.conf.cmd          | 2 +-
 src/test/cfg2cmd/aarch64/simple-arm.conf.cmd               | 2 +-
 src/test/cfg2cmd/aarch64/simple-x86-on-arm-host.conf.cmd   | 2 +-
 src/test/cfg2cmd/aio.conf.cmd                              | 2 +-
 src/test/cfg2cmd/bootorder-empty.conf.cmd                  | 2 +-
 src/test/cfg2cmd/bootorder-legacy.conf.cmd                 | 2 +-
 src/test/cfg2cmd/bootorder.conf.cmd                        | 2 +-
 .../cfg2cmd/cputype-icelake-client-deprecation.conf.cmd    | 2 +-
 src/test/cfg2cmd/custom-cpu-model-defaults.conf.cmd        | 2 +-
 src/test/cfg2cmd/custom-cpu-model-host-phys-bits.conf.cmd  | 2 +-
 src/test/cfg2cmd/custom-cpu-model.conf.cmd                 | 2 +-
 src/test/cfg2cmd/efi-ovmf-without-efidisk.conf.cmd         | 2 +-
 src/test/cfg2cmd/efi-raw-old.conf.cmd                      | 2 +-
 src/test/cfg2cmd/efi-raw-template.conf.cmd                 | 2 +-
 src/test/cfg2cmd/efi-raw.conf.cmd                          | 2 +-
 src/test/cfg2cmd/efi-secboot-and-tpm-q35.conf.cmd          | 2 +-
 src/test/cfg2cmd/efi-secboot-and-tpm.conf.cmd              | 2 +-
 src/test/cfg2cmd/efidisk-on-rbd.conf.cmd                   | 2 +-
 src/test/cfg2cmd/i440fx-viommu-virtio.conf.cmd             | 2 +-
 src/test/cfg2cmd/i440fx-win10-hostpci.conf.cmd             | 2 +-
 src/test/cfg2cmd/ide.conf.cmd                              | 2 +-
 src/test/cfg2cmd/memory-hotplug-hugepages.conf.cmd         | 2 +-
 src/test/cfg2cmd/memory-hotplug.conf.cmd                   | 2 +-
 src/test/cfg2cmd/memory-hugepages-1g.conf.cmd              | 2 +-
 src/test/cfg2cmd/memory-hugepages-2m.conf.cmd              | 2 +-
 src/test/cfg2cmd/minimal-defaults.conf.cmd                 | 2 +-
 src/test/cfg2cmd/netdev-7.0-multiqueues.conf.cmd           | 2 +-
 src/test/cfg2cmd/netdev-7.1-multiqueues.conf.cmd           | 2 +-
 src/test/cfg2cmd/netdev-7.1.conf.cmd                       | 2 +-
 src/test/cfg2cmd/netdev.conf.cmd                           | 2 +-
 src/test/cfg2cmd/netdev_vxlan.conf.cmd                     | 2 +-
 src/test/cfg2cmd/os-l24.conf.cmd                           | 2 +-
 src/test/cfg2cmd/os-other.conf.cmd                         | 2 +-
 src/test/cfg2cmd/os-solaris.conf.cmd                       | 2 +-
 src/test/cfg2cmd/pinned-version-pxe-pve.conf.cmd           | 2 +-
 src/test/cfg2cmd/pinned-version-pxe.conf.cmd               | 2 +-
 src/test/cfg2cmd/pinned-version.conf.cmd                   | 2 +-
 src/test/cfg2cmd/q35-ide.conf.cmd                          | 2 +-
 src/test/cfg2cmd/q35-linux-hostpci-driver-keep.conf.cmd    | 2 +-
 src/test/cfg2cmd/q35-linux-hostpci-mapping.conf.cmd        | 2 +-
 src/test/cfg2cmd/q35-linux-hostpci-multifunction.conf.cmd  | 2 +-
 src/test/cfg2cmd/q35-linux-hostpci-template.conf.cmd       | 2 +-
 .../cfg2cmd/q35-linux-hostpci-x-pci-overrides.conf.cmd     | 2 +-
 src/test/cfg2cmd/q35-linux-hostpci.conf.cmd                | 2 +-
 src/test/cfg2cmd/q35-simple-6.0.conf.cmd                   | 2 +-
 src/test/cfg2cmd/q35-simple-7.0.conf.cmd                   | 2 +-
 src/test/cfg2cmd/q35-simple-pinned-6.1.conf.cmd            | 2 +-
 src/test/cfg2cmd/q35-simple.conf.cmd                       | 2 +-
 src/test/cfg2cmd/q35-usb2.conf.cmd                         | 2 +-
 src/test/cfg2cmd/q35-usb3.conf.cmd                         | 2 +-
 src/test/cfg2cmd/q35-viommu-intel-aw-bits.conf.cmd         | 2 +-
 src/test/cfg2cmd/q35-viommu-intel-guest-phys-bits.conf.cmd | 2 +-
 src/test/cfg2cmd/q35-viommu-intel.conf.cmd                 | 2 +-
 src/test/cfg2cmd/q35-viommu-virtio-aw-bits.conf.cmd        | 2 +-
 src/test/cfg2cmd/q35-viommu-virtio.conf.cmd                | 2 +-
 src/test/cfg2cmd/q35-win10-hostpci.conf.cmd                | 2 +-
 src/test/cfg2cmd/q35-windows-pinning.conf.cmd              | 2 +-
 src/test/cfg2cmd/qemu-xhci-7.1.conf.cmd                    | 2 +-
 src/test/cfg2cmd/qemu-xhci-q35-7.1.conf.cmd                | 2 +-
 src/test/cfg2cmd/qga-fs-freeze-backup-legacy.conf.cmd      | 2 +-
 src/test/cfg2cmd/qga-fs-freeze.conf.cmd                    | 2 +-
 src/test/cfg2cmd/qga-minimal.conf.cmd                      | 2 +-
 src/test/cfg2cmd/scsiblk.conf.cmd                          | 2 +-
 src/test/cfg2cmd/scsihw-lsi.conf.cmd                       | 2 +-
 src/test/cfg2cmd/scsihw-lsi53c810.conf.cmd                 | 2 +-
 src/test/cfg2cmd/scsihw-megasas.conf.cmd                   | 2 +-
 src/test/cfg2cmd/scsihw-pvscsi.conf.cmd                    | 2 +-
 src/test/cfg2cmd/scsihw-virtio-scsi-single.conf.cmd        | 2 +-
 src/test/cfg2cmd/seabios_serial.conf.cmd                   | 2 +-
 src/test/cfg2cmd/sev-es.conf.cmd                           | 2 +-
 src/test/cfg2cmd/sev-snp.conf.cmd                          | 2 +-
 src/test/cfg2cmd/sev-std.conf.cmd                          | 2 +-
 src/test/cfg2cmd/simple-backingchain.conf.cmd              | 2 +-
 .../cfg2cmd/simple-balloon-free-page-reporting.conf.cmd    | 2 +-
 src/test/cfg2cmd/simple-btrfs.conf.cmd                     | 2 +-
 src/test/cfg2cmd/simple-cifs.conf.cmd                      | 2 +-
 src/test/cfg2cmd/simple-disk-passthrough.conf.cmd          | 2 +-
 src/test/cfg2cmd/simple-lvm.conf.cmd                       | 2 +-
 src/test/cfg2cmd/simple-lvmthin.conf.cmd                   | 2 +-
 src/test/cfg2cmd/simple-rbd.conf.cmd                       | 2 +-
 src/test/cfg2cmd/simple-virtio-blk.conf.cmd                | 2 +-
 src/test/cfg2cmd/simple-zfs-over-iscsi.conf.cmd            | 2 +-
 src/test/cfg2cmd/simple1-template.conf.cmd                 | 2 +-
 src/test/cfg2cmd/simple1.conf.cmd                          | 2 +-
 src/test/cfg2cmd/spice-enhancments.conf.cmd                | 2 +-
 src/test/cfg2cmd/spice-linux-4.1.conf.cmd                  | 2 +-
 src/test/cfg2cmd/spice-usb3.conf.cmd                       | 2 +-
 src/test/cfg2cmd/spice-win.conf.cmd                        | 2 +-
 src/test/cfg2cmd/startdate-l26.conf.cmd                    | 2 +-
 src/test/cfg2cmd/startdate-win11.conf.cmd                  | 2 +-
 src/test/cfg2cmd/vnc-clipboard-spice.conf.cmd              | 2 +-
 src/test/cfg2cmd/vnc-clipboard-std.conf.cmd                | 2 +-
 93 files changed, 98 insertions(+), 93 deletions(-)

diff --git a/src/PVE/QemuServer.pm b/src/PVE/QemuServer.pm
index 3ee58ec5..6b62a5d6 100644
--- a/src/PVE/QemuServer.pm
+++ b/src/PVE/QemuServer.pm
@@ -3182,7 +3182,12 @@ sub config_to_command {
 
     my $vmname = $conf->{name} || "vm$vmid";
 
-    push @$cmd, '-name', "$vmname,debug-threads=on";
+    # 'debug-threads' is unconditionally enabled since QEMU 11 and the option is deprecated.
+    if (min_version($kvmver, 11, 0)) {
+        push @$cmd, '-name', "$vmname";
+    } else {
+        push @$cmd, '-name', "$vmname,debug-threads=on";
+    }
 
     push @$cmd, '-no-shutdown';
 
diff --git a/src/test/cfg2cmd/aarch64/simple-arm-host.conf.cmd b/src/test/cfg2cmd/aarch64/simple-arm-host.conf.cmd
index bf7443ab..07abb068 100644
--- a/src/test/cfg2cmd/aarch64/simple-arm-host.conf.cmd
+++ b/src/test/cfg2cmd/aarch64/simple-arm-host.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'simple,debug-threads=on' \
+  -name simple \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/aarch64/simple-arm.conf.cmd b/src/test/cfg2cmd/aarch64/simple-arm.conf.cmd
index 2f0d8de8..33653f1f 100644
--- a/src/test/cfg2cmd/aarch64/simple-arm.conf.cmd
+++ b/src/test/cfg2cmd/aarch64/simple-arm.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/qemu-system-aarch64 \
   -id 8006 \
-  -name 'simple,debug-threads=on' \
+  -name simple \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/aarch64/simple-x86-on-arm-host.conf.cmd b/src/test/cfg2cmd/aarch64/simple-x86-on-arm-host.conf.cmd
index 67c60879..a77c2692 100644
--- a/src/test/cfg2cmd/aarch64/simple-x86-on-arm-host.conf.cmd
+++ b/src/test/cfg2cmd/aarch64/simple-x86-on-arm-host.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/qemu-system-x86_64 \
   -id 8006 \
-  -name 'simple,debug-threads=on' \
+  -name simple \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/aio.conf.cmd b/src/test/cfg2cmd/aio.conf.cmd
index fbeccc9f..2e275f6d 100644
--- a/src/test/cfg2cmd/aio.conf.cmd
+++ b/src/test/cfg2cmd/aio.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'vm8006,debug-threads=on' \
+  -name vm8006 \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/bootorder-empty.conf.cmd b/src/test/cfg2cmd/bootorder-empty.conf.cmd
index 32b72a27..238776d0 100644
--- a/src/test/cfg2cmd/bootorder-empty.conf.cmd
+++ b/src/test/cfg2cmd/bootorder-empty.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'simple,debug-threads=on' \
+  -name simple \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/bootorder-legacy.conf.cmd b/src/test/cfg2cmd/bootorder-legacy.conf.cmd
index 9e558167..55f815de 100644
--- a/src/test/cfg2cmd/bootorder-legacy.conf.cmd
+++ b/src/test/cfg2cmd/bootorder-legacy.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'simple,debug-threads=on' \
+  -name simple \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/bootorder.conf.cmd b/src/test/cfg2cmd/bootorder.conf.cmd
index 430926c0..6d48b924 100644
--- a/src/test/cfg2cmd/bootorder.conf.cmd
+++ b/src/test/cfg2cmd/bootorder.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'simple,debug-threads=on' \
+  -name simple \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/cputype-icelake-client-deprecation.conf.cmd b/src/test/cfg2cmd/cputype-icelake-client-deprecation.conf.cmd
index 42e97987..c223929e 100644
--- a/src/test/cfg2cmd/cputype-icelake-client-deprecation.conf.cmd
+++ b/src/test/cfg2cmd/cputype-icelake-client-deprecation.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'simple,debug-threads=on' \
+  -name simple \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/custom-cpu-model-defaults.conf.cmd b/src/test/cfg2cmd/custom-cpu-model-defaults.conf.cmd
index 57f6bb34..7b43d8e0 100644
--- a/src/test/cfg2cmd/custom-cpu-model-defaults.conf.cmd
+++ b/src/test/cfg2cmd/custom-cpu-model-defaults.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'customcpu-defaults,debug-threads=on' \
+  -name customcpu-defaults \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/custom-cpu-model-host-phys-bits.conf.cmd b/src/test/cfg2cmd/custom-cpu-model-host-phys-bits.conf.cmd
index 879de704..665e05d7 100644
--- a/src/test/cfg2cmd/custom-cpu-model-host-phys-bits.conf.cmd
+++ b/src/test/cfg2cmd/custom-cpu-model-host-phys-bits.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'customcpu,debug-threads=on' \
+  -name customcpu \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/custom-cpu-model.conf.cmd b/src/test/cfg2cmd/custom-cpu-model.conf.cmd
index 5d85e564..40c7787e 100644
--- a/src/test/cfg2cmd/custom-cpu-model.conf.cmd
+++ b/src/test/cfg2cmd/custom-cpu-model.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'customcpu,debug-threads=on' \
+  -name customcpu \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/efi-ovmf-without-efidisk.conf.cmd b/src/test/cfg2cmd/efi-ovmf-without-efidisk.conf.cmd
index fdeb8ba5..bab304dc 100644
--- a/src/test/cfg2cmd/efi-ovmf-without-efidisk.conf.cmd
+++ b/src/test/cfg2cmd/efi-ovmf-without-efidisk.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'vm8006,debug-threads=on' \
+  -name vm8006 \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/efi-raw-old.conf.cmd b/src/test/cfg2cmd/efi-raw-old.conf.cmd
index b62967bd..774607e6 100644
--- a/src/test/cfg2cmd/efi-raw-old.conf.cmd
+++ b/src/test/cfg2cmd/efi-raw-old.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'vm8006,debug-threads=on' \
+  -name vm8006 \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/efi-raw-template.conf.cmd b/src/test/cfg2cmd/efi-raw-template.conf.cmd
index d027d776..34d509cb 100644
--- a/src/test/cfg2cmd/efi-raw-template.conf.cmd
+++ b/src/test/cfg2cmd/efi-raw-template.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'vm8006,debug-threads=on' \
+  -name vm8006 \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/efi-raw.conf.cmd b/src/test/cfg2cmd/efi-raw.conf.cmd
index d3b2ec8c..bf35f1d6 100644
--- a/src/test/cfg2cmd/efi-raw.conf.cmd
+++ b/src/test/cfg2cmd/efi-raw.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'vm8006,debug-threads=on' \
+  -name vm8006 \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/efi-secboot-and-tpm-q35.conf.cmd b/src/test/cfg2cmd/efi-secboot-and-tpm-q35.conf.cmd
index 3d6279e9..4d12b034 100644
--- a/src/test/cfg2cmd/efi-secboot-and-tpm-q35.conf.cmd
+++ b/src/test/cfg2cmd/efi-secboot-and-tpm-q35.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'vm8006,debug-threads=on' \
+  -name vm8006 \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/efi-secboot-and-tpm.conf.cmd b/src/test/cfg2cmd/efi-secboot-and-tpm.conf.cmd
index f705aa84..84721318 100644
--- a/src/test/cfg2cmd/efi-secboot-and-tpm.conf.cmd
+++ b/src/test/cfg2cmd/efi-secboot-and-tpm.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'vm8006,debug-threads=on' \
+  -name vm8006 \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/efidisk-on-rbd.conf.cmd b/src/test/cfg2cmd/efidisk-on-rbd.conf.cmd
index fc6d68a4..ffd471bd 100644
--- a/src/test/cfg2cmd/efidisk-on-rbd.conf.cmd
+++ b/src/test/cfg2cmd/efidisk-on-rbd.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'vm8006,debug-threads=on' \
+  -name vm8006 \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/i440fx-viommu-virtio.conf.cmd b/src/test/cfg2cmd/i440fx-viommu-virtio.conf.cmd
index 4e9f0fb8..d90c7ad6 100644
--- a/src/test/cfg2cmd/i440fx-viommu-virtio.conf.cmd
+++ b/src/test/cfg2cmd/i440fx-viommu-virtio.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'vm8006,debug-threads=on' \
+  -name vm8006 \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/i440fx-win10-hostpci.conf.cmd b/src/test/cfg2cmd/i440fx-win10-hostpci.conf.cmd
index ca648dab..2c19c1c7 100644
--- a/src/test/cfg2cmd/i440fx-win10-hostpci.conf.cmd
+++ b/src/test/cfg2cmd/i440fx-win10-hostpci.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'vm8006,debug-threads=on' \
+  -name vm8006 \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/ide.conf.cmd b/src/test/cfg2cmd/ide.conf.cmd
index 2503e9a4..afb52d79 100644
--- a/src/test/cfg2cmd/ide.conf.cmd
+++ b/src/test/cfg2cmd/ide.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'vm8006,debug-threads=on' \
+  -name vm8006 \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/memory-hotplug-hugepages.conf.cmd b/src/test/cfg2cmd/memory-hotplug-hugepages.conf.cmd
index 0f071ac0..af56796a 100644
--- a/src/test/cfg2cmd/memory-hotplug-hugepages.conf.cmd
+++ b/src/test/cfg2cmd/memory-hotplug-hugepages.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'simple,debug-threads=on' \
+  -name simple \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/memory-hotplug.conf.cmd b/src/test/cfg2cmd/memory-hotplug.conf.cmd
index 5402b5ee..adb1531a 100644
--- a/src/test/cfg2cmd/memory-hotplug.conf.cmd
+++ b/src/test/cfg2cmd/memory-hotplug.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'simple,debug-threads=on' \
+  -name simple \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/memory-hugepages-1g.conf.cmd b/src/test/cfg2cmd/memory-hugepages-1g.conf.cmd
index e62aa768..34aa09ea 100644
--- a/src/test/cfg2cmd/memory-hugepages-1g.conf.cmd
+++ b/src/test/cfg2cmd/memory-hugepages-1g.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'simple,debug-threads=on' \
+  -name simple \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/memory-hugepages-2m.conf.cmd b/src/test/cfg2cmd/memory-hugepages-2m.conf.cmd
index 89e43393..98a3b26b 100644
--- a/src/test/cfg2cmd/memory-hugepages-2m.conf.cmd
+++ b/src/test/cfg2cmd/memory-hugepages-2m.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'simple,debug-threads=on' \
+  -name simple \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/minimal-defaults.conf.cmd b/src/test/cfg2cmd/minimal-defaults.conf.cmd
index 5a419ddf..f10276ba 100644
--- a/src/test/cfg2cmd/minimal-defaults.conf.cmd
+++ b/src/test/cfg2cmd/minimal-defaults.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'vm8006,debug-threads=on' \
+  -name vm8006 \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/netdev-7.0-multiqueues.conf.cmd b/src/test/cfg2cmd/netdev-7.0-multiqueues.conf.cmd
index d2b46e81..89226c72 100644
--- a/src/test/cfg2cmd/netdev-7.0-multiqueues.conf.cmd
+++ b/src/test/cfg2cmd/netdev-7.0-multiqueues.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'netdev-multiq,debug-threads=on' \
+  -name netdev-multiq \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/netdev-7.1-multiqueues.conf.cmd b/src/test/cfg2cmd/netdev-7.1-multiqueues.conf.cmd
index fe2af829..89e7ae62 100644
--- a/src/test/cfg2cmd/netdev-7.1-multiqueues.conf.cmd
+++ b/src/test/cfg2cmd/netdev-7.1-multiqueues.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'netdev,debug-threads=on' \
+  -name netdev \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/netdev-7.1.conf.cmd b/src/test/cfg2cmd/netdev-7.1.conf.cmd
index 7b858d92..8cf2615b 100644
--- a/src/test/cfg2cmd/netdev-7.1.conf.cmd
+++ b/src/test/cfg2cmd/netdev-7.1.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'netdev,debug-threads=on' \
+  -name netdev \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/netdev.conf.cmd b/src/test/cfg2cmd/netdev.conf.cmd
index 64e83219..2a35d7e8 100644
--- a/src/test/cfg2cmd/netdev.conf.cmd
+++ b/src/test/cfg2cmd/netdev.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'netdev,debug-threads=on' \
+  -name netdev \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/netdev_vxlan.conf.cmd b/src/test/cfg2cmd/netdev_vxlan.conf.cmd
index 3d6c8da7..3d48c3f5 100644
--- a/src/test/cfg2cmd/netdev_vxlan.conf.cmd
+++ b/src/test/cfg2cmd/netdev_vxlan.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'netdev,debug-threads=on' \
+  -name netdev \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/os-l24.conf.cmd b/src/test/cfg2cmd/os-l24.conf.cmd
index 45dbc7cd..3f299166 100644
--- a/src/test/cfg2cmd/os-l24.conf.cmd
+++ b/src/test/cfg2cmd/os-l24.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'vm8006,debug-threads=on' \
+  -name vm8006 \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/os-other.conf.cmd b/src/test/cfg2cmd/os-other.conf.cmd
index 1f53858b..6ca9f464 100644
--- a/src/test/cfg2cmd/os-other.conf.cmd
+++ b/src/test/cfg2cmd/os-other.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'vm8006,debug-threads=on' \
+  -name vm8006 \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/os-solaris.conf.cmd b/src/test/cfg2cmd/os-solaris.conf.cmd
index 23e6987f..a7174ec3 100644
--- a/src/test/cfg2cmd/os-solaris.conf.cmd
+++ b/src/test/cfg2cmd/os-solaris.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'vm8006,debug-threads=on' \
+  -name vm8006 \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/pinned-version-pxe-pve.conf.cmd b/src/test/cfg2cmd/pinned-version-pxe-pve.conf.cmd
index 7301e3fa..41360544 100644
--- a/src/test/cfg2cmd/pinned-version-pxe-pve.conf.cmd
+++ b/src/test/cfg2cmd/pinned-version-pxe-pve.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'pinned,debug-threads=on' \
+  -name pinned \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/pinned-version-pxe.conf.cmd b/src/test/cfg2cmd/pinned-version-pxe.conf.cmd
index 89be8c69..098b12fa 100644
--- a/src/test/cfg2cmd/pinned-version-pxe.conf.cmd
+++ b/src/test/cfg2cmd/pinned-version-pxe.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'pinned,debug-threads=on' \
+  -name pinned \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/pinned-version.conf.cmd b/src/test/cfg2cmd/pinned-version.conf.cmd
index da161ad9..e26b35c6 100644
--- a/src/test/cfg2cmd/pinned-version.conf.cmd
+++ b/src/test/cfg2cmd/pinned-version.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'pinned,debug-threads=on' \
+  -name pinned \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/q35-ide.conf.cmd b/src/test/cfg2cmd/q35-ide.conf.cmd
index 36f5264e..f8f4b40e 100644
--- a/src/test/cfg2cmd/q35-ide.conf.cmd
+++ b/src/test/cfg2cmd/q35-ide.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'vm8006,debug-threads=on' \
+  -name vm8006 \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/q35-linux-hostpci-driver-keep.conf.cmd b/src/test/cfg2cmd/q35-linux-hostpci-driver-keep.conf.cmd
index 7226d478..c2418561 100644
--- a/src/test/cfg2cmd/q35-linux-hostpci-driver-keep.conf.cmd
+++ b/src/test/cfg2cmd/q35-linux-hostpci-driver-keep.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'vm8006,debug-threads=on' \
+  -name vm8006 \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/q35-linux-hostpci-mapping.conf.cmd b/src/test/cfg2cmd/q35-linux-hostpci-mapping.conf.cmd
index b5d8997e..b5a8c246 100644
--- a/src/test/cfg2cmd/q35-linux-hostpci-mapping.conf.cmd
+++ b/src/test/cfg2cmd/q35-linux-hostpci-mapping.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'vm8006,debug-threads=on' \
+  -name vm8006 \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/q35-linux-hostpci-multifunction.conf.cmd b/src/test/cfg2cmd/q35-linux-hostpci-multifunction.conf.cmd
index 9cfc71a7..d49353ee 100644
--- a/src/test/cfg2cmd/q35-linux-hostpci-multifunction.conf.cmd
+++ b/src/test/cfg2cmd/q35-linux-hostpci-multifunction.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'vm8006,debug-threads=on' \
+  -name vm8006 \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/q35-linux-hostpci-template.conf.cmd b/src/test/cfg2cmd/q35-linux-hostpci-template.conf.cmd
index 20e3c81d..021dd2a3 100644
--- a/src/test/cfg2cmd/q35-linux-hostpci-template.conf.cmd
+++ b/src/test/cfg2cmd/q35-linux-hostpci-template.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'vm8006,debug-threads=on' \
+  -name vm8006 \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/q35-linux-hostpci-x-pci-overrides.conf.cmd b/src/test/cfg2cmd/q35-linux-hostpci-x-pci-overrides.conf.cmd
index 7b3f65f4..8efda601 100644
--- a/src/test/cfg2cmd/q35-linux-hostpci-x-pci-overrides.conf.cmd
+++ b/src/test/cfg2cmd/q35-linux-hostpci-x-pci-overrides.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'vm8006,debug-threads=on' \
+  -name vm8006 \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/q35-linux-hostpci.conf.cmd b/src/test/cfg2cmd/q35-linux-hostpci.conf.cmd
index 7226d478..c2418561 100644
--- a/src/test/cfg2cmd/q35-linux-hostpci.conf.cmd
+++ b/src/test/cfg2cmd/q35-linux-hostpci.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'vm8006,debug-threads=on' \
+  -name vm8006 \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/q35-simple-6.0.conf.cmd b/src/test/cfg2cmd/q35-simple-6.0.conf.cmd
index 858dd11c..a362c005 100644
--- a/src/test/cfg2cmd/q35-simple-6.0.conf.cmd
+++ b/src/test/cfg2cmd/q35-simple-6.0.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'vm8006,debug-threads=on' \
+  -name vm8006 \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/q35-simple-7.0.conf.cmd b/src/test/cfg2cmd/q35-simple-7.0.conf.cmd
index 7a241d09..04fe0e67 100644
--- a/src/test/cfg2cmd/q35-simple-7.0.conf.cmd
+++ b/src/test/cfg2cmd/q35-simple-7.0.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'vm8006,debug-threads=on' \
+  -name vm8006 \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/q35-simple-pinned-6.1.conf.cmd b/src/test/cfg2cmd/q35-simple-pinned-6.1.conf.cmd
index 24a2e299..78bbbe30 100644
--- a/src/test/cfg2cmd/q35-simple-pinned-6.1.conf.cmd
+++ b/src/test/cfg2cmd/q35-simple-pinned-6.1.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'vm8006,debug-threads=on' \
+  -name vm8006 \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/q35-simple.conf.cmd b/src/test/cfg2cmd/q35-simple.conf.cmd
index 307aeb4a..e65e52e0 100644
--- a/src/test/cfg2cmd/q35-simple.conf.cmd
+++ b/src/test/cfg2cmd/q35-simple.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'vm8006,debug-threads=on' \
+  -name vm8006 \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/q35-usb2.conf.cmd b/src/test/cfg2cmd/q35-usb2.conf.cmd
index 6ed69e9c..915e7008 100644
--- a/src/test/cfg2cmd/q35-usb2.conf.cmd
+++ b/src/test/cfg2cmd/q35-usb2.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'q35-usb2,debug-threads=on' \
+  -name q35-usb2 \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/q35-usb3.conf.cmd b/src/test/cfg2cmd/q35-usb3.conf.cmd
index ce7c5a38..0fe6f8cb 100644
--- a/src/test/cfg2cmd/q35-usb3.conf.cmd
+++ b/src/test/cfg2cmd/q35-usb3.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'q35-usb3,debug-threads=on' \
+  -name q35-usb3 \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/q35-viommu-intel-aw-bits.conf.cmd b/src/test/cfg2cmd/q35-viommu-intel-aw-bits.conf.cmd
index 030ccaa5..c4b5de15 100644
--- a/src/test/cfg2cmd/q35-viommu-intel-aw-bits.conf.cmd
+++ b/src/test/cfg2cmd/q35-viommu-intel-aw-bits.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'vm8006,debug-threads=on' \
+  -name vm8006 \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/q35-viommu-intel-guest-phys-bits.conf.cmd b/src/test/cfg2cmd/q35-viommu-intel-guest-phys-bits.conf.cmd
index b24baeb0..dc8c45b9 100644
--- a/src/test/cfg2cmd/q35-viommu-intel-guest-phys-bits.conf.cmd
+++ b/src/test/cfg2cmd/q35-viommu-intel-guest-phys-bits.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'vm8006,debug-threads=on' \
+  -name vm8006 \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/q35-viommu-intel.conf.cmd b/src/test/cfg2cmd/q35-viommu-intel.conf.cmd
index 2ddc57ca..f2a9201a 100644
--- a/src/test/cfg2cmd/q35-viommu-intel.conf.cmd
+++ b/src/test/cfg2cmd/q35-viommu-intel.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'vm8006,debug-threads=on' \
+  -name vm8006 \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/q35-viommu-virtio-aw-bits.conf.cmd b/src/test/cfg2cmd/q35-viommu-virtio-aw-bits.conf.cmd
index c3b12eee..e85b27e4 100644
--- a/src/test/cfg2cmd/q35-viommu-virtio-aw-bits.conf.cmd
+++ b/src/test/cfg2cmd/q35-viommu-virtio-aw-bits.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'vm8006,debug-threads=on' \
+  -name vm8006 \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/q35-viommu-virtio.conf.cmd b/src/test/cfg2cmd/q35-viommu-virtio.conf.cmd
index 0ae11208..367ce692 100644
--- a/src/test/cfg2cmd/q35-viommu-virtio.conf.cmd
+++ b/src/test/cfg2cmd/q35-viommu-virtio.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'vm8006,debug-threads=on' \
+  -name vm8006 \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/q35-win10-hostpci.conf.cmd b/src/test/cfg2cmd/q35-win10-hostpci.conf.cmd
index 3a4dd6ec..ccc0fb7e 100644
--- a/src/test/cfg2cmd/q35-win10-hostpci.conf.cmd
+++ b/src/test/cfg2cmd/q35-win10-hostpci.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'vm8006,debug-threads=on' \
+  -name vm8006 \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/q35-windows-pinning.conf.cmd b/src/test/cfg2cmd/q35-windows-pinning.conf.cmd
index 986c485e..6b1d290e 100644
--- a/src/test/cfg2cmd/q35-windows-pinning.conf.cmd
+++ b/src/test/cfg2cmd/q35-windows-pinning.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'vm8006,debug-threads=on' \
+  -name vm8006 \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/qemu-xhci-7.1.conf.cmd b/src/test/cfg2cmd/qemu-xhci-7.1.conf.cmd
index 495738e2..d51256f8 100644
--- a/src/test/cfg2cmd/qemu-xhci-7.1.conf.cmd
+++ b/src/test/cfg2cmd/qemu-xhci-7.1.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'spiceusb3,debug-threads=on' \
+  -name spiceusb3 \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/qemu-xhci-q35-7.1.conf.cmd b/src/test/cfg2cmd/qemu-xhci-q35-7.1.conf.cmd
index 0e74f0d1..60ae074c 100644
--- a/src/test/cfg2cmd/qemu-xhci-q35-7.1.conf.cmd
+++ b/src/test/cfg2cmd/qemu-xhci-q35-7.1.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'q35-qemu-xhci,debug-threads=on' \
+  -name q35-qemu-xhci \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/qga-fs-freeze-backup-legacy.conf.cmd b/src/test/cfg2cmd/qga-fs-freeze-backup-legacy.conf.cmd
index 41b185e0..a53511b4 100644
--- a/src/test/cfg2cmd/qga-fs-freeze-backup-legacy.conf.cmd
+++ b/src/test/cfg2cmd/qga-fs-freeze-backup-legacy.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'vm8006,debug-threads=on' \
+  -name vm8006 \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/qga-fs-freeze.conf.cmd b/src/test/cfg2cmd/qga-fs-freeze.conf.cmd
index 41b185e0..a53511b4 100644
--- a/src/test/cfg2cmd/qga-fs-freeze.conf.cmd
+++ b/src/test/cfg2cmd/qga-fs-freeze.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'vm8006,debug-threads=on' \
+  -name vm8006 \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/qga-minimal.conf.cmd b/src/test/cfg2cmd/qga-minimal.conf.cmd
index 41b185e0..a53511b4 100644
--- a/src/test/cfg2cmd/qga-minimal.conf.cmd
+++ b/src/test/cfg2cmd/qga-minimal.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'vm8006,debug-threads=on' \
+  -name vm8006 \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/scsiblk.conf.cmd b/src/test/cfg2cmd/scsiblk.conf.cmd
index 3f99b405..74c2d868 100644
--- a/src/test/cfg2cmd/scsiblk.conf.cmd
+++ b/src/test/cfg2cmd/scsiblk.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'vm8006,debug-threads=on' \
+  -name vm8006 \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/scsihw-lsi.conf.cmd b/src/test/cfg2cmd/scsihw-lsi.conf.cmd
index 0200215d..5adb5d32 100644
--- a/src/test/cfg2cmd/scsihw-lsi.conf.cmd
+++ b/src/test/cfg2cmd/scsihw-lsi.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'simple,debug-threads=on' \
+  -name simple \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/scsihw-lsi53c810.conf.cmd b/src/test/cfg2cmd/scsihw-lsi53c810.conf.cmd
index fc27eaf0..c5204eed 100644
--- a/src/test/cfg2cmd/scsihw-lsi53c810.conf.cmd
+++ b/src/test/cfg2cmd/scsihw-lsi53c810.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'simple,debug-threads=on' \
+  -name simple \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/scsihw-megasas.conf.cmd b/src/test/cfg2cmd/scsihw-megasas.conf.cmd
index ab15c112..abb14167 100644
--- a/src/test/cfg2cmd/scsihw-megasas.conf.cmd
+++ b/src/test/cfg2cmd/scsihw-megasas.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'simple,debug-threads=on' \
+  -name simple \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/scsihw-pvscsi.conf.cmd b/src/test/cfg2cmd/scsihw-pvscsi.conf.cmd
index 196683d3..68afe634 100644
--- a/src/test/cfg2cmd/scsihw-pvscsi.conf.cmd
+++ b/src/test/cfg2cmd/scsihw-pvscsi.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'simple,debug-threads=on' \
+  -name simple \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/scsihw-virtio-scsi-single.conf.cmd b/src/test/cfg2cmd/scsihw-virtio-scsi-single.conf.cmd
index 2541eb49..3e01028c 100644
--- a/src/test/cfg2cmd/scsihw-virtio-scsi-single.conf.cmd
+++ b/src/test/cfg2cmd/scsihw-virtio-scsi-single.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'simple,debug-threads=on' \
+  -name simple \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/seabios_serial.conf.cmd b/src/test/cfg2cmd/seabios_serial.conf.cmd
index e8c66c7b..e0f45e93 100644
--- a/src/test/cfg2cmd/seabios_serial.conf.cmd
+++ b/src/test/cfg2cmd/seabios_serial.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'seabiosserial,debug-threads=on' \
+  -name seabiosserial \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/sev-es.conf.cmd b/src/test/cfg2cmd/sev-es.conf.cmd
index f61a72c6..d41619ec 100644
--- a/src/test/cfg2cmd/sev-es.conf.cmd
+++ b/src/test/cfg2cmd/sev-es.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'vm8006,debug-threads=on' \
+  -name vm8006 \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/sev-snp.conf.cmd b/src/test/cfg2cmd/sev-snp.conf.cmd
index 14b55d3e..045ec5ce 100644
--- a/src/test/cfg2cmd/sev-snp.conf.cmd
+++ b/src/test/cfg2cmd/sev-snp.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'vm8006,debug-threads=on' \
+  -name vm8006 \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/sev-std.conf.cmd b/src/test/cfg2cmd/sev-std.conf.cmd
index c23fe6d2..277b61fc 100644
--- a/src/test/cfg2cmd/sev-std.conf.cmd
+++ b/src/test/cfg2cmd/sev-std.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'vm8006,debug-threads=on' \
+  -name vm8006 \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/simple-backingchain.conf.cmd b/src/test/cfg2cmd/simple-backingchain.conf.cmd
index 4ac24b93..c2cec31b 100644
--- a/src/test/cfg2cmd/simple-backingchain.conf.cmd
+++ b/src/test/cfg2cmd/simple-backingchain.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'simple,debug-threads=on' \
+  -name simple \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/simple-balloon-free-page-reporting.conf.cmd b/src/test/cfg2cmd/simple-balloon-free-page-reporting.conf.cmd
index 0c61d334..4a9e65cb 100644
--- a/src/test/cfg2cmd/simple-balloon-free-page-reporting.conf.cmd
+++ b/src/test/cfg2cmd/simple-balloon-free-page-reporting.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'simple,debug-threads=on' \
+  -name simple \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/simple-btrfs.conf.cmd b/src/test/cfg2cmd/simple-btrfs.conf.cmd
index 812ef7e8..8bd3c9cf 100644
--- a/src/test/cfg2cmd/simple-btrfs.conf.cmd
+++ b/src/test/cfg2cmd/simple-btrfs.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'simple,debug-threads=on' \
+  -name simple \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/simple-cifs.conf.cmd b/src/test/cfg2cmd/simple-cifs.conf.cmd
index 9819d545..ea9cd98f 100644
--- a/src/test/cfg2cmd/simple-cifs.conf.cmd
+++ b/src/test/cfg2cmd/simple-cifs.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'simple,debug-threads=on' \
+  -name simple \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/simple-disk-passthrough.conf.cmd b/src/test/cfg2cmd/simple-disk-passthrough.conf.cmd
index 218db679..ab4d569e 100644
--- a/src/test/cfg2cmd/simple-disk-passthrough.conf.cmd
+++ b/src/test/cfg2cmd/simple-disk-passthrough.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'simple,debug-threads=on' \
+  -name simple \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/simple-lvm.conf.cmd b/src/test/cfg2cmd/simple-lvm.conf.cmd
index 96248c0d..c4ae13b8 100644
--- a/src/test/cfg2cmd/simple-lvm.conf.cmd
+++ b/src/test/cfg2cmd/simple-lvm.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'simple,debug-threads=on' \
+  -name simple \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/simple-lvmthin.conf.cmd b/src/test/cfg2cmd/simple-lvmthin.conf.cmd
index 9c98fffc..64c56a5b 100644
--- a/src/test/cfg2cmd/simple-lvmthin.conf.cmd
+++ b/src/test/cfg2cmd/simple-lvmthin.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'simple,debug-threads=on' \
+  -name simple \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/simple-rbd.conf.cmd b/src/test/cfg2cmd/simple-rbd.conf.cmd
index 6730fcd0..e4c48d86 100644
--- a/src/test/cfg2cmd/simple-rbd.conf.cmd
+++ b/src/test/cfg2cmd/simple-rbd.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'simple,debug-threads=on' \
+  -name simple \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/simple-virtio-blk.conf.cmd b/src/test/cfg2cmd/simple-virtio-blk.conf.cmd
index de193c5b..5cb98a24 100644
--- a/src/test/cfg2cmd/simple-virtio-blk.conf.cmd
+++ b/src/test/cfg2cmd/simple-virtio-blk.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'simple,debug-threads=on' \
+  -name simple \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/simple-zfs-over-iscsi.conf.cmd b/src/test/cfg2cmd/simple-zfs-over-iscsi.conf.cmd
index 302308b5..37d26dd1 100644
--- a/src/test/cfg2cmd/simple-zfs-over-iscsi.conf.cmd
+++ b/src/test/cfg2cmd/simple-zfs-over-iscsi.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'simple,debug-threads=on' \
+  -name simple \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/simple1-template.conf.cmd b/src/test/cfg2cmd/simple1-template.conf.cmd
index 369b4de9..ff5d75d6 100644
--- a/src/test/cfg2cmd/simple1-template.conf.cmd
+++ b/src/test/cfg2cmd/simple1-template.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'simple,debug-threads=on' \
+  -name simple \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/simple1.conf.cmd b/src/test/cfg2cmd/simple1.conf.cmd
index e0954235..e6240b90 100644
--- a/src/test/cfg2cmd/simple1.conf.cmd
+++ b/src/test/cfg2cmd/simple1.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'simple,debug-threads=on' \
+  -name simple \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/spice-enhancments.conf.cmd b/src/test/cfg2cmd/spice-enhancments.conf.cmd
index f58e74e7..6043488d 100644
--- a/src/test/cfg2cmd/spice-enhancments.conf.cmd
+++ b/src/test/cfg2cmd/spice-enhancments.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'vm8006,debug-threads=on' \
+  -name vm8006 \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/spice-linux-4.1.conf.cmd b/src/test/cfg2cmd/spice-linux-4.1.conf.cmd
index 84a6df68..2d2b8055 100644
--- a/src/test/cfg2cmd/spice-linux-4.1.conf.cmd
+++ b/src/test/cfg2cmd/spice-linux-4.1.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'spicelinux,debug-threads=on' \
+  -name spicelinux \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/spice-usb3.conf.cmd b/src/test/cfg2cmd/spice-usb3.conf.cmd
index b1440a9c..2df589f4 100644
--- a/src/test/cfg2cmd/spice-usb3.conf.cmd
+++ b/src/test/cfg2cmd/spice-usb3.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'spiceusb3,debug-threads=on' \
+  -name spiceusb3 \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/spice-win.conf.cmd b/src/test/cfg2cmd/spice-win.conf.cmd
index 5d29da10..a2885b2e 100644
--- a/src/test/cfg2cmd/spice-win.conf.cmd
+++ b/src/test/cfg2cmd/spice-win.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'spiceusb3,debug-threads=on' \
+  -name spiceusb3 \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/startdate-l26.conf.cmd b/src/test/cfg2cmd/startdate-l26.conf.cmd
index 2d3f56e3..6897de3c 100644
--- a/src/test/cfg2cmd/startdate-l26.conf.cmd
+++ b/src/test/cfg2cmd/startdate-l26.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'vm8006,debug-threads=on' \
+  -name vm8006 \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/startdate-win11.conf.cmd b/src/test/cfg2cmd/startdate-win11.conf.cmd
index a15dc213..eaa657eb 100644
--- a/src/test/cfg2cmd/startdate-win11.conf.cmd
+++ b/src/test/cfg2cmd/startdate-win11.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'vm8006,debug-threads=on' \
+  -name vm8006 \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/vnc-clipboard-spice.conf.cmd b/src/test/cfg2cmd/vnc-clipboard-spice.conf.cmd
index 8915bcf4..7ae3d722 100644
--- a/src/test/cfg2cmd/vnc-clipboard-spice.conf.cmd
+++ b/src/test/cfg2cmd/vnc-clipboard-spice.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'vm8006,debug-threads=on' \
+  -name vm8006 \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
diff --git a/src/test/cfg2cmd/vnc-clipboard-std.conf.cmd b/src/test/cfg2cmd/vnc-clipboard-std.conf.cmd
index 26341d3d..bfb40655 100644
--- a/src/test/cfg2cmd/vnc-clipboard-std.conf.cmd
+++ b/src/test/cfg2cmd/vnc-clipboard-std.conf.cmd
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name 'vm8006,debug-threads=on' \
+  -name vm8006 \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
-- 
2.47.3





^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH qemu-server 2/4] api: hmp permissions: use v5.36 for module
  2026-05-12 12:09 [PATCH-SERIES qemu-server 0/4] adapt to deprecated and removed features for QEMU 11 Fiona Ebner
  2026-05-12 12:09 ` [PATCH qemu-server 1/4] cfg2cmd: avoid using deprecated 'debug-threads' option with QEMU binary >= 11.0 Fiona Ebner
@ 2026-05-12 12:09 ` Fiona Ebner
  2026-05-12 12:09 ` [PATCH qemu-server 3/4] api: hmp permissions: make return explicit Fiona Ebner
  2026-05-12 12:09 ` [PATCH qemu-server 4/4] api: human monitor: warn about deprecated commands Fiona Ebner
  3 siblings, 0 replies; 5+ messages in thread
From: Fiona Ebner @ 2026-05-12 12:09 UTC (permalink / raw)
  To: pve-devel

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
---
 src/PVE/API2/Qemu/HMPPerms.pm | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/PVE/API2/Qemu/HMPPerms.pm b/src/PVE/API2/Qemu/HMPPerms.pm
index cadafa9e..deb0a439 100644
--- a/src/PVE/API2/Qemu/HMPPerms.pm
+++ b/src/PVE/API2/Qemu/HMPPerms.pm
@@ -1,7 +1,6 @@
 package PVE::API2::Qemu::HMPPerms;
 
-use strict;
-use warnings;
+use v5.36;
 
 # List of monitor commands and associated required permission. Listed explicitly to be future-proof.
 #
@@ -182,7 +181,7 @@ our $hmp_command_perms = {
     xp => 'Sys.Modify', # physical memory dump starting at 'addr'
 };
 
-sub generate_description {
+sub generate_description() {
     my $cmd_by_priv = {};
     for my $cmd (sort keys $hmp_command_perms->%*) {
         my $priv = $hmp_command_perms->{$cmd};
-- 
2.47.3





^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH qemu-server 3/4] api: hmp permissions: make return explicit
  2026-05-12 12:09 [PATCH-SERIES qemu-server 0/4] adapt to deprecated and removed features for QEMU 11 Fiona Ebner
  2026-05-12 12:09 ` [PATCH qemu-server 1/4] cfg2cmd: avoid using deprecated 'debug-threads' option with QEMU binary >= 11.0 Fiona Ebner
  2026-05-12 12:09 ` [PATCH qemu-server 2/4] api: hmp permissions: use v5.36 for module Fiona Ebner
@ 2026-05-12 12:09 ` Fiona Ebner
  2026-05-12 12:09 ` [PATCH qemu-server 4/4] api: human monitor: warn about deprecated commands Fiona Ebner
  3 siblings, 0 replies; 5+ messages in thread
From: Fiona Ebner @ 2026-05-12 12:09 UTC (permalink / raw)
  To: pve-devel

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
---
 src/PVE/API2/Qemu/HMPPerms.pm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/PVE/API2/Qemu/HMPPerms.pm b/src/PVE/API2/Qemu/HMPPerms.pm
index deb0a439..5d5609d4 100644
--- a/src/PVE/API2/Qemu/HMPPerms.pm
+++ b/src/PVE/API2/Qemu/HMPPerms.pm
@@ -204,6 +204,8 @@ sub generate_description() {
     }
 
     $text .= "The following commands are root-only: " . join(', ', $root_only_cmds->@*) . "\n";
+
+    return $text;
 }
 
 1;
-- 
2.47.3





^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH qemu-server 4/4] api: human monitor: warn about deprecated commands
  2026-05-12 12:09 [PATCH-SERIES qemu-server 0/4] adapt to deprecated and removed features for QEMU 11 Fiona Ebner
                   ` (2 preceding siblings ...)
  2026-05-12 12:09 ` [PATCH qemu-server 3/4] api: hmp permissions: make return explicit Fiona Ebner
@ 2026-05-12 12:09 ` Fiona Ebner
  3 siblings, 0 replies; 5+ messages in thread
From: Fiona Ebner @ 2026-05-12 12:09 UTC (permalink / raw)
  To: pve-devel

The 'stopcapture' and 'wavcapture' HMP commands are deprecated since
QEMU 10.2.

Reference:
https://qemu-project.gitlab.io/qemu/about/deprecated.html#human-machine-protocol-hmp-commands

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
---
 src/PVE/API2/Qemu.pm          | 4 ++++
 src/PVE/API2/Qemu/HMPPerms.pm | 2 ++
 2 files changed, 6 insertions(+)

diff --git a/src/PVE/API2/Qemu.pm b/src/PVE/API2/Qemu.pm
index d762401b..7f042f98 100644
--- a/src/PVE/API2/Qemu.pm
+++ b/src/PVE/API2/Qemu.pm
@@ -5841,6 +5841,10 @@ __PACKAGE__->register_method({
             die "unexpected required permission '$required_perm' for command '$command_name'\n";
         }
 
+        if ($command_name eq 'stopcapture' || $command_name eq 'wavcapture') {
+            warn "command '$command_name' is deprecated and will be dropped in a future release\n";
+        }
+
         my $vmid = $param->{vmid};
 
         my $conf = PVE::QemuConfig->load_config($vmid); # check if VM exists
diff --git a/src/PVE/API2/Qemu/HMPPerms.pm b/src/PVE/API2/Qemu/HMPPerms.pm
index 5d5609d4..4763ca15 100644
--- a/src/PVE/API2/Qemu/HMPPerms.pm
+++ b/src/PVE/API2/Qemu/HMPPerms.pm
@@ -205,6 +205,8 @@ sub generate_description() {
 
     $text .= "The following commands are root-only: " . join(', ', $root_only_cmds->@*) . "\n";
 
+    $text .= "\nThe following commands are deprecated: stopcapture, wavcapture\n";
+
     return $text;
 }
 
-- 
2.47.3





^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-05-12 12:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-12 12:09 [PATCH-SERIES qemu-server 0/4] adapt to deprecated and removed features for QEMU 11 Fiona Ebner
2026-05-12 12:09 ` [PATCH qemu-server 1/4] cfg2cmd: avoid using deprecated 'debug-threads' option with QEMU binary >= 11.0 Fiona Ebner
2026-05-12 12:09 ` [PATCH qemu-server 2/4] api: hmp permissions: use v5.36 for module Fiona Ebner
2026-05-12 12:09 ` [PATCH qemu-server 3/4] api: hmp permissions: make return explicit Fiona Ebner
2026-05-12 12:09 ` [PATCH qemu-server 4/4] api: human monitor: warn about deprecated commands Fiona Ebner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal