|
From: | Paolo Bonzini |
Subject: | Re: Infinite loop in bus_unparent(), qdev bug or qdev misuse? |
Date: | Tue, 12 May 2020 20:43:32 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 |
On 12/05/20 17:58, Markus Armbruster wrote: > > Moving "put on qbus" from qdev_create() (and its wrappers) to > qdev_init_nofail() means we put on bus by realizing. No use to > recursive realization then, ... for qdev_init_nofail; it may still be useful to *replace* qdev_init_nofail with object_property_add_child+qdev_set_parent_bus, and do recursive realization. The bug wouldn't be hit as long as qdev_set_parent_bus is only called after object_property_add_child. Certainly not today though! Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |