qemu-irix/hw
Gonglei 352fa88dfb virtio-rng: fix virtio-rng child refcount in transports
object_initialize() leaves the object with a refcount of 1.
object_property_add_child() adds its own reference which is dropped
again when the property is deleted.

The upshot of this is that we always have a refcount >= 1.  Upon hot
unplug the virtio-rng child is not finalized!

Drop our reference after the child property has been added to the
parent.

Signed-off-by: Gonglei <arei.gonglei@huawei.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Cc: qemu-stable@nongnu.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2014-09-30 11:09:24 +02:00
..
9pfs
acpi
alpha
arm
audio
block block: Always compile virtio-blk dataplane 2014-09-22 11:39:51 +01:00
bt
char
core pci, pc, virtio, misc bugfixes 2014-09-18 20:02:01 +01:00
cpu
cris
display
dma
gpio
i2c
i386 pc: Add missing 'static' attribute 2014-09-22 12:09:43 +04:00
ide ahci: properly shadow the TFD register 2014-09-22 11:39:41 +01:00
input
intc
ipack
isa
lm32
m68k
mem
microblaze
mips
misc
moxie
net virtio: Import virtio_vring.h 2014-09-22 11:39:49 +01:00
nvram
openrisc
pci
pci-bridge
pci-host
pcmcia
ppc Fix typos and misspellings in comments 2014-09-20 17:55:53 +04:00
s390x virtio-rng: fix virtio-rng child refcount in transports 2014-09-30 11:09:24 +02:00
scsi virtio-scsi: Make virtio_scsi_push_event public 2014-09-23 15:41:11 +02:00
sd
sh4
sparc
sparc64
ssi
timer
tpm
tricore
unicore32
usb
virtio virtio-rng: fix virtio-rng child refcount in transports 2014-09-30 11:09:24 +02:00
watchdog
xen
xenpv
xtensa
Makefile.objs