]> git.proxmox.com Git - qemu-server.git/commitdiff
fix #4115: enable option to name QEMU threads after their main purpose
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 17 Jun 2022 12:25:49 +0000 (14:25 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 17 Jun 2022 12:25:49 +0000 (14:25 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
37 files changed:
PVE/QemuServer.pm
test/cfg2cmd/bootorder-empty.conf.cmd
test/cfg2cmd/bootorder-legacy.conf.cmd
test/cfg2cmd/bootorder.conf.cmd
test/cfg2cmd/custom-cpu-model-defaults.conf.cmd
test/cfg2cmd/custom-cpu-model-host-phys-bits.conf.cmd
test/cfg2cmd/custom-cpu-model.conf.cmd
test/cfg2cmd/efi-raw-old.conf.cmd
test/cfg2cmd/efi-raw-template.conf.cmd
test/cfg2cmd/efi-raw.conf.cmd
test/cfg2cmd/efi-secboot-and-tpm-q35.conf.cmd
test/cfg2cmd/efi-secboot-and-tpm.conf.cmd
test/cfg2cmd/efidisk-on-rbd.conf.cmd
test/cfg2cmd/i440fx-win10-hostpci.conf.cmd
test/cfg2cmd/minimal-defaults.conf.cmd
test/cfg2cmd/netdev.conf.cmd
test/cfg2cmd/pinned-version-pxe-pve.conf.cmd
test/cfg2cmd/pinned-version-pxe.conf.cmd
test/cfg2cmd/pinned-version.conf.cmd
test/cfg2cmd/q35-linux-hostpci-multifunction.conf.cmd
test/cfg2cmd/q35-linux-hostpci-x-pci-overrides.conf.cmd
test/cfg2cmd/q35-linux-hostpci.conf.cmd
test/cfg2cmd/q35-simple-6.0.conf.cmd
test/cfg2cmd/q35-simple-7.0.conf.cmd
test/cfg2cmd/q35-simple-pinned-6.1.conf.cmd
test/cfg2cmd/q35-simple.conf.cmd
test/cfg2cmd/q35-win10-hostpci.conf.cmd
test/cfg2cmd/seabios_serial.conf.cmd
test/cfg2cmd/simple-balloon-free-page-reporting.conf.cmd
test/cfg2cmd/simple-btrfs.conf.cmd
test/cfg2cmd/simple-virtio-blk.conf.cmd
test/cfg2cmd/simple1-template.conf.cmd
test/cfg2cmd/simple1.conf.cmd
test/cfg2cmd/spice-enhancments.conf.cmd
test/cfg2cmd/spice-linux-4.1.conf.cmd
test/cfg2cmd/spice-usb3.conf.cmd
test/cfg2cmd/spice-win.conf.cmd

index e9aa248d42e2b2a84f04b7a04800deb80624c39f..b3964bc6f07d05ea4c8714c23a381664f4ed2a9b 100644 (file)
@@ -3540,7 +3540,7 @@ sub config_to_command {
 
     my $vmname = $conf->{name} || "vm$vmid";
 
-    push @$cmd, '-name', $vmname;
+    push @$cmd, '-name', "$vmname,debug-threads=on";
 
     push @$cmd, '-no-shutdown';
 
index 42a9fde3a5f5e256b619d8bbe2580f07d9c492c6..855c6e2d94a1a585289d0209257d1fd42abffdec 100644 (file)
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name simple \
+  -name 'simple,debug-threads=on' \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
index 11c6ddb079d373e1f1f5e97affc4ce56e410bfd3..2320abb6e981a8e406723c5069506e676b07f178 100644 (file)
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name simple \
+  -name 'simple,debug-threads=on' \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
index 44cffff5ad5c8c43e7ae9fd6b4622fc25be996ba..8ba36dce68af13f7d0b1dad3fc488e82e09547b1 100644 (file)
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name simple \
+  -name 'simple,debug-threads=on' \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
index 743945846336e98c2cf610d3016eeb8581ef4aac..15b31fb04c9c70bc2ee67358f2da9222ec79ff22 100644 (file)
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name customcpu-defaults \
+  -name 'customcpu-defaults,debug-threads=on' \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
index a28a1b7fdb1cac55dc93ef2b6b08484c70c41c8d..98230248298101252837dec9b491cc17d0dc4105 100644 (file)
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name customcpu \
+  -name 'customcpu,debug-threads=on' \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
index 9f439729660295af4dcd465f1fadc9aabcbf5ec9..2e66a6b56d825a596bdadcb8abcc6e70f5d73ff8 100644 (file)
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name customcpu \
+  -name 'customcpu,debug-threads=on' \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
index 0f8b7c7cf226079ba5eed53a1a85a7750cd4c848..e1580f1e25c502db2d0869e2999040e56361ae2c 100644 (file)
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name vm8006 \
+  -name 'vm8006,debug-threads=on' \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
index 82faebd12db68441d4fc9cc3e5dbba4847a27c84..a599fd5199a39a00d96765b78087317d28062ccb 100644 (file)
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name vm8006 \
+  -name 'vm8006,debug-threads=on' \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
index 4786fec5d2b1167a4eaf09a149bca069f946dd0a..5d63b7e20311c860551119441685684bb5af9a94 100644 (file)
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name vm8006 \
+  -name 'vm8006,debug-threads=on' \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
index 560d390e721295c92ba1cd3e3f5614bf6e227476..dd3b8279e0325837373bc4c5c5daab81998c8349 100644 (file)
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name vm8006 \
+  -name 'vm8006,debug-threads=on' \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
index f94220ff9f916e9784a8b656e9ce80578c71e70c..d35a907aeeeeda86212eea65139f1cd782708ea6 100644 (file)
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name vm8006 \
+  -name 'vm8006,debug-threads=on' \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
index b1bdf28e7a60579613dad68405f4c4379cf91ee3..b312d8030c3c1b2cc9849fc57bc9f6c0cb27d23f 100644 (file)
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name vm8006 \
+  -name 'vm8006,debug-threads=on' \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
index c79576fb54fcc1f3f2bd58a0d92c2067e25c42de..200f17eb2e289a1fc9d3fbc1aa9ba5565d8fed62 100644 (file)
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name vm8006 \
+  -name 'vm8006,debug-threads=on' \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
index 1338cae8f9e7fc6d20a368a93bcc37f0fc977f80..8da69feebd6520d79478f94e40e0b2ef1025f88f 100644 (file)
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name vm8006 \
+  -name 'vm8006,debug-threads=on' \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
index ab22751f71e153ce0427339bd8adda2b763ea999..3ae60753addf7a833ae9cce8c4263f8c6d6b0972 100644 (file)
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name netdev \
+  -name 'netdev,debug-threads=on' \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
index 095b72e6e7698df838993a1ac192b960c1d93ca2..d17d4deb557509619bee83736274cb09b712d026 100644 (file)
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name pinned \
+  -name 'pinned,debug-threads=on' \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
index 5f738f389fc7789c224eced9c05f1d604652ecb1..892fc148bdf1e07abdc01761df2f75cbbb3d865f 100644 (file)
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name pinned \
+  -name 'pinned,debug-threads=on' \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
index e072491ec444031df1695fa453380f3356179480..13361edfe52bde0cda50d7162155e02a042535dd 100644 (file)
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name pinned \
+  -name 'pinned,debug-threads=on' \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
index edfe418381217f403194cc99bed196991f132e8d..9b69d0210fa0f575bce06ddd3ed977e4e4a3022f 100644 (file)
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name vm8006 \
+  -name 'vm8006,debug-threads=on' \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
index 9b4b9947a3fcceec811338c81a0e5718e54c9740..30de58f2d8900a9250e2f2be66cb4b8b6729c902 100644 (file)
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name vm8006 \
+  -name 'vm8006,debug-threads=on' \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
index 82a0d7cb225b61bea5ae56ba598419037e493c5d..96bb2df40ff9a2094e624f0c6aab4eda76236613 100644 (file)
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name vm8006 \
+  -name 'vm8006,debug-threads=on' \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
index 5045caf811bfac6b1b132561f79c54ae512e461b..4af3b7ab898668f346794231b3c48cbd24ff3aa0 100644 (file)
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name vm8006 \
+  -name 'vm8006,debug-threads=on' \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
index be7a36cd9a5ec7233f1300a08efba1c5b8ee86c2..15bf8facfe1d15d268d6bd712f7cbfa30bfdef48 100644 (file)
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name vm8006 \
+  -name 'vm8006,debug-threads=on' \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
index 26dfaaaba2e33106a9ef3142349dc5463a88dff1..a23809a140155d7222dbeed22af0b6ecce274e9b 100644 (file)
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name vm8006 \
+  -name 'vm8006,debug-threads=on' \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
index f9232f51d9c9e35dd604db1576f8d4059829f3d4..faccdca38c2b56e1acf2ada272d78b4aac3aab3a 100644 (file)
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name vm8006 \
+  -name 'vm8006,debug-threads=on' \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
index 37ef8f7dd1adb791a21c096c2c72203bc0db1e6f..1700cbbee1ce3b93472e75fba860856308e8fd44 100644 (file)
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name vm8006 \
+  -name 'vm8006,debug-threads=on' \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
index c32d1b6f5fa5fcc46a4bd9a601ede82587865759..68061577326c460d42a86a21f56a26008220a061 100644 (file)
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name seabiosserial \
+  -name 'seabiosserial,debug-threads=on' \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
index 232e348d66978042a81caef92dceebf9ba79b20c..a094704fcc2ee596074975a9ac90e86d790e5ece 100644 (file)
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name simple \
+  -name 'simple,debug-threads=on' \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
index c1d3d91cdc90e1873925a738b16c78655ec473f4..148e688dcbd58db237151ef99a6faac32d5f73f8 100644 (file)
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name simple \
+  -name 'simple,debug-threads=on' \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
index 8c1bcbd36ae30f77c1682638f88259e0105ede85..4e063f39bb5e1afb034604de3fae436d3e6cadc3 100644 (file)
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name simple \
+  -name 'simple,debug-threads=on' \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
index 3bf2fc1afd86118cfc4ac3eb489b65af89751d5f..a24151f8b6beccf1dba1dc293d6a3f9958b589d5 100644 (file)
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name simple \
+  -name 'simple,debug-threads=on' \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
index 26a14d4a99391dcef2fa3e409c4b30c57871fe20..2b1b185ac8db41a3f879e10be71d456641054be4 100644 (file)
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name simple \
+  -name 'simple,debug-threads=on' \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
index 1198fee1108af65d59c8923f3a78bb10f91b3ce5..81acdcc946f6b41bc783eb35641bafb8187c71e1 100644 (file)
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name vm8006 \
+  -name 'vm8006,debug-threads=on' \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
index c75036b05ed06c33bf4cd35871fc0f6ab2669778..e4a60a760b30b68991a8fd3fab91976067c64db0 100644 (file)
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name spicelinux \
+  -name 'spicelinux,debug-threads=on' \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
index d7b7ab437e0f3580ac023e9113a6b6a4fe50b54f..ab35b29713d73bc96a580d41c2fd4d055a8e46c9 100644 (file)
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name spiceusb3 \
+  -name 'spiceusb3,debug-threads=on' \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \
index 2d6143b3d8fe147d89c709456972a0be91850494..544b30a74a98130c9611da0fef4c41e53857c129 100644 (file)
@@ -1,6 +1,6 @@
 /usr/bin/kvm \
   -id 8006 \
-  -name spiceusb3 \
+  -name 'spiceusb3,debug-threads=on' \
   -no-shutdown \
   -chardev 'socket,id=qmp,path=/var/run/qemu-server/8006.qmp,server=on,wait=off' \
   -mon 'chardev=qmp,mode=control' \