]> git.ipfire.org Git - thirdparty/qemu.git/commit
i386: Cleanup the usage of CPUID_VENDOR_INTEL_1
authorXiaoyao Li <xiaoyao.li@intel.com>
Mon, 30 Jun 2025 08:06:08 +0000 (16:06 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 12 Jul 2025 13:28:21 +0000 (15:28 +0200)
commit58f17c4a4fe9fc78bcadcdceada4c094c4b1d2c8
treee4b25f72e8e1ccd92e2c558501e47c958c1656f0
parent7e862c3526450fe7cb14e25b5200036c237baa03
i386: Cleanup the usage of CPUID_VENDOR_INTEL_1

There are code using "env->cpuid_vendor1 == CPUID_VENDOR_INTEL_1" to
check if it is Intel vcpu. Cleanup them to just use IS_INTEL_CPU()

Signed-off-by: Xiaoyao Li <xiaoyao.li@intel.com>
Link: https://lore.kernel.org/r/20250630080610.3151956-3-xiaoyao.li@intel.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/cpu.c
target/i386/tcg/decode-new.c.inc