qemu-server/PVE
Thomas Lamprecht cbe9de99c5 machine: improve code style in get_pve_version
This makes it a bit more obvious what happens and having an actual
error for bogus $PVE_MACHINE_VERSION entries.

Note that there was no auto-vivification before, as we never directly
accessed $PVE_MACHINE_VERSION->{$verstr}->{highest} but used
get_machine_pve_revisions to query a specific QEMU machine version's
PVE revisions and then operated on the return value, and that method
returns undef if there is no entry at all.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2025-04-07 17:30:16 +02:00
..
API2 Merge patch series "more robust handling of fleecing images" 2025-04-07 14:13:56 +02:00
CLI vm stop-cleanup: allow callers to decide error behavior 2025-03-06 16:33:14 +01:00
QemuConfig config: make attempts at writing out NoWrite configs fatal 2025-02-18 15:06:04 +01:00
QemuServer machine: improve code style in get_pve_version 2025-04-07 17:30:16 +02:00
VZDump Merge patch series "more robust handling of fleecing images" 2025-04-07 14:13:56 +02:00
Makefile config: add special class that prevents writing the configuration 2025-02-18 15:06:04 +01:00
QemuConfig.pm Merge patch series "more robust handling of fleecing images" 2025-04-07 14:13:56 +02:00
QemuMigrate.pm Merge patch series "more robust handling of fleecing images" 2025-04-07 14:13:56 +02:00
QemuServer.pm vm-network-scripts: move scripts to /usr/libexec 2025-04-07 16:01:21 +02:00
QMPClient.pm tree-wide: fix various typos in comments 2024-12-05 12:33:24 +01:00