On 2012-01-24 21:21, Anthony Liguori wrote: >> Also, I see a lot of programmatic initialization and a lot of repeating >> patterns (specifically regarding trivial class initialization) - there >> is no better alternative? > > Not really, no. It looks bad now because you have DeviceInfo still. > Once DeviceInfo goes away, all of the initialization will happen in the > class_init function. > > The design of QOM is such that a lot of what was previously done via > declarative structures is now done imperatively. But the code bloat > that came in this patch series will decrease significantly with the next > series as we eliminate DeviceInfo. Are there examples of fully converted devices to get an impression? Jan