qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v2 3/3] i386: Don't set CPUClass::cpu_def on "ma


From: David Hildenbrand
Subject: Re: [Qemu-devel] [PATCH v2 3/3] i386: Don't set CPUClass::cpu_def on "max" model
Date: Fri, 24 Feb 2017 12:13:05 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0

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?

-- 
Thanks,

David



reply via email to

[Prev in Thread] Current Thread [Next in Thread]