On Wed, Feb 07, 2018 at 03:30:57PM +0100, Igor Mammedov wrote: > both do nothing as for the first all callers > parse_cpu_model() and qmp_query_cpu_model_() > should provide non NULL value, so just abort if it's not so. > > While at it drop cpu_common_class_by_name() which is not need > any more as every target has CPUClass::class_by_name callback > by now, though abort in case a new arch will forget to define one. > > Signed-off-by: Igor Mammedov <imamm...@redhat.com>
Reviewed-by: Eduardo Habkost <ehabk...@redhat.com> -- Eduardo