Signed-off-by: Fiona Ebner <f.eb...@proxmox.com> --- PVE/QemuServer/Helpers.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/PVE/QemuServer/Helpers.pm b/PVE/QemuServer/Helpers.pm index d58bad2b..be10a92a 100644 --- a/PVE/QemuServer/Helpers.pm +++ b/PVE/QemuServer/Helpers.pm @@ -19,7 +19,7 @@ windows_version my $nodename = PVE::INotify::nodename(); -my $Arch2Qemu = { +my $arch_to_qemu_binary = { aarch64 => '/usr/bin/qemu-system-aarch64', x86_64 => '/usr/bin/qemu-system-x86_64', }; @@ -27,7 +27,7 @@ sub get_command_for_arch($) { my ($arch) = @_; return '/usr/bin/kvm' if get_host_arch() eq $arch; # i.e. native arch - my $cmd = $Arch2Qemu->{$arch} + my $cmd = $arch_to_qemu_binary->{$arch} or die "don't know how to emulate architecture '$arch'\n"; return $cmd; } -- 2.39.5 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel