Re: [Qemu-devel] [PATCH for-1.4 v4 00/12] qdev: correct reference counting
Applied. Thanks. Regards, Anthony Liguori
[Qemu-devel] [PATCH for-1.4 v4 00/12] qdev: correct reference counting
This series makes the ref_count field of device and bus objects actually match the number of references that the objects have. Once this is done, the question "how do I delete an object?" has a simple answer: use object_unparent if the object is reachable from the QOM tree, else use object_unref.