> This commit creates infrastructure to do this:
> 
>     dev = qdev_new(type_name);
>     ...
>     qdev_realize_and_unref(dev, bus, errp)

Note that this also allows to solve some initialization order issues,
specifically you can easily create devices (then do object operations
like adding/aliasing properties) before the bus is created.

Acked-by: Gerd Hoffmann <kra...@redhat.com>


Reply via email to