|
From: | Paolo Bonzini |
Subject: | Re: [Qemu-devel] [PATCH] hw/arm/bcm283x: Fix crash with device_add bcm2837 on unsupported machines |
Date: | Wed, 11 Jul 2018 19:21:08 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 |
On 10/07/2018 08:50, Peter Maydell wrote: >>> Yuck. The real problem here is that we're still requiring the >>> code that creates these QOM devices to manually set the parent >>> in the first place. It's not surprising that we don't get it right >>> (either parenting in the wrong place or not at all). I'd much >>> rather see us fix that properly than keep papering over places >>> where we get it wrong. >> Sorry, I'm still not an expert in all this QOM stuff yet ... so what do >> you exactly recommend to do instead? > I'm not clear either, but I don't think that what we're > currently doing can be right. Well, in theory it should work... I sent the expected flow in another email. Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |