mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-07-12 18:25:00 +00:00
machine: code cleanup: avoid superfluous augmented assignment operator
Suggested by perlcritic. Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
This commit is contained in:
parent
c5d4b11f3e
commit
93c7a7a57b
@ -221,7 +221,7 @@ sub get_vm_machine {
|
||||
my $machine = $forcemachine || $machine_conf->{type};
|
||||
|
||||
if (!$machine || $machine =~ m/^(?:pc|q35|virt)$/) {
|
||||
my $kvmversion //= PVE::QemuServer::Helpers::kvm_user_version();
|
||||
my $kvmversion = PVE::QemuServer::Helpers::kvm_user_version();
|
||||
# we must pin Windows VMs without a specific version and no meta info about creation QEMU to
|
||||
# 5.1, as 5.2 fixed a bug in ACPI layout which confuses windows quite a bit and may result
|
||||
# in various regressions..
|
||||
|
Loading…
Reference in New Issue
Block a user