[Qemu-devel] [PATCH 1/2] qom: add a generic mechanism to resolve paths

2014-06-05 Thread Paolo Bonzini
It may be desirable to have custom link properties that do more than just store an object. Even the addition of a check function is not enough if setting the link has side effects or if a non-standard reference counting is preferrable. Avoid the assumption that the opaque field of a link is a

Re: [Qemu-devel] [PATCH 1/2] qom: add a generic mechanism to resolve paths

2014-06-05 Thread Peter Crosthwaite
On Thu, Jun 5, 2014 at 9:23 PM, Paolo Bonzini pbonz...@redhat.com wrote: It may be desirable to have custom link properties that do more than just store an object. Even the addition of a check function is not enough if setting the link has side effects or if a non-standard reference counting