On Tue, 30 Jan 2024 at 19:03, Philippe Mathieu-Daudé <phi...@linaro.org> wrote: > > QDev objects created with qdev_new() need to manually add > their parent relationship with object_property_add_child(). > > Since we don't model the SoC, just use a QOM container. > > Signed-off-by: Philippe Mathieu-Daudé <phi...@linaro.org> > ---
Ah, this is where the other qdev_new() calls are sorted. Reviewed-by: Peter Maydell <peter.mayd...@linaro.org> I wonder if we should add a variant on qdev_new() that you can pass in the parent object to? thanks -- PMM