[v2 1/1] hw/i386/acpi-build: add OSHP method support for SHPC driver load

2024-06-24 Thread Shiyuan Gao via
SHPC driver will be loaded fail in i440fx machine, the dmesg shows that OS cannot get control of SHPC hotplug and hotplug device to the PCI bridge will fail when we use SHPC Native type: [3.336059] shpchp :00:03.0: Requesting control of SHPC hotplug via OSHP (\_SB_.PCI0.S28_) [3.337408] s

[PATCH 1/1] hw/i386/acpi-build: add OSHP method support for SHPC driver load

2024-06-24 Thread Shiyuan Gao via
SHPC driver will be loaded fail in i440fx platform, the dmesg shows that OS cannot get control of SHPC hotplug and hotplug device to the PCI bridge will fail when we use SHPC Native type: [3.336059] shpchp :00:03.0: Requesting control of SHPC hotplug via OSHP (\_SB_.PCI0.S28_) [3.337408]

Re: [PATCH] kvm: limit the maximum CPUID.0xA.edx[0..4] to 3

2024-01-10 Thread Shiyuan Gao via
Anyone has suggestion? When the host kernel before this commit 2e8cd7a3b828 ("kvm: x86: limit the maximum number of vPMU fixed counters to 3") on icelake microarchitecture and newer, execute cpuid in the Guest: Architecture Performance Monitoring Features (0xa/edx): number of fixed counters

[PATCH] util/qemu-config: Remove unnecessary traversal

2023-11-13 Thread Shiyuan Gao via
From: Gao Shiyuan No remove QemuOptsList from *_config_groups, so no need to traverse from the beginning every time. No functional changes. Signed-off-by: Gao Shiyuan --- include/qemu/config-file.h | 3 +++ util/qemu-config.c | 18 -- 2 files changed, 11 insertions(+)