On Sun, 16 May 2021 at 12:16, Alexander Graf <ag...@csgraf.de> wrote: > > > On 28.01.21 17:55, Peter Maydell wrote: > > Nicer to follow the KVM approach of only doing this once > > and caching the results in arm_host_cpu_features, so that > > for a many-cores VM you don't do it once per core. > > > I tend to disagree. This scales nicely with the number of cores you have > in the system and it's blazingly fast :). I would rather like to > optimize for simplicity here.
How does "do something once per vCPU" scale better than "do something once when QEMU starts" ?? I would prefer to optimise for "don't be unnecessarily different from how we do stuff with KVM", please. thanks -- PMM