[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC] QOM design - add instance data to Object (-> add
From: |
Liviu Ionescu |
Subject: |
Re: [Qemu-devel] [RFC] QOM design - add instance data to Object (-> add constructors) |
Date: |
Sun, 14 Jun 2015 16:39:22 +0300 |
> On 14 Jun 2015, at 15:43, Liviu Ionescu <address@hidden> 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
- Re: [Qemu-devel] [RFC] QOM design - add instance data to Object, (continued)
- Re: [Qemu-devel] [RFC] QOM design - add instance data to Object, Peter Crosthwaite, 2015/06/13
- Re: [Qemu-devel] [RFC] QOM design - add instance data to Object, Liviu Ionescu, 2015/06/13
- Re: [Qemu-devel] [RFC] QOM design - add instance data to Object (-> add constructors), Liviu Ionescu, 2015/06/13
- Re: [Qemu-devel] [RFC] QOM design - add instance data to Object, Peter Crosthwaite, 2015/06/13
- Re: [Qemu-devel] [RFC] QOM design - add instance data to Object, Liviu Ionescu, 2015/06/13
- Re: [Qemu-devel] [RFC] QOM design - add instance data to Object (-> add constructors), Liviu Ionescu, 2015/06/13
- Re: [Qemu-devel] [RFC] QOM design - add instance data to Object (-> add constructors), Peter Crosthwaite, 2015/06/13
- Re: [Qemu-devel] [RFC] QOM design - add instance data to Object (-> add constructors), Liviu Ionescu, 2015/06/13
- Re: [Qemu-devel] [RFC] QOM design - add instance data to Object (-> add constructors), Peter Crosthwaite, 2015/06/13
- Re: [Qemu-devel] [RFC] QOM design - add instance data to Object (-> add constructors), Liviu Ionescu, 2015/06/14
- Re: [Qemu-devel] [RFC] QOM design - add instance data to Object (-> add constructors),
Liviu Ionescu <=
- Re: [Qemu-devel] [RFC] QOM design - add instance data to Object (-> add constructors), Liviu Ionescu, 2015/06/15
- Re: [Qemu-devel] [RFC] QOM design - add instance data to Object (-> add constructors), Liviu Ionescu, 2015/06/14
- Re: [Qemu-devel] [RFC] QOM design - add instance data to Object, Peter Crosthwaite, 2015/06/13
Re: [Qemu-devel] [RFC] QOM design - add instance data to Object, Liviu Ionescu, 2015/06/14