qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH RFC 1/7] qom: allow properties to be registered


From: Andreas Färber
Subject: Re: [Qemu-devel] [PATCH RFC 1/7] qom: allow properties to be registered against classes
Date: Thu, 3 Sep 2015 18:41:21 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0

Am 03.09.2015 um 18:37 schrieb Markus Armbruster:
> "Daniel P. Berrange" <address@hidden> writes:
>> On Wed, Sep 02, 2015 at 06:18:28PM +0200, Andreas Färber 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 properties
>> 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.
> 
> I remember Anthony's assertion that this is the case, but I don't
> remember the actual problems where this is actually the case.
> 
> What properties do we currently define that could not be defined against
> the class?

All child<> properties and everything on Container objects.

Cheers,
Andreas

-- 
SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Jane Smithard, Graham Norton; HRB 21284 (AG Nürnberg)



reply via email to

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