qemu-e2k/qom
Igor Mammedov 99193d8f2e cpu: drop unnecessary NULL check and cpu_common_class_by_name()
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 <imammedo@redhat.com>
Message-Id: <1518013857-4372-1-git-send-email-imammedo@redhat.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
2018-03-19 14:10:36 -03:00
..
container.c
cpu.c cpu: drop unnecessary NULL check and cpu_common_class_by_name() 2018-03-19 14:10:36 -03:00
Makefile.objs
object_interfaces.c Include less of the generated modular QAPI headers 2018-03-02 13:45:50 -06:00
object.c qom: introduce object_class_get_list_sorted 2018-03-12 15:21:10 +01:00
qom-qobject.c
trace-events