[pve-devel] applied: [PATCH qemu-server] vm status: make sure disk{read, write} adhere to return schema to fix regression for PDM

Fabian Grünbichler f.gruenbichler at proxmox.com
Wed Oct 22 13:50:24 CEST 2025


On Wed, 22 Oct 2025 12:41:15 +0200, Fiona Ebner wrote:
> As reported in the community forum [0], Proxmox Datacenter Manager
> will fail to handle the result of the status API call for a shut down
> VM. The reason is that the return schema requires having an integer
> return value for disk{read,write}, so an explicit undef is not
> allowed. However, the properties are optional and are not relevant for
> a shut down guest, so just don't set them at all if no value was
> queried. This also makes sure that bug #6207 does not reappear. Note
> that pvestatd would already not consider the value for shut down VMs
> and treats the value not being present and the value being an explicit
> undef the same, see update_qemu_status() in pvestatd.pm.
> 
> [...]

Applied, thanks!

[1/1] vm status: make sure disk{read, write} adhere to return schema to fix regression for PDM
      commit: 069d8a6e14d9524ae3f2c57ba7af3668721ddbc5

Best regards,
-- 
Fabian Grünbichler <f.gruenbichler at proxmox.com>




More information about the pve-devel mailing list