From 87bb041101aa0e44fb6ecd6ef483d4b0ae616e1e Mon Sep 17 00:00:00 2001 From: Sebastien Boeuf Date: Mon, 14 Sep 2020 23:54:14 +0200 Subject: [PATCH] resources: x86_64: Enable auto onlining of memory blocks In order to facilitate the memory hotplug for our users, let's enable the automatic memory onlining in our guest kernel by activating the kernel config option 'CONFIG_MEMORY_HOTPLUG_DEFAULT_ONLINE'. Signed-off-by: Sebastien Boeuf --- resources/linux-config-x86_64 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/linux-config-x86_64 b/resources/linux-config-x86_64 index 9e0c68552..e21f60f90 100644 --- a/resources/linux-config-x86_64 +++ b/resources/linux-config-x86_64 @@ -838,7 +838,7 @@ CONFIG_MEMORY_ISOLATION=y CONFIG_HAVE_BOOTMEM_INFO_NODE=y CONFIG_MEMORY_HOTPLUG=y CONFIG_MEMORY_HOTPLUG_SPARSE=y -# CONFIG_MEMORY_HOTPLUG_DEFAULT_ONLINE is not set +CONFIG_MEMORY_HOTPLUG_DEFAULT_ONLINE=y CONFIG_MEMORY_HOTREMOVE=y CONFIG_SPLIT_PTLOCK_CPUS=4 CONFIG_MEMORY_BALLOON=y