Re: [Qemu-devel] [PATCH v2 5/7] mips: MIPSCPU model subclasses

2017-09-17 Thread Philippe Mathieu-Daudé
Hi Eduardo, On 09/15/2017 09:15 PM, Eduardo Habkost wrote: On Wed, Aug 30, 2017 at 07:52:23PM -0300, Philippe Mathieu-Daudé wrote: From: Igor Mammedov Register separate QOM types for each mips cpu model, so it would be possible to reuse generic CPU creation routines. Signed-off-by: Igor Mamm

Re: [Qemu-devel] [PATCH v2 5/7] mips: MIPSCPU model subclasses

2017-09-15 Thread Eduardo Habkost
On Wed, Aug 30, 2017 at 07:52:23PM -0300, Philippe Mathieu-Daudé wrote: > From: Igor Mammedov > > Register separate QOM types for each mips cpu model, > so it would be possible to reuse generic CPU creation > routines. > > Signed-off-by: Igor Mammedov > Signed-off-by: Philippe Mathieu-Daudé >

[Qemu-devel] [PATCH v2 5/7] mips: MIPSCPU model subclasses

2017-08-30 Thread Philippe Mathieu-Daudé
From: Igor Mammedov Register separate QOM types for each mips cpu model, so it would be possible to reuse generic CPU creation routines. Signed-off-by: Igor Mammedov Signed-off-by: Philippe Mathieu-Daudé [PMD: use internal.h, use void* to hold cpu_def in MIPSCPUClass, mark MIPSCPU abstract] T