qemu-e2k/qom
Igor Mammedov 6aff24c6a6 pc: Parse CPU features only once
Considering that features are converted to global properties and
global properties are automatically applied to every new instance
of created CPU (at object_new() time), there is no point in
parsing cpu_model string every time a CPU created. So move
parsing outside CPU creation loop and do it only once.

Parsing also should be done before any CPU is created so that
features would affect the first CPU a well.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
2016-07-07 15:25:06 -03:00
..
container.c qom: Clean up includes 2016-02-04 17:41:30 +00:00
cpu.c pc: Parse CPU features only once 2016-07-07 15:25:06 -03:00
Makefile.objs qom: allow QOM to be linked into tools binaries 2015-09-15 14:35:39 +01:00
object_interfaces.c opts-visitor: Favor new visit_free() function 2016-07-06 10:52:04 +02:00
object.c qapi: Add new visit_complete() function 2016-07-06 10:52:04 +02:00
qom-qobject.c qapi: Add new visit_complete() function 2016-07-06 10:52:04 +02:00
trace-events trace: split out trace events for qom/ directory 2016-06-20 17:22:17 +01:00