qemu/hw/net
Philippe Mathieu-Daudé 65da914295 hw/net/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-7-philmd@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2019-09-03 16:20:34 +01:00
..
can Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
fsl_etsec Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
rocker Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
allwinner_emac.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
cadence_gem.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
dp8393x.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
e1000_regs.h
e1000.c hw/net/e1000: Fix erroneous comment 2019-08-21 10:42:10 +02:00
e1000e_core.c sysemu: Split sysemu/runstate.h off sysemu/sysemu.h 2019-08-16 13:37:36 +02:00
e1000e_core.h Supply missing header guards 2019-06-12 13:20:21 +02:00
e1000e.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
e1000x_common.c Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
e1000x_common.h Supply missing header guards 2019-06-12 13:20:21 +02:00
eepro100.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
etraxfs_eth.c Include qemu/module.h where needed, drop it from qemu-common.h 2019-06-12 13:18:33 +02:00
ftgmac100.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
imx_fec.c target-arm queue: 2019-08-16 17:21:40 +01:00
Kconfig hw/net/ne2000: Extract the PCI device from the chipset common code 2019-05-17 15:19:39 +02:00
lan9118.c Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
lance.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
Makefile.objs hw/net/ne2000: Extract the PCI device from the chipset common code 2019-05-17 15:19:39 +02:00
mcf_fec.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
milkymist-minimac2.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
mipsnet.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
ne2000-isa.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
ne2000-pci.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
ne2000.c Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
ne2000.h Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
net_rx_pkt.c
net_rx_pkt.h
net_tx_pkt.c
net_tx_pkt.h
opencores_eth.c Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
pcnet-pci.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
pcnet.c Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
pcnet.h memory: Fix type of IOMMUMemoryRegionClass member @parent_class 2019-08-16 13:31:51 +02:00
rtl8139.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
smc91c111.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
spapr_llan.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
stellaris_enet.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
sungem.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
sunhme.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
trace-events sunhme: ensure that RX descriptor ring overflow is indicated to client driver 2019-07-02 22:49:08 +01:00
vhost_net-stub.c vhost-net: move stubs to a separate file 2019-02-21 12:28:01 -05:00
vhost_net.c Include qemu/main-loop.h less 2019-08-16 13:31:52 +02:00
virtio-net.c sysemu: Move the VMChangeStateEntry typedef to qemu/typedefs.h 2019-08-16 13:31:53 +02:00
vmware_utils.h
vmxnet3_defs.h Supply missing header guards 2019-06-12 13:20:21 +02:00
vmxnet3.c Header cleanup patches for 2019-08-13 2019-08-16 14:53:43 +01:00
vmxnet3.h
vmxnet_debug.h
xen_nic.c Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
xgmac.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
xilinx_axienet.c hw/net/xilinx_axi: Use object_initialize_child for correct ref. counting 2019-09-03 16:20:34 +01:00
xilinx_ethlite.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00