Re: [Qemu-devel] [PATCH 5/7] cpu: Let architectures set CPU class name format

2019-05-07 Thread Markus Armbruster
Markus Armbruster writes: > Eduardo Habkost writes: > >> Instead of requiring every architecture to implement a >> class_by_name function, let them set a format string at >> CPUClass::class_name_format. >> >> This will let us get rid of at least 16 class_by_name functions >> in the next commits.

Re: [Qemu-devel] [PATCH 5/7] cpu: Let architectures set CPU class name format

2019-05-06 Thread Markus Armbruster
Eduardo Habkost writes: > Instead of requiring every architecture to implement a > class_by_name function, let them set a format string at > CPUClass::class_name_format. > > This will let us get rid of at least 16 class_by_name functions > in the next commits. > > Signed-off-by: Eduardo Habkost

[Qemu-devel] [PATCH 5/7] cpu: Let architectures set CPU class name format

2019-04-18 Thread Eduardo Habkost
Instead of requiring every architecture to implement a class_by_name function, let them set a format string at CPUClass::class_name_format. This will let us get rid of at least 16 class_by_name functions in the next commits. Signed-off-by: Eduardo Habkost --- include/qom/cpu.h | 12