[PATCH 0/2] Fixes for TCG/HVF warning of CPUID_HT and CPUID_EXT3_CMP_LEG

Xiaoyao Li posted 2 patches 6 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20250514031652.838763-1-xiaoyao.li@intel.com
Maintainers: Paolo Bonzini <pbonzini@redhat.com>, Zhao Liu <zhao1.liu@intel.com>, Cameron Esfahani <dirty@apple.com>, Roman Bolshakov <rbolshakov@ddn.com>, Phil Dennis-Jordan <phil@philjordan.eu>
target/i386/cpu.c           | 8 +++++---
target/i386/hvf/x86_cpuid.c | 2 +-
2 files changed, 6 insertions(+), 4 deletions(-)
[PATCH 0/2] Fixes for TCG/HVF warning of CPUID_HT and CPUID_EXT3_CMP_LEG
Posted by Xiaoyao Li 6 months ago
Starting from QEMU v10.0.0, QEMU hits warnings when vcpus >= 2 with TCG

 qemu-system-x86_64: warning: TCG doesn't support requested feature: CPUID.01H:EDX.ht [bit 28]
 qemu-system-x86_64: warning: TCG doesn't support requested feature: CPUID.80000001H:ECX.cmp-legacy [bit 1]

For HVF, it should have the same warning of CPUID.01H:EDX.ht [bit 28].

This series tries to fix them.

Xiaoyao Li (2):
  i386/tcg: Make CPUID_HT and CPUID_EXT3_CMP_LEG supported
  i386/hvf: Make CPUID_HT supported

 target/i386/cpu.c           | 8 +++++---
 target/i386/hvf/x86_cpuid.c | 2 +-
 2 files changed, 6 insertions(+), 4 deletions(-)

-- 
2.43.0
Re: [PATCH 0/2] Fixes for TCG/HVF warning of CPUID_HT and CPUID_EXT3_CMP_LEG
Posted by Michael Tokarev 5 months, 3 weeks ago
On 14.05.2025 06:16, Xiaoyao Li wrote:
> Starting from QEMU v10.0.0, QEMU hits warnings when vcpus >= 2 with TCG
> 
>   qemu-system-x86_64: warning: TCG doesn't support requested feature: CPUID.01H:EDX.ht [bit 28]
>   qemu-system-x86_64: warning: TCG doesn't support requested feature: CPUID.80000001H:ECX.cmp-legacy [bit 1]
> 
> For HVF, it should have the same warning of CPUID.01H:EDX.ht [bit 28].
> 
> This series tries to fix them.
> 
> Xiaoyao Li (2):
>    i386/tcg: Make CPUID_HT and CPUID_EXT3_CMP_LEG supported
>    i386/hvf: Make CPUID_HT supported

This seems to be a qemu-stable material (10.0).
Applied to staging-10.0, please let me know if I shouldn't.

Thanks,

/mjt