qemu-e2k/target-s390x
Laurent Vivier ce5b1bbf62 exec: move cpu_exec_init() calls to realize functions
Modify all CPUs to call it from XXX_cpu_realizefn() function.

Remove all the cannot_destroy_with_object_finalize_yet as
unsafe references have been moved to cpu_exec_realizefn().
(tested with QOM command provided by commit 4c315c27)

for arm:

Setting of cpu->mp_affinity is moved from arm_cpu_initfn()
to arm_cpu_realizefn() as setting of cpu_index is now done
in cpu_exec_realizefn(). To avoid to overwrite an user defined
value, we set it to an invalid value by default, and update
it in realize function only if the value is still invalid.

Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
2016-10-24 17:29:16 -02:00
..
Makefile.objs rules.mak: quiet-command: Split command name and args to print 2016-10-06 12:11:51 +01:00
arch_dump.c s390: Clean up includes 2016-01-29 15:07:22 +00:00
cc_helper.c cpu: move exec-all.h inclusion out of cpu.h 2016-05-19 16:42:29 +02:00
cpu-qom.h s390x/cpumodel: register defined CPU models as subclasses 2016-09-06 17:06:49 +02:00
cpu.c exec: move cpu_exec_init() calls to realize functions 2016-10-24 17:29:16 -02:00
cpu.h qemu-tech: document lazy condition code evaluation in cpu.h 2016-10-07 10:05:22 +02:00
cpu_features.c s390x/cpumodel: introduce CPU feature group definitions 2016-09-06 17:06:49 +02:00
cpu_features.h s390x/cpumodel: introduce CPU feature group definitions 2016-09-06 17:06:49 +02:00
cpu_features_def.h s390x/cpumodel: introduce CPU features 2016-09-06 17:06:49 +02:00
cpu_models.c s390x/cpumodel: implement QMP interface "query-cpu-model-baseline" 2016-09-06 17:06:51 +02:00
cpu_models.h s390x/kvm: implement CPU model support 2016-09-06 17:06:50 +02:00
fpu_helper.c softfloat: Implement run-time-configurable meaning of signaling NaN bit 2016-06-24 13:40:37 +01:00
gdbstub.c cpu: move exec-all.h inclusion out of cpu.h 2016-05-19 16:42:29 +02:00
gen-features.c s390x/kvm: let the CPU model control CMM(A) 2016-09-06 17:06:51 +02:00
helper.c s390x/cpumodel: "host" and "qemu" as CPU subclasses 2016-09-06 17:06:49 +02:00
helper.h softfloat: Implement run-time-configurable meaning of signaling NaN bit 2016-06-24 13:40:37 +01:00
insn-data.def target-s390x: wire up I/O instructions in TCG mode 2015-06-17 12:40:50 +02:00
insn-format.def target-s390: Add format based disassassmbly infrastructure 2013-01-05 12:00:27 -08:00
int_helper.c cpu: move exec-all.h inclusion out of cpu.h 2016-05-19 16:42:29 +02:00
interrupt.c s390x: reorganize CSS bits between cpu.h and other headers 2016-05-19 16:42:28 +02:00
ioinst.c s390x/ioinst: advertise fcs facility 2016-09-05 15:15:16 +02:00
kvm.c Couple of s390x patches: 2016-09-30 23:45:56 +01:00
machine.c s390x/cpumodel: let the CPU model handle feature checks 2016-09-06 17:06:50 +02:00
mem_helper.c Fix confusing argument names in some common functions 2016-07-12 13:06:08 +01:00
misc_helper.c cpus: pass CPUState to run_on_cpu helpers 2016-09-27 11:57:29 +02:00
mmu_helper.c s390x: fix debug statement in trigger_page_fault() 2016-03-01 12:15:28 +01:00
trace-events trace-events: fix first line comment in trace-events 2016-08-12 10:36:01 +01:00
translate.c softfloat: Implement run-time-configurable meaning of signaling NaN bit 2016-06-24 13:40:37 +01:00