[prev in list] [next in list] [prev in thread] [next in thread] 

List:       qemu-devel
Subject:    Re: [Qemu-devel] [PATCH] cpu: Register QOM links at /machine/cpus/<index>
From:       Paolo Bonzini <pbonzini () redhat ! com>
Date:       2015-04-30 21:47:09
Message-ID: 5542A2DD.3040407 () redhat ! com
[Download RAW message or body]



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.

Paolo

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic