Go to file
Fiona Ebner 31d6f5f63b vm status: also queue query-proxmox-support QMP commands
The vmstatus() function is used by pvestatd and needs to be fast.
However, the 'query-proxmox-support' querying is done sequentially for
each VM and each query has its own timeout (it's the default 5
seconds). If QMP is blocked for some reason for a single VM, that
already adds 5 seconds to the whole operation. Compared with the whole
stats querying queue, which is allowed to use 3 seconds in total, this
is rather extreme and needs to be fixed.

Back when commit 6891fd70 ("print query-proxmox-support result in
'full' status") was implemented, not all supported QEMU versions in
Proxmox VE implemented the 'query-proxmox-support' QMP command.
Because of this, the queue might be interrupted if ordering this
command too early. It still could've been ordered before the
'query-balloon' one, which also can fail. Nowadays, all supported QEMU
versions do implement the command and this just returns static
information which cannot fail (as long as QMP communication itself
works), so it can also be ordered at the beginning of the queue (after
the main 'query-status').

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
Link: https://lore.proxmox.com/20250925122829.70121-3-f.ebner@proxmox.com
2025-09-25 15:55:55 +02:00
debian bump version to 9.0.22 2025-09-17 18:37:58 +02:00
src vm status: also queue query-proxmox-support QMP commands 2025-09-25 15:55:55 +02:00
.gitignore gitignore: sort content 2023-11-17 15:54:24 +01:00
Makefile fix #5180: dbus-vmstate: add daemon for QEMUs dbus-vmstate interface 2025-07-30 22:55:32 +02:00