Re: [Qemu-devel] [PATCH 5/6] pc: use generic cpu_model parsing

2017-09-04 Thread Philippe Mathieu-Daudé
On 09/04/2017 11:01 AM, Igor Mammedov wrote: 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 tar

[Qemu-devel] [PATCH 5/6] pc: use generic cpu_model parsing

2017-09-04 Thread Igor Mammedov
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 t