Anthony Liguori db85b575b9 object: sure up reference counting
Now we have the following behavior:

1) object_new() returns an object with ref = 1
2) object_initialize() does not increase the reference count (ref may be 0).
3) object_deref() will finalize the object when ref = 0.  it does not free the
   memory associated with the object.
4) both link and child properties correctly set the reference count.

The expected usage is the following:

1) child devices should generally be created via object_initialize() using
   memory from the parent device.  Adding the object as a child property will
   take ownership of the object and tie the child's life cycle to the parent.

2) If a child device is created via qdev_create() or some other form of
   object_new(), there must be an object_delete() call in the parent device's
   finalize function.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2012-02-03 10:41:08 -06:00
2012-01-26 14:49:18 +01:00
2012-02-01 16:24:54 -06:00
2012-01-26 14:49:18 +01:00
2012-02-03 10:41:08 -06:00
2012-01-21 05:17:02 +01:00
2012-01-25 15:10:17 +00:00
2012-01-21 05:17:00 +01:00
2012-01-13 10:36:59 +00:00
2012-01-19 08:14:33 +00:00
2012-01-21 05:17:01 +01:00
2012-01-13 10:55:56 -06:00
2012-01-26 14:49:18 +01:00
2012-01-26 14:49:18 +01:00
2012-01-18 10:23:39 -02:00
2012-01-13 10:37:00 +00:00
2012-01-12 10:05:37 -06:00
2012-01-12 10:05:37 -06:00
2012-01-12 10:05:37 -06:00
2012-01-12 10:05:38 -06:00
2012-02-01 16:24:40 -06:00
2012-01-18 10:23:38 -02:00
2012-01-10 09:36:43 +01:00
2012-01-26 14:49:18 +01:00
2012-01-26 14:49:18 +01:00
2012-01-13 10:55:56 -06:00
2012-02-01 14:42:03 -06:00
2012-02-01 16:24:38 -06:00
2012-01-13 10:55:56 -06:00
2012-01-26 14:49:18 +01:00
2012-01-26 14:49:18 +01:00
2012-02-01 16:24:40 -06:00
2012-02-01 16:24:40 -06:00
2012-01-13 10:55:56 -06:00
2012-01-13 10:55:56 -06:00
2012-01-10 18:23:58 +01:00
2012-01-10 18:23:58 +01:00
2012-02-03 10:41:08 -06:00
2012-02-03 10:41:08 -06:00
2012-02-01 16:24:40 -06:00
2012-01-27 05:29:56 +00:00
2012-01-26 14:49:18 +01:00
2012-02-03 10:41:08 -06:00
2012-01-30 19:13:21 +00:00
2012-01-27 10:50:47 -06:00
2012-01-27 10:50:47 -06:00

Read the documentation in qemu-doc.html or on http://wiki.qemu.org

- QEMU team
Description
No description provided
Readme 404 MiB
Languages
C 82.6%
C++ 6.5%
Python 3.4%
Dylan 2.9%
Shell 1.6%
Other 2.8%