The issue that fixed by Patch 1 looks fatal though it doesn't appear on KVM because KVM always searches with assending order and hit with the correct cpuid leaf 0. Patch 2 removes the wrong constraint on CPUID leaf 1f. Patch 3 fix the build of CPUID leaf 7. Changes in v3: - collect Reviewed-by tags; - rebase to latest master branch 4a4efae44f19 ("Merge tag 'pull-hex-20240121' of https://github.com/quic/qemu into staging") v2: https://lore.kernel.org/qemu-devel/20230613131929.720453-1-xiaoyao.li@xxxxxxxxx/ Changes in v2: - Add Patch 3; - rebase to latest master branch v1: https://lore.kernel.org/qemu-devel/20220712021249.3227256-1-xiaoyao.li@xxxxxxxxx/ Xiaoyao Li (3): i386/cpuid: Decrease cpuid_i when skipping CPUID leaf 1F i386/cpuid: Remove subleaf constraint on CPUID leaf 1F i386/cpuid: Move leaf 7 to correct group target/i386/kvm/kvm.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) -- 2.34.1