mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
x86: acpi: let the firmware handle pending "CPU remove" events in SMM
if firmware and QEMU negotiated CPU hotunplug support, generate _EJ0 method so that it will mark CPU for removal by firmware and pass control to it by triggering SMI. Signed-off-by: Igor Mammedov <imammedo@redhat.com> Message-Id: <20201207140739.3829993-6-imammedo@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
414aa64fda
commit
69dea9d6b3
3 changed files with 14 additions and 2 deletions
|
@ -51,6 +51,7 @@ void cpu_hotplug_hw_init(MemoryRegion *as, Object *owner,
|
|||
typedef struct CPUHotplugFeatures {
|
||||
bool acpi_1_compatible;
|
||||
bool has_legacy_cphp;
|
||||
bool fw_unplugs_cpu;
|
||||
const char *smi_path;
|
||||
} CPUHotplugFeatures;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue