Received: from eggs.gnu.org ([2001:4830:134:3::10]:38611) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXXuC-0004bG-0g for qemu-devel@nongnu.org; Thu, 03 Sep 2015 13:02:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZXXu8-00068a-RD for qemu-devel@nongnu.org; Thu, 03 Sep 2015 13:02:31 -0400 Received: from mx1.redhat.com ([209.132.183.28]:37089) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXXu8-00068D-N0 for qemu-devel@nongnu.org; Thu, 03 Sep 2015 13:02:28 -0400 From: Markus Armbruster 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> <55E87831.5040405@suse.de> Date: Thu, 03 Sep 2015 19:02:25 +0200 In-Reply-To: <55E87831.5040405@suse.de> ("Andreas =?utf-8?Q?F=C3=A4rber=22?= =?utf-8?Q?'s?= message of "Thu, 3 Sep 2015 18:41:21 +0200") Message-ID: <87a8t3l9lq.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 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: Andreas =?utf-8?Q?F=C3=A4rber?= Cc: Paolo Bonzini , qemu-devel@nongnu.org Andreas F=C3=A4rber writes: > 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 discussion >>> either. The main thing I remember is that we could not simply use the >>> existing GObject model from glib, since that exclusively records proper= ties >>> against the object class. In some cases, particularly the relationships >>> between objects, QEMU needed to be able to define properties on the fly >>> 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 against >> the class? > > All child<> properties and everything on Container objects. Apologies if you had to explain this a dozen times already, but here goes my ignorant question anyway: why can't these properties be defined against the class?