qemu/target-mips
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
..
cpu-qom.h target-mips: make cpu-qom.h not target specific 2016-05-19 13:08:05 +02:00
cpu.c exec: move cpu_exec_init() calls to realize functions 2016-10-24 17:29:16 -02:00
cpu.h target-*: Clean up cpu.h header guards 2016-07-12 16:19:16 +02:00
dsp_helper.c mips: Clean up includes 2016-01-23 14:30:04 +00:00
gdbstub.c target-mips: Implement FCR31's R/W bitmask and related functionalities 2016-06-24 13:43:52 +01:00
helper.c target-mips: fix EntryHi.EHINV being cleared on TLB exception 2016-07-28 11:24:02 +01:00
helper.h target-mips: Add nan2008 flavor of <CEIL|CVT|FLOOR|ROUND|TRUNC>.<L|W>.<S|D> 2016-06-24 13:41:47 +01:00
kvm_mips.h Clean up ill-advised or unusual header guards 2016-07-12 16:20:46 +02:00
kvm.c kvm-irqchip: i386: add hook for add/remove virq 2016-07-21 20:44:19 +03:00
lmi_helper.c mips: Clean up includes 2016-01-23 14:30:04 +00:00
machine.c target-mips: change ASID type to hold more than 8 bits 2016-07-12 09:10:19 +01:00
Makefile.objs
mips-defs.h Clean up ill-advised or unusual header guards 2016-07-12 16:20:46 +02:00
mips-semi.c cpu: move exec-all.h inclusion out of cpu.h 2016-05-19 16:42:29 +02:00
msa_helper.c softfloat: Implement run-time-configurable meaning of signaling NaN bit 2016-06-24 13:40:37 +01:00
op_helper.c tcg: Merge GETPC and GETRA 2016-09-16 08:12:11 -07:00
TODO
translate_init.c target-mips: add 24KEc CPU definition 2016-09-23 07:07:29 +01:00
translate.c target-mips: generate fences 2016-09-23 07:07:30 +01:00