unicorn/qemu/include/hw
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
..
arm Use DEFINE_MACHINE() to register all machines 2018-03-11 15:12:46 -04:00
cpu
i386 i386: keep cpu_model field in MachineState uptodate 2018-03-20 12:40:35 -04:00
m68k Use DEFINE_MACHINE() to register all machines 2018-03-11 15:12:46 -04:00
mips Use DEFINE_MACHINE() to register all machines 2018-03-11 15:12:46 -04:00
sparc Revert use of DEFINE_MACHINE() for registrations of multiple machines 2018-03-11 15:17:17 -04:00
xen
boards.h machine: use class base init generated name 2018-03-11 16:54:40 -04:00
hw.h hw: clean up hw/hw.h includes 2018-02-24 02:46:41 -05:00
qdev-core.h bus: simplify name handling 2018-03-09 13:02:15 -05:00
qdev.h
registerfields.h armv7m: Fix reads of CONTROL register bit 1 2018-03-02 13:26:38 -05:00