Re: [Qemu-devel] [PATCH 2/4] qdev: add children before qdev_init

2012-03-27 Thread Anthony Liguori
On 03/27/2012 11:38 AM, Paolo Bonzini wrote: We want the composition tree to to be in order by the time we call qdev_init, so that a single set of the toplevel realize property can propagate all the way down the composition tree. This is not the case so far. Unfortunately, this is incompatible

[Qemu-devel] [PATCH 2/4] qdev: add children before qdev_init

2012-03-27 Thread Paolo Bonzini
We want the composition tree to to be in order by the time we call qdev_init, so that a single set of the toplevel realize property can propagate all the way down the composition tree. This is not the case so far. Unfortunately, this is incompatible with calling qdev_init in the constructor wrapp