Applied this first patch, waiting with the second one until we're
finished with the foreach_dimm part I mentioned in the other mail.

On Fri, Jul 29, 2016 at 05:17:33AM +0200, Alexandre Derumier wrote:
> Signed-off-by: Alexandre Derumier <[email protected]>
> ---
>  PVE/QemuServer/Memory.pm | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/PVE/QemuServer/Memory.pm b/PVE/QemuServer/Memory.pm
> index 047ddad..58c7217 100644
> --- a/PVE/QemuServer/Memory.pm
> +++ b/PVE/QemuServer/Memory.pm
> @@ -263,7 +263,7 @@ sub config {
>           my $numa_memory = ($static_memory / $sockets);
>  
>           for (my $i = 0; $i < $sockets; $i++)  {
> -             die "host NUMA node$i doesn't exist\n" if ! -d 
> "/sys/devices/system/node/node$i/";
> +             die "host NUMA node$i doesn't exist\n" if ! -d 
> "/sys/devices/system/node/node$i/" && $conf->{hugepages};
>  
>               my $cpustart = ($cores * $i);
>               my $cpuend = ($cpustart + $cores - 1) if $cores && $cores > 1;
> -- 
> 2.1.4
> 
> _______________________________________________
> pve-devel mailing list
> [email protected]
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
> 

_______________________________________________
pve-devel mailing list
[email protected]
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to