unicorn/qemu/target
Igor Mammedov 8344a5a63c
pc: Parse CPU features 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 6aff24c6a61c6fec31e555c7748ba6085b7b2c06 from qemu
2018-03-20 12:27:44 -04:00
..
arm cpu: add CPU_RESOLVING_TYPE macro 2018-03-20 11:28:13 -04:00
i386 pc: Parse CPU features only once 2018-03-20 12:27:44 -04:00
m68k cpu: add CPU_RESOLVING_TYPE macro 2018-03-20 11:28:13 -04:00
mips cpu: add CPU_RESOLVING_TYPE macro 2018-03-20 11:28:13 -04:00
sparc cpu: add CPU_RESOLVING_TYPE macro 2018-03-20 11:28:13 -04:00