qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 0/2] Pointer properties and device_add


From: Marcel Apfelbaum
Subject: Re: [Qemu-devel] [PATCH 0/2] Pointer properties and device_add
Date: Mon, 16 Dec 2013 10:26:55 +0200

On Sun, 2013-12-15 at 21:51 +0100, Andreas Färber wrote:
> Am 02.12.2013 09:52, schrieb Marcel Apfelbaum:
> > On Sun, 2013-12-01 at 16:14 +0100, Andreas Färber wrote:
> >> The alternative BTW is dropping all those pointer properties and
> >> replacing them with link<> properties. Paolo tried that for the OMAP
> >> timers once but I fear that series was never picked up...?
> > I heard about these link<> properties, can someone point me to their 
> > implementation?
> 
> Start from object_property_add_link().
> 
> link<foo> properties represent a cross-reference to an object of type
> foo, which is representated as a pointer in C and as a textual canonical
> path representation in QMP. By contrast we model child<foo> properties
> as value fields (cf. SoC/MPCore modeling discussions) and they actually
> form the canonical paths used by link<> properties.
Thanks Andreas!
Marcel


> 
> Regards,
> Andreas
> 






reply via email to

[Prev in Thread] Current Thread [Next in Thread]