Enable memory hotplug support
This commit is contained in:
parent
2832ec9335
commit
e63414078a
|
@ -686,6 +686,14 @@ let
|
||||||
HOTPLUG_PCI_ACPI = yes; # PCI hotplug using ACPI
|
HOTPLUG_PCI_ACPI = yes; # PCI hotplug using ACPI
|
||||||
HOTPLUG_PCI_PCIE = yes; # PCI-Expresscard hotplug support
|
HOTPLUG_PCI_PCIE = yes; # PCI-Expresscard hotplug support
|
||||||
|
|
||||||
|
# Enable memory hotplug support
|
||||||
|
# Allows you to dynamically add & remove memory to a VM client running NixOS without requiring a reboot
|
||||||
|
ACPI_HOTPLUG_MEMORY = yes;
|
||||||
|
MEMORY_HOTPLUG = yes;
|
||||||
|
MEMORY_HOTREMOVE = yes;
|
||||||
|
MIGRATION = yes;
|
||||||
|
SPARSEMEM = yes;
|
||||||
|
|
||||||
} // optionalAttrs (stdenv.hostPlatform.system == "x86_64-linux" || stdenv.hostPlatform.system == "aarch64-linux") {
|
} // optionalAttrs (stdenv.hostPlatform.system == "x86_64-linux" || stdenv.hostPlatform.system == "aarch64-linux") {
|
||||||
# Bump the maximum number of CPUs to support systems like EC2 x1.*
|
# Bump the maximum number of CPUs to support systems like EC2 x1.*
|
||||||
# instances and Xeon Phi.
|
# instances and Xeon Phi.
|
||||||
|
|
Loading…
Reference in New Issue