qemu/target/xtensa
Thomas Huth 09d98b6980 target/xtensa/cpu: Set owner of memory region in xtensa_cpu_initfn
The instance_init function of the xtensa CPUs creates a memory region,
but does not set an owner, so the memory region is not destroyed
correctly when the CPU object is removed. This can happen when
introspecting the CPU devices, so introspecting the CPU device will
leave a dangling memory region object in the QOM tree. Make sure to
set the right owner here to fix this issue.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Acked-by: Max Filippov <jcmvbkbc@gmail.com>
Message-id: 1532005320-17794-1-git-send-email-thuth@redhat.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2018-08-06 19:07:21 +01:00
..
core-dc232b Remove unnecessary variables for function return value 2018-05-20 08:48:13 +03:00
core-dc233c Remove unnecessary variables for function return value 2018-05-20 08:48:13 +03:00
core-de212 Remove unnecessary variables for function return value 2018-05-20 08:48:13 +03:00
core-fsf Remove unnecessary variables for function return value 2018-05-20 08:48:13 +03:00
core-sample_controller Remove unnecessary variables for function return value 2018-05-20 08:48:13 +03:00
core-dc232b.c target: Do not include "exec/exec-all.h" if it is not necessary 2018-06-01 14:15:10 +02:00
core-dc233c.c target: Do not include "exec/exec-all.h" if it is not necessary 2018-06-01 14:15:10 +02:00
core-de212.c target: Do not include "exec/exec-all.h" if it is not necessary 2018-06-01 14:15:10 +02:00
core-fsf.c target: Do not include "exec/exec-all.h" if it is not necessary 2018-06-01 14:15:10 +02:00
core-sample_controller.c target: Do not include "exec/exec-all.h" if it is not necessary 2018-06-01 14:15:10 +02:00
cpu-qom.h Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
cpu.c target/xtensa/cpu: Set owner of memory region in xtensa_cpu_initfn 2018-08-06 19:07:21 +01:00
cpu.h target/xtensa: check zero overhead loop alignment 2018-06-30 11:58:02 -07:00
gdbstub.c target/xtensa: use correct number of registers in gdbstub 2018-03-13 11:30:22 -07:00
helper.c hw/xtensa: Use the IEC binary prefix definitions 2018-07-02 15:41:14 +02:00
helper.h target/xtensa: add linux-user support 2018-03-16 09:40:34 -07:00
import_core.sh target: Do not include "exec/exec-all.h" if it is not necessary 2018-06-01 14:15:10 +02:00
Makefile.objs target/xtensa: add linux-user support 2018-03-16 09:40:34 -07:00
monitor.c monitor: Fix crashes when using HMP commands without CPU 2017-02-21 18:29:01 +00:00
op_helper.c xtensa: Avoid calling get_page_addr_code() from helper function 2018-06-30 12:00:17 -07:00
overlay_tool.h target/xtensa: check zero overhead loop alignment 2018-06-30 11:58:02 -07:00
translate.c target/xtensa: Convert to TranslatorOps 2018-06-30 12:00:17 -07:00
xtensa-isa-internal.h target/xtensa: import libisa source 2017-12-18 21:26:19 -08:00
xtensa-isa.c Clean up includes 2018-02-09 05:05:11 +01:00
xtensa-isa.h Use #include "..." for our own headers, <...> for others 2018-02-09 05:05:11 +01:00
xtensa-semi.c char: add backend hotswap handler 2017-07-14 11:04:33 +02:00