mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 10:34:58 -06:00
acpi: cpuhp: add cpu._OST handling
it adds HW and AML parts for CPU_Device._OST method handling to allow OSPM reports status of hot-(un)plug operation. And extends QMP command query-acpi-ospm-status to report CPU's OST info along with already reported PC-DIMM devices. Signed-off-by: Igor Mammedov <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
8872c25a26
commit
76623d00ae
6 changed files with 96 additions and 1 deletions
|
@ -616,6 +616,9 @@ static void piix4_ospm_status(AcpiDeviceIf *adev, ACPIOSTInfoList ***list)
|
|||
PIIX4PMState *s = PIIX4_PM(adev);
|
||||
|
||||
acpi_memory_ospm_status(&s->acpi_memory_hotplug, list);
|
||||
if (!s->cpu_hotplug_legacy) {
|
||||
acpi_cpu_ospm_status(&s->cpuhp_state, list);
|
||||
}
|
||||
}
|
||||
|
||||
static void piix4_send_gpe(AcpiDeviceIf *adev, AcpiEventStatusBits ev)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue