Re: [Qemu-devel] [PATCH v3 3/7] qom: create objects in two phases

2015-05-12 Thread Daniel P. Berrange
On Fri, May 08, 2015 at 04:40:51PM +0200, Paolo Bonzini wrote: > > > On 08/05/2015 16:37, Andreas Färber wrote: > > Hi, > > > > Can we *please* find a better subject for this? To me, creating QOM > > objects in two phases is about instance_init vs. realize, and thus I was > > pretty upset that P

Re: [Qemu-devel] [PATCH v3 3/7] qom: create objects in two phases

2015-05-08 Thread Paolo Bonzini
On 08/05/2015 16:37, Andreas Färber wrote: > Hi, > > Can we *please* find a better subject for this? To me, creating QOM > objects in two phases is about instance_init vs. realize, and thus I was > pretty upset that Paolo dared to apply this without asking me first. Oops, sorry. I very much un

Re: [Qemu-devel] [PATCH v3 3/7] qom: create objects in two phases

2015-05-08 Thread Andreas Färber
Hi, Can we *please* find a better subject for this? To me, creating QOM objects in two phases is about instance_init vs. realize, and thus I was pretty upset that Paolo dared to apply this without asking me first. Am 01.05.2015 um 12:30 schrieb Daniel P. Berrange: > Some types of object must be c

[Qemu-devel] [PATCH v3 3/7] qom: create objects in two phases

2015-05-01 Thread Daniel P. Berrange
Some types of object must be created before chardevs, other types of object must be created after chardevs. As such there is no option but to create objects in two phases. This takes the decision to create as many object types as possible in the first phase, and only delay those which have a depen