[pve-devel] [PATCH-SERIES v2 qemu-server 0/2] fix #6207: vm status fixes
Fiona Ebner
f.ebner at proxmox.com
Thu Sep 25 14:25:07 CEST 2025
Changes in v2 (many thanks to Thomas for the discussion!):
* New approach, return undef instead of caching previous value.
* Add new patch to improve how 'query-proxmox-support' QMP commands
are issued.
If disk read/write cannot be queried because of QMP timeout, they
should not be reported as 0, because a consumer of the RRD stats
cannot distinguish between 0 being an actual 0 value and 0 being an
indicator for the absence of the real value. The RRD graphs in the UI
will already show this correctly.
Additionally, the 'query-proxmox-support' command was not yet part of
the QMP queue, but done sequentially with a timeout of 5 seconds each,
which is not acceptable for pvestatd. The second patch fixes that.
Fiona Ebner (2):
fix #6207: vm status: return undef values when disk{read,write} cannot
be queried
vm status: also queue query-proxmox-support QMP commands
src/PVE/QemuServer.pm | 20 ++++++++------------
1 file changed, 8 insertions(+), 12 deletions(-)
--
2.47.3
More information about the pve-devel
mailing list