|
From: | Paolo Bonzini |
Subject: | Re: [PATCH 03/55] qdev: New qdev_new(), qdev_realize(), etc. |
Date: | Mon, 25 May 2020 08:40:39 +0200 |
> I think we should move the whole /machine/unattached dance into
> qdev_realize, and just assert that a device being realized already has a
> parent. Then the ref/unref _will_ be unnecessary. In the meanwhile, I
> agree to either keep it or move it inside device_set_realized.
Could be done on top. I might try for v2, if I can find the time.
[Prev in Thread] | Current Thread | [Next in Thread] |