mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-05-03 01:29:13 +00:00
fix version check in qemu_machine_feature_enabled
This caused a few hiccups with qemu 3.0... Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com> Acked-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
178acded44
commit
dd84e5ec14
@ -6565,9 +6565,9 @@ sub qemu_machine_feature_enabled {
|
||||
$current_minor = $2;
|
||||
}
|
||||
|
||||
return 1 if $current_major >= $version_major && $current_minor >= $version_minor;
|
||||
|
||||
|
||||
return 1 if $current_major > $version_major ||
|
||||
($current_major == $version_major &&
|
||||
$current_minor >= $version_minor);
|
||||
}
|
||||
|
||||
sub qemu_machine_pxe {
|
||||
|
Loading…
Reference in New Issue
Block a user