Cannot allocate more than 1GB of ram after ram hotplug enabled [UBUNTU 20.04]

dmembibre

Member
Sep 23, 2020
16
3
8
38
I'm trying to assign 4GB of ram to a virtual machine, but after I enabled hotplug for memory and cpu, the ram that the vm sees is not 991 (actually 1GB). Before enabling the hotplug, it worked as as expected.

The problem only appears with ubuntu 20.04 and the cmline is:

Code:
~$ cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-5.4.0-1024-kvm root=PARTUUID=948a082e-cfd1-43af-bc7b-3e0b9b20370e ro memhp_default_state=online console=tty1 console=ttyS0 panic=-1

Any idea?
Thanks
 
Last edited:
Hi,

cmdline of my vm is:


BOOT_IMAGE=/boot/vmlinuz-5.4.0-1024-kvm root=PARTUUID=948a082e-cfd1-43af-bc7b-3e0b9b20370e ro memhp_default_state=online console=tty1 console=ttyS0 panic=-1

But not works
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!