unicorn/qemu/qom
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
..
container.c qom: Allow properties to be registered against classes 2018-02-21 21:00:56 -05:00
cpu.c pc: Parse CPU features only once 2018-03-20 12:27:44 -04:00
Makefile.objs import 2015-08-21 15:04:50 +08:00
object.c qobject: let object_property_get_str() use new API 2018-03-20 11:25:30 -04:00
qom-qobject.c qapi: Drop unused non-strict qobject input visitor 2018-03-02 12:14:52 -05:00