diff options
author | Igor Mammedov | 2020-12-07 15:07:36 +0100 |
---|---|---|
committer | Michael S. Tsirkin | 2020-12-09 19:04:17 +0100 |
commit | 69dea9d6b3d1070ee49498a18c9bee5b60d00619 (patch) | |
tree | 9c5fd008eb7094b2ff4296ccf22b36e593fc2e8c /include | |
parent | tests/acpi: allow expected files change (diff) | |
download | qemu-69dea9d6b3d1070ee49498a18c9bee5b60d00619.tar.gz qemu-69dea9d6b3d1070ee49498a18c9bee5b60d00619.tar.xz qemu-69dea9d6b3d1070ee49498a18c9bee5b60d00619.zip |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/hw/acpi/cpu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/acpi/cpu.h b/include/hw/acpi/cpu.h index d71edde456..999caaf510 100644 --- a/include/hw/acpi/cpu.h +++ b/include/hw/acpi/cpu.h @@ -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; |