Il 27/03/2012 18:28, Anthony Liguori ha scritto: > > Yes, I haven't reviewed this series yet, but my expectation would be > that realize propagates and that the default implementation of > DeviceClass::realize() would explicitly *not* propagate and instead just > call ::init. > > Likewise, unrealize() should do the same with reset().
Andreas, since this came up three times in three different threads today, I sent my series to give all objects a canonical path. With that series and yours together, you should be able to experiment with pushing qdev_init out of functions such as rtc_init, and instead just set realize=true for the root (or the /machine container added in that series). Paolo