unicorn/qemu/hw/i386
Igor Mammedov 20f67e8f9a
pc: use generic cpu_model parsing
define default CPU type in generic way in pc_machine_class_init()
and let common machine code to handle cpu_model parsing

Patch also introduces TARGET_DEFAULT_CPU_TYPE define for 2 purposes:
* make foo_machine_class_init() look uniform on every target
* use define in [bsd|linux]-user targets to pick default
cpu type

Backports commit 311ca98d16bbb6a2a38b38ba898baa4a4d4ab9a7 from qemu
2018-03-20 13:22:05 -04:00
..
Makefile.objs cleanup 2017-01-23 10:06:49 +08:00
pc.c pc: use generic cpu_model parsing 2018-03-20 13:22:05 -04:00
pc_piix.c i386: keep cpu_model field in MachineState uptodate 2018-03-20 12:40:35 -04:00