mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-08-15 11:24:42 +00:00
memory: fix automatic num amapping
when no numaX config options were present we returned the hash as a list instead of a hash reference... Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
ca0ef6b148
commit
1d68295172
@ -34,7 +34,7 @@ sub get_numa_guest_to_host_map {
|
||||
}
|
||||
return $map if %$map;
|
||||
my $sockets = $conf->{sockets} || 1;
|
||||
return map { $_ => $_ } (0..($sockets-1));
|
||||
return {map { $_ => $_ } (0..($sockets-1))};
|
||||
}
|
||||
|
||||
sub foreach_dimm{
|
||||
|
Loading…
Reference in New Issue
Block a user