unicorn/qemu/hw
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
..
arm arm: virt: Parse cpu_model only once 2018-03-20 12:07:03 -04:00
core machine: use class base init generated name 2018-03-11 16:54:40 -04:00
i386 pc: Generate init functions with a macro 2018-03-11 13:42:19 -04:00
intc qemu-common: push cpu.h inclusion out of qemu-common.h 2018-02-24 01:50:56 -05:00
m68k cpu: Generify CPU init functions 2018-03-20 08:21:51 -04:00
mips Use DEFINE_MACHINE() to register all machines 2018-03-11 15:12:46 -04:00
sparc cpu: Generify CPU init functions 2018-03-20 08:21:51 -04:00
sparc64 cpu: Generify CPU init functions 2018-03-20 08:21:51 -04:00
Makefile.objs import 2015-08-21 15:04:50 +08:00