@@ -699,11 +699,13 @@ let
699699 PREEMPT_VOLUNTARY = yes;
700700
701701 } // optionalAttrs (stdenv.hostPlatform.system == "x86_64-linux" || stdenv.hostPlatform.system == "aarch64-linux") {
702− # Enable memory hotplug support
703− # Allows you to dynamically add & remove memory to a VM client running NixOS without requiring a reboot
702+ # Enable CPU/memory hotplug support
703+ # Allows you to dynamically add & remove CPUs/memory to a VM client running NixOS without requiring a reboot
704+ ACPI_HOTPLUG_CPU = yes;
704705 ACPI_HOTPLUG_MEMORY = yes;
705706 MEMORY_HOTPLUG = yes;
706707 MEMORY_HOTREMOVE = yes;
708+ HOTPLUG_CPU = yes;
707709 MIGRATION = yes;
708710 SPARSEMEM = yes;
709711