On Thu, Apr 30, 2015 at 2:47 PM, Paolo Bonzini <pbonz...@redhat.com> wrote:
>
>
> On 30/04/2015 22:21, Andreas Färber wrote:
>>>+    cpu->self = cobj;
>>>+    object_property_add_link(cpu_container, path, TYPE_CPU, &cpu->self, 
>>>NULL,
>>>+                             OBJ_PROP_LINK_UNREF_ON_RELEASE, &error_abort);
>
> Doesn't this leak the CPU object?
>
> I have a patch to add "." and ".." properties.  You can use them to add
> an alias to an object.
>

Curious, are we ultimately going for full canonical path navigation by
string? Going the other way, I still have application of setting a
property of a child object from reference to a parent that might fit
in:

http://lists.gnu.org/archive/html/qemu-devel/2014-05/msg03281.html

Regards,
Peter

> Paolo
>

Reply via email to