Received: from eggs.gnu.org ([2001:4830:134:3::10]:56726) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VsTWG-0000KD-Pu for qemu-devel@nongnu.org; Mon, 16 Dec 2013 03:27:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VsTWA-0000P9-51 for qemu-devel@nongnu.org; Mon, 16 Dec 2013 03:27:16 -0500 Received: from mx1.redhat.com ([209.132.183.28]:24955) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VsTW9-0000P3-LU for qemu-devel@nongnu.org; Mon, 16 Dec 2013 03:27:09 -0500 Message-ID: <1387182415.22282.33.camel@localhost.localdomain> From: Marcel Apfelbaum Date: Mon, 16 Dec 2013 10:26:55 +0200 In-Reply-To: <52AE163F.4010407@suse.de> References: <1385718225-26379-1-git-send-email-armbru@redhat.com> <1385903630.23603.7.camel@localhost.localdomain> <529B526C.9020502@suse.de> <1385974376.2367.4.camel@localhost.localdomain> <52AE163F.4010407@suse.de> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH 0/2] Pointer properties and device_add List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Andreas =?ISO-8859-1?Q?F=E4rber?= Cc: peter.maydell@linaro.org, armbru@redhat.com, chouteau@adacore.com, qemu-devel@nongnu.org, blauwirbel@gmail.com, kraxel@redhat.com, aliguori@amazon.com, edgar.iglesias@gmail.com, Paolo Bonzini On Sun, 2013-12-15 at 21:51 +0100, Andreas F=C3=A4rber wrote: > Am 02.12.2013 09:52, schrieb Marcel Apfelbaum: > > On Sun, 2013-12-01 at 16:14 +0100, Andreas F=C3=A4rber 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? >=20 > Start from object_property_add_link(). >=20 > link properties represent a cross-reference to an object of type > foo, which is representated as a pointer in C and as a textual canonica= l > path representation in QMP. By contrast we model child properties > as value fields (cf. SoC/MPCore modeling discussions) and they actually > form the canonical paths used by link<> properties. Thanks Andreas! Marcel >=20 > Regards, > Andreas >=20