]> git.proxmox.com Git - qemu-server.git/commit
machine: get current: make it clear that pve-version only exists for the current...
authorFiona Ebner <f.ebner@proxmox.com>
Fri, 10 Nov 2023 13:24:47 +0000 (14:24 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Sun, 12 Nov 2023 17:48:01 +0000 (18:48 +0100)
commit7d6a6292695d479c11f485a21a313c816ca09c00
treefb4c9425d46f38a51fc3f7460b36db866bb39bf1
parent081eed3b7980a7b2199917826b089b10f5c9a47b
machine: get current: make it clear that pve-version only exists for the current machine

by adding a comment and grouping the code better. See the PVE QEMU
patch "PVE: Allow version code in machine type" for reference. The way
the code was written previously made it look like a bug where
$pve_version might be overwritten multiple times.

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
PVE/QemuServer/Machine.pm