Il 05/07/2013 05:26, Liu Ping Fan ha scritto:
> Currently, unrealized is triggered in device_unparent(). But
> unrealized normally involves the reclaim of resource occupied by
> DeviceState. To obey the idiom that reclaiming resource when
> refcnt reach zero, move it on the path of object_finalize(
Currently, unrealized is triggered in device_unparent(). But
unrealized normally involves the reclaim of resource occupied by
DeviceState. To obey the idiom that reclaiming resource when
refcnt reach zero, move it on the path of object_finalize().
As for device_unparent(), it would be the place to