Le 14/01/2018 à 03:04, Philippe Mathieu-Daudé a écrit : > QOM API learning curve is quite hard, in particular when devices inherit from > abstract parent. > To be more explicit about when a device class change the parent hooks, add few > helpers hoping a device class_init() will be easier to understand. > > Signed-off-by: Philippe Mathieu-Daudé <f4...@amsat.org> > --- > include/hw/qdev-core.h | 10 ++++++++++ > hw/core/qdev.c | 24 ++++++++++++++++++++++++ > 2 files changed, 34 insertions(+)
Reviewed-by: Laurent Vivier <laur...@vivier.eu>