-bugfix: fix qmp command migrate-set-parameters -some bugfixs about ARM hot-plugged CPUs -hw/core/machine:Fix the missing consideration of cluster-id -test/tcg:Fix target-specific Makefile variable path for user-mode -tests:add (riscv virt) machine mapping to testenv -Make a litte improvement in curl and hw/riscv -qemu support for loongarch -hw/pvrdma: Protect against buggy or malious guest driver -hw/audio/intel-hda:fix stream reset -dsoundaudio:fix crackling audio recordings -add notify-vm-exit support for i386 -blok-backend: prevent dangling BDS pointers across aio_poll() -net:Fix uninitialized data usage -net/eth:Don't consider ESP to be an IPv6 option header -hw/net/vmxnet3:Log guest-triggerable errors using LOG_GUEST_ERROR Signed-off-by: FeiXu <xufei30@huawei.com>
29 lines
996 B
Diff
29 lines
996 B
Diff
From 9e8ccc2a868e719233a34946106859461c057ade Mon Sep 17 00:00:00 2001
|
|
From: Kunkun Jiang <jiangkunkun@huawei.com>
|
|
Date: Tue, 14 Feb 2023 20:28:11 +0800
|
|
Subject: [PATCH] hw/acpi: Support acpi-ged to report CPU's OST info
|
|
|
|
Setup an ARM virtual machine of machine virt and execute qmp
|
|
"query-acpi-ospm-status" but can not get the CPU's OST info.
|
|
|
|
Signed-off-by: Kunkun Jiang <jiangkunkun@huawei.com>
|
|
---
|
|
hw/acpi/generic_event_device.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/hw/acpi/generic_event_device.c b/hw/acpi/generic_event_device.c
|
|
index 53e9112d9f..9118681662 100644
|
|
--- a/hw/acpi/generic_event_device.c
|
|
+++ b/hw/acpi/generic_event_device.c
|
|
@@ -278,6 +278,7 @@ static void acpi_ged_ospm_status(AcpiDeviceIf *adev, ACPIOSTInfoList ***list)
|
|
AcpiGedState *s = ACPI_GED(adev);
|
|
|
|
acpi_memory_ospm_status(&s->memhp_state, list);
|
|
+ acpi_cpu_ospm_status(&s->cpuhp_state, list);
|
|
}
|
|
|
|
static void acpi_ged_send_event(AcpiDeviceIf *adev, AcpiEventStatusBits ev)
|
|
--
|
|
2.27.0
|
|
|