]> git.ipfire.org Git - thirdparty/qemu.git/commit
i386/hvf: Make CPUID_HT supported
authorXiaoyao Li <xiaoyao.li@intel.com>
Wed, 14 May 2025 03:16:52 +0000 (23:16 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 20 May 2025 06:04:18 +0000 (08:04 +0200)
commit7a48612306768833f8cc87418a5a53e712f26ac1
treef0d617c619c4664f797f50ee6ef11ca90c329e4d
parent5979f50fa9fdbb3fb49e2b498f84faa7503c8ed1
i386/hvf: Make CPUID_HT supported

Since Commit c6bd2dd63420 ("i386/cpu: Set up CPUID_HT in
x86_cpu_expand_features() instead of cpu_x86_cpuid()"), CPUID_HT will be
set in env->features[] in x86_cpu_expand_features() when vcpus >= 2.

Later in x86_cpu_filter_features() it will check against the HVF
supported bits. It will trigger the warning like

    qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.01H:EDX.ht [bit 28]

Add CPUID_HT to HVF supported CPUID bits to fix it.

Signed-off-by: Xiaoyao Li <xiaoyao.li@intel.com>
Link: https://lore.kernel.org/r/20250514031652.838763-3-xiaoyao.li@intel.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/hvf/x86_cpuid.c