From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58409) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXXZo-0001oA-4h for qemu-devel@nongnu.org; Thu, 03 Sep 2015 12:41:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZXXZk-0004AO-3y for qemu-devel@nongnu.org; Thu, 03 Sep 2015 12:41:28 -0400 Received: from mx2.suse.de ([195.135.220.15]:56319) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXXZj-00049e-Td for qemu-devel@nongnu.org; Thu, 03 Sep 2015 12:41:24 -0400 References: <1440590594-5514-1-git-send-email-berrange@redhat.com> <1440590594-5514-2-git-send-email-berrange@redhat.com> <55E72154.7070404@suse.de> <20150903154952.GK31547@redhat.com> <87oahjmpaw.fsf@blackfin.pond.sub.org> From: =?UTF-8?Q?Andreas_F=c3=a4rber?= Message-ID: <55E87831.5040405@suse.de> Date: Thu, 3 Sep 2015 18:41:21 +0200 MIME-Version: 1.0 In-Reply-To: <87oahjmpaw.fsf@blackfin.pond.sub.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH RFC 1/7] qom: allow properties to be registered against classes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Markus Armbruster Cc: Paolo Bonzini , qemu-devel@nongnu.org Am 03.09.2015 um 18:37 schrieb Markus Armbruster: > "Daniel P. Berrange" writes: >> On Wed, Sep 02, 2015 at 06:18:28PM +0200, Andreas F=C3=A4rber wrote: >>> I had suggested exactly this looong time ago, but Anthony opposed it.= I >>> don't quite remember why... >> >> It is a while back now so I don't remember all aspects of the discussi= on >> either. The main thing I remember is that we could not simply use the >> existing GObject model from glib, since that exclusively records prope= rties >> against the object class. In some cases, particularly the relationship= s >> between objects, QEMU needed to be able to define properties on the fl= y >> against object instances. >=20 > I remember Anthony's assertion that this is the case, but I don't > remember the actual problems where this is actually the case. >=20 > What properties do we currently define that could not be defined agains= t > the class? All child<> properties and everything on Container objects. Cheers, Andreas --=20 SUSE Linux GmbH, Maxfeldstr. 5, 90409 N=C3=BCrnberg, Germany GF: Felix Imend=C3=B6rffer, Jane Smithard, Graham Norton; HRB 21284 (AG N= =C3=BCrnberg)