Revision f5dddb856cccdc491547235aeafb451acd63c8b1 authored by Xiaoyao Li on 25 January 2024, 02:40:16 UTC, committed by Michael Tokarev on 20 February 2024, 15:43:03 UTC
CPUID leaf 7 was grouped together with SGX leaf 0x12 by commit b9edbadefb9e ("i386: Propagate SGX CPUID sub-leafs to KVM") by mistake. SGX leaf 0x12 has its specific logic to check if subleaf (starting from 2) is valid or not by checking the bit 0:3 of corresponding EAX is 1 or not. Leaf 7 follows the logic that EAX of subleaf 0 enumerates the maximum valid subleaf. Fixes: b9edbadefb9e ("i386: Propagate SGX CPUID sub-leafs to KVM") Signed-off-by: Xiaoyao Li <xiaoyao.li@intel.com> Message-ID: <20240125024016.2521244-4-xiaoyao.li@intel.com> Cc: qemu-stable@nongnu.org Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> (cherry picked from commit 0729857c707535847d7fe31d3d91eb8b2a118e3c) Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
1 parent e8d2772
File | Mode | Size |
---|---|---|
control-internal.h | -rw-r--r-- | 1.2 KB |
control-target.c | -rw-r--r-- | 1.5 KB |
control.c | -rw-r--r-- | 7.6 KB |
control.h | -rw-r--r-- | 5.1 KB |
event-internal.h | -rw-r--r-- | 1.1 KB |
ftrace.c | -rw-r--r-- | 2.5 KB |
ftrace.h | -rw-r--r-- | 201 bytes |
meson.build | -rw-r--r-- | 4.4 KB |
qmp.c | -rw-r--r-- | 3.3 KB |
simple.c | -rw-r--r-- | 12.0 KB |
simple.h | -rw-r--r-- | 1.3 KB |
trace-hmp-cmds.c | -rw-r--r-- | 4.3 KB |
Computing file changes ...