[bionic/linux-kvm] [PATCH 3/3] UBUNTU: kvm: [Config] Enable memory hotplug
Julio Montes
julio.montes at intel.com
Tue Jun 19 14:35:36 UTC 2018
BugLink: https://bugs.launchpad.net/ubuntu/+source/linux-kvm/+bug/1777127
Enable memory hotplug to allow kata containers to update container's
memory dynamically.
Next configs are needed:
* CONFIG_MEMORY_HOTPLUG
Signed-off-by: Julio Montes <julio.montes at intel.com>
---
debian.kvm/config/config.common.ubuntu | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/debian.kvm/config/config.common.ubuntu b/debian.kvm/config/config.common.ubuntu
index efe3b0e7f948..b7d7717189c3 100644
--- a/debian.kvm/config/config.common.ubuntu
+++ b/debian.kvm/config/config.common.ubuntu
@@ -29,6 +29,7 @@ CONFIG_ACPI_CUSTOM_DSDT_FILE=""
# CONFIG_ACPI_HED is not set
CONFIG_ACPI_HOTPLUG_CPU=y
CONFIG_ACPI_HOTPLUG_IOAPIC=y
+# CONFIG_ACPI_HOTPLUG_MEMORY is not set
CONFIG_ACPI_LEGACY_TABLES_LOOKUP=y
CONFIG_ACPI_LPIT=y
CONFIG_ACPI_NFIT=y
@@ -72,6 +73,7 @@ CONFIG_ARCH_DISCARD_MEMBLOCK=y
CONFIG_ARCH_DMA_ADDR_T_64BIT=y
CONFIG_ARCH_ENABLE_HUGEPAGE_MIGRATION=y
CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y
+CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y
CONFIG_ARCH_ENABLE_SPLIT_PMD_PTLOCK=y
CONFIG_ARCH_HAS_ACPI_TABLE_UPGRADE=y
CONFIG_ARCH_HAS_ADD_PAGES=y
@@ -96,6 +98,7 @@ CONFIG_ARCH_HAS_UBSAN_SANITIZE_ALL=y
CONFIG_ARCH_HAS_ZONE_DEVICE=y
CONFIG_ARCH_HAVE_NMI_SAFE_CMPXCHG=y
CONFIG_ARCH_HIBERNATION_POSSIBLE=y
+# CONFIG_ARCH_MEMORY_PROBE is not set
CONFIG_ARCH_MIGHT_HAVE_ACPI_PDC=y
CONFIG_ARCH_MIGHT_HAVE_PC_PARPORT=y
CONFIG_ARCH_MIGHT_HAVE_PC_SERIO=y
@@ -601,6 +604,7 @@ CONFIG_DEFAULT_SECURITY="apparmor"
CONFIG_DEFAULT_SECURITY_APPARMOR=y
CONFIG_DEFAULT_TCP_CONG="cubic"
CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
+# CONFIG_DEFERRED_STRUCT_PAGE_INIT is not set
# CONFIG_DELL_RBU is not set
# CONFIG_DETECT_HUNG_TASK is not set
# CONFIG_DEVKMEM is not set
@@ -1316,7 +1320,10 @@ CONFIG_MEMCG_SWAP=y
# CONFIG_MEMCG_SWAP_ENABLED is not set
# CONFIG_MEMORY is not set
CONFIG_MEMORY_BALLOON=y
-# CONFIG_MEMORY_HOTPLUG is not set
+CONFIG_MEMORY_HOTPLUG=y
+# CONFIG_MEMORY_HOTPLUG_DEFAULT_ONLINE is not set
+CONFIG_MEMORY_HOTPLUG_SPARSE=y
+# CONFIG_MEMORY_HOTREMOVE is not set
# CONFIG_MEMSTICK is not set
# CONFIG_MEMTEST is not set
CONFIG_MEM_SOFT_DIRTY=y
@@ -1912,7 +1919,7 @@ CONFIG_RAID6_PQ=m
# CONFIG_RANDOM32_SELFTEST is not set
CONFIG_RANDOMIZE_BASE=y
CONFIG_RANDOMIZE_MEMORY=y
-CONFIG_RANDOMIZE_MEMORY_PHYSICAL_PADDING=0x0
+CONFIG_RANDOMIZE_MEMORY_PHYSICAL_PADDING=0x1
# CONFIG_RAPIDIO is not set
CONFIG_RAS=y
CONFIG_RATIONAL=y
--
2.13.6
More information about the kernel-team
mailing list