Automatic Online of hotplugged memory

Abbasali Companywala abbasali.companywala at
Wed Nov 1 23:17:23 UTC 2017


I am trying to perform memory hotplug on an Ubuntu 16.04 qemu\kvm guest 
and while I can successfully add memory, the added memory doesn't 
automatically come online. After doing a bit of research I found out 
that there is a kernel config option called 
"CONFIG_MEMORY_HOTPLUG_DEFAULT_ONLINE" which needs to be enabled to have 
automatic onlining of hotplugged memory. However, this option is not 
available on the Ubuntu 16.04 which comes with a default kernel of 
4.4.0-62-generic. I can get around this issue by creating a udev rule to 
online memory. I was wondering if this is a bug that needs to be reported?

#Setup info:
Host: Oracle Linux 7.4 + qemu2.9.0-3 + UEK 4.1.12-94.3.9
Guest: Ubuntu 16.04 with default kernel 4.4.0-62-generic
root at ubuntu-uefi-L1:~# cat /boot/config-4.4.0-62-generic | grep 

This issue doesn't exist in Ubuntu 16.10 which comes with the 
4.8.0-22-generic default kernel.
acompany at acompanyPC:~$ cat /boot/config-4.8.0-22-generic | grep 


Abbas Companywala

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Ubuntu-devel-discuss mailing list