> > + if (cpu->vendor_cpuid_only_v2 && IS_INTEL_CPU(env)) { > > + *ecx = *edx = 0; > > + break; > > + } > > current code guarantees ecx and edx to be 0 for !IS_AMD_CPU(). I think the > patch is unnecessary.
Hi, could you please tell me why? Thanks, Zhao > > if (threads_per_pkg > 1) { > > /* > > * Bits 15:12 is "The number of bits in the initial >