Hardcoded startup RAM for QEMU memory hotplug
Jan Pechek
jan.pechek at daktela.com
Thu Jan 8 14:43:34 CET 2026
Hello,
I would like to ask if it is possible to have the startup RAM size for
memory hotplug configurable.
We encountered a problem when upgrading Alma9 to Alma10 using the
leapp (https://leapp-repository.readthedocs.io/latest/) tool. It
creates a modified initramfs in which it performs the operating system
upgrade. However, because it is in the early boot stage of the system,
the automatic connection of hotpluggable memory does not work and only
1024MB of startup RAM is available. So leapp does not have enough
memory and OOM killer terminates it.
If we patch this hardcoded value
(https://github.com/proxmox/qemu-server/blob/e781d9713fb3d45a523fe14db6cd99ac60bbfbb5/src/PVE/QemuServer/Memory.pm#L66)
and increase the startup RAM to 2048MB, for example, everything will
work fine.
For current RHEL, the minimum required memory is 2GB as is stated here
- https://access.redhat.com/articles/rhel-limits#minimum-required-memory-3.
Please also see this related issue -
https://bugzilla.redhat.com/show_bug.cgi?id=2139907.
If there is better way to create feature request, please let me know, thanks.
Best regards,
Jan Pechek
More information about the pve-user
mailing list