[pve-devel] applied: [PATCH qemu-server] hugepages: fix memory size checking
Thomas Lamprecht
t.lamprecht at proxmox.com
Tue Oct 29 17:50:00 CET 2019
On 10/28/19 2:30 PM, Stefan Reiter wrote:
> The codepath for "any" hugepages did not check if memory size was even,
> leading to the code below trying to allocate half a hugepage (e.g. VM
> with 2049MiB RAM would lead to 1024.5 2kB hugepages).
>
> Also improve error message for systems with only 1GB hugepages enabled.
>
> Signed-off-by: Stefan Reiter <s.reiter at proxmox.com>
> ---
> PVE/QemuServer/Memory.pm | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
applied, thanks!
More information about the pve-devel
mailing list