mirror of
https://github.com/qemu/qemu.git
synced 2026-11-12 14:50:50 +00:00
c5d49db4469dfc0cc7f4c01dfb4ed4e8b96bdbcd
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-blk child is not finalized! Drop our reference after the child property has been added to the parent. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
…
…
…
…
Read the documentation in qemu-doc.html or on http://wiki.qemu-project.org - QEMU team
Description
Languages
C
83.4%
C++
6%
Python
3.5%
Dylan
2.7%
Shell
1.2%
Other
3%