[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] cpu: Register QOM links at /machine/cpus/<index
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH] cpu: Register QOM links at /machine/cpus/<index> |
Date: |
Thu, 30 Apr 2015 23:47:09 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 |
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