Files
qemu-ios/hw
Gonglei 0077793a00 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>
(cherry picked from commit 352fa88dfb)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
2015-01-06 16:02:58 -06:00
..
2014-06-23 11:01:24 -04:00
2013-12-24 18:02:18 +01:00
2014-09-10 09:30:58 -05:00
2014-06-30 21:13:30 +02:00
2014-06-27 13:48:26 +02:00
2014-07-01 04:02:53 +02:00
2014-05-28 17:36:21 +02:00
2015-01-06 15:43:56 -06:00
2014-06-27 13:48:22 +02:00
2014-06-30 21:13:30 +02:00
2015-01-06 16:00:06 -06:00
2014-06-30 21:13:30 +02:00
2014-06-30 21:13:30 +02:00
2014-05-28 17:36:21 +02:00
2013-08-22 19:10:27 +02:00