On Fri, Feb 24, 2017 at 12:13:05PM +0100, David Hildenbrand wrote: > Am 22.02.2017 um 19:39 schrieb Eduardo Habkost: > > Host CPUID info is used by the "max" CPU model only in KVM mode. > > Move the initialization of CPUID data for "max" from class_init > > to instance_init, and don't set CPUClass::cpu_def for "max". > > Doesn't that mean that the same code is now called for every cpu > instance vs. only once for the class?
Yes, but I don't see a problem with that. -- Eduardo