|
From: | Gerd Hoffmann |
Subject: | Re: [PATCH 03/55] qdev: New qdev_new(), qdev_realize(), etc. |
Date: | Wed, 20 May 2020 10:49:41 +0200 |
> 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 <address@hidden>
[Prev in Thread] | Current Thread | [Next in Thread] |