unicorn/qemu/include/hw/i386
Igor Mammedov 9c5153270f
i386: keep cpu_model field in MachineState uptodate
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:40:35 -04:00
..
apic.h target-i386: clear bsp bit when designating bsp 2018-02-12 16:40:35 -05:00
apic_internal.h Clean up decorations and whitespace around header guards 2018-02-25 04:26:02 -05:00
pc.h i386: keep cpu_model field in MachineState uptodate 2018-03-20 12:40:35 -04:00