• Liu Jinsong's avatar
    xen/acpi: ACPI cpu hotplug · 39adc483
    Liu Jinsong authored
    This patch implement real Xen ACPI cpu hotplug driver as module.
    When loaded, it replaces Xen stub driver.
    
    For booting existed cpus, the driver enumerates them.
    For hotadded cpus, which added at runtime and notify OS via
    device or container event, the driver is invoked to add them,
    parsing cpu information, hypercalling to Xen hypervisor to add
    them, and finally setting up new /sys interface for them.
    Signed-off-by: default avatarLiu Jinsong <jinsong.liu@intel.com>
    Signed-off-by: default avatarKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
    39adc483
platform.h 12 KB