]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/i386: Don't construct a all-zero entry for CPUID[0xD 0x3f]
authorXiaoyao Li <xiaoyao.li@intel.com>
Wed, 14 Aug 2024 07:54:23 +0000 (03:54 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 17 Oct 2024 10:30:20 +0000 (12:30 +0200)
commit00c8a933d95add3ce4afebbe491ca0fa398a9007
treee160131686e1f11a07ba6c2fe4be8420ad7383b5
parentf774a677507966222624a9b2859f06ede7608100
target/i386: Don't construct a all-zero entry for CPUID[0xD 0x3f]

Currently, QEMU always constructs a all-zero CPUID entry for
CPUID[0xD 0x3f].

It's meaningless to construct such a leaf as the end of leaf 0xD. Rework
the logic of how subleaves of 0xD are constructed to get rid of such
all-zero value of subleaf 0x3f.

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