unicorn/qemu/hw/arm
Igor Mammedov d5a14f8232
arm: virt: Parse cpu_model only once
Considering that features are converted to global properties and
global properties are automatically applied to every new instance
of created CPU (at object_new() time), there is no point in
parsing cpu_model string every time a CPU created. So move
parsing outside CPU creation loop and do it only once.

Parsing also should be done before any CPU is created so that
features would affect the first CPU a well.

Backports commit 09f71b054a95161950a03fafc9023637929bd404 from qemu
2018-03-20 12:07:03 -04:00
..
Makefile.objs import 2015-08-21 15:04:50 +08:00
tosa.c cpu: Generify CPU init functions 2018-03-20 08:21:51 -04:00
virt.c arm: virt: Parse cpu_model only once 2018-03-20 12:07:03 -04:00