xen/acpi: xen memory hotplug minor updates
[firefly-linux-kernel-4.4.55.git] / drivers / xen / Kconfig
index cabfa97f4674ef12c1fcd13d1a55c4affd47f635..5a32232cf7c15cdc05536ecb157eeb86048154e0 100644 (file)
@@ -180,6 +180,40 @@ config XEN_PRIVCMD
        depends on XEN
        default m
 
+config XEN_STUB
+       bool "Xen stub drivers"
+       depends on XEN && X86_64
+       default n
+       help
+         Allow kernel to install stub drivers, to reserve space for Xen drivers,
+         i.e. memory hotplug and cpu hotplug, and to block native drivers loaded,
+         so that real Xen drivers can be modular.
+
+         To enable Xen features like cpu and memory hotplug, select Y here.
+
+config XEN_ACPI_HOTPLUG_MEMORY
+       tristate "Xen ACPI memory hotplug"
+       depends on XEN_DOM0 && XEN_STUB && ACPI
+       default n
+       help
+         This is Xen ACPI memory hotplug.
+
+         Currently Xen only support ACPI memory hot-add. If you want
+         to hot-add memory at runtime (the hot-added memory cannot be
+         removed until machine stop), select Y/M here, otherwise select N.
+
+config XEN_ACPI_HOTPLUG_CPU
+       tristate "Xen ACPI cpu hotplug"
+       depends on XEN_DOM0 && XEN_STUB && ACPI
+       select ACPI_CONTAINER
+       default n
+       help
+         Xen ACPI cpu enumerating and hotplugging
+
+         For hotplugging, currently Xen only support ACPI cpu hotadd.
+         If you want to hotadd cpu at runtime (the hotadded cpu cannot
+         be removed until machine stop), select Y/M here.
+
 config XEN_ACPI_PROCESSOR
        tristate "Xen ACPI processor"
        depends on XEN && X86 && ACPI_PROCESSOR && CPU_FREQ