> On 14 Jun 2015, at 15:43, Liviu Ionescu <i...@livius.net> wrote:
> 
> 
>> I never said you cant ref one object from another. QOM links exist for
>> this exact purpose.
> 
> Q: any example of QOM links?

ok, I found them, they are not part of qdev but only in qom. 

they look like this:

    object_property_set_link(OBJECT(ds), OBJECT(s), "dma", &local_err);

and apparently they set a string property with the canonical path to the object.

why is this preferred to a direct pointer to the object?


regards,

Liviu


Reply via email to