[pve-devel] applied: [PATCH v2 qemu-server] fix #2570: add 'keephugepages' config

Thomas Lamprecht t.lamprecht at proxmox.com
Wed Sep 2 14:10:01 CEST 2020


On 02.09.20 11:03, Stefan Reiter wrote:
> We already keep hugepages if they are created with the kernel
> commandline (hugepagesz=x hugepages=y), but some setups (specifically
> hugepages across multiple NUMA nodes) cannot be configured that way.
> Since we always clear these hugepages at VM shutdown, rebooting a VM
> that uses them might not work, since the requested count might not be
> available anymore by the time we want to use them (also, we would then
> no longer allocate them correctly on the NUMA nodes).
> 
> Add a 'keephugepages' parameter to skip cleanup and simply leave them
> untouched.
> 
> Signed-off-by: Stefan Reiter <s.reiter at proxmox.com>
> ---
> 
> v2:
> * rebase
> 
>  PVE/QemuServer.pm | 14 ++++++++++++--
>  1 file changed, 12 insertions(+), 2 deletions(-)
> 
>

applied, thanks!





More information about the pve-devel mailing list