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

dmembibre

Active Member
Sep 23, 2020
21
3
43
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