qemu/hw/dma
Philippe Mathieu-Daudé 00b0fd4883 hw/dma/xilinx_axi: Use object_initialize_child for correct ref. counting
As explained in commit aff39be0ed:

  Both functions, object_initialize() and object_property_add_child()
  increase the reference counter of the new object, so one of the
  references has to be dropped afterwards to get the reference
  counting right. Otherwise the child object will not be properly
  cleaned up when the parent gets destroyed.
  Thus let's use now object_initialize_child() instead to get the
  reference counting here right.

Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20190823143249.8096-6-philmd@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2019-09-03 16:20:34 +01:00
..
bcm2835_dma.c
etraxfs_dma.c sysemu: Split sysemu/runstate.h off sysemu/sysemu.h 2019-08-16 13:37:36 +02:00
i8257.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
i82374.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
Kconfig hw/core: Add a config switch for the "register" device 2019-08-20 09:11:05 +02:00
Makefile.objs hw/dma: Do not build the xlnx_dpdma device for the MicroBlaze machines 2019-08-19 21:28:25 +02:00
omap_dma.c hw/dma/omap_dma: Move switch 'fall through' comment to correct place 2019-08-21 10:55:23 +02:00
pl080.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
pl330.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
puv3_dma.c
pxa2xx_dma.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
rc4030.c
soc_dma.c
sparc32_dma.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
trace-events
xilinx_axidma.c hw/dma/xilinx_axi: Use object_initialize_child for correct ref. counting 2019-09-03 16:20:34 +01:00
xlnx_dpdma.c
xlnx-zdma.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
xlnx-zynq-devcfg.c Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00