On 14/01/2018 03:04, Philippe Mathieu-Daudé wrote: > Hi, > > Learning how to implement QOM devices I found the pattern changing parent > hooks > when the parent is abstract not trivial to understand. > > This series add few helpers to have this pattern more explicit. > > Those functions deserve some comments, but before spending more time I'd like > to get some feedbacks if this might be useful or not. > If so, I can split the 3rd patch in many patches for each subsystem > maintainers. > > This can also be use for the CPUClass->reset() method, dunno if useful but > maybe to be consistent.
Queued, thanks. Paolo