Received: from eggs.gnu.org ([2001:4830:134:3::10]:38821) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zgpup-0007iv-8K for qemu-devel@nongnu.org; Tue, 29 Sep 2015 04:05:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zgpuk-0003mm-Dh for qemu-devel@nongnu.org; Tue, 29 Sep 2015 04:05:35 -0400 From: Markus Armbruster References: <1443121042-3409-1-git-send-email-armbru@redhat.com> <1443121042-3409-7-git-send-email-armbru@redhat.com> <56054E5E.3090005@redhat.com> <87y4fu1t3j.fsf@blackfin.pond.sub.org> <560590A6.3030408@redhat.com> <87io6vm08l.fsf@blackfin.pond.sub.org> <560905C5.2030209@redhat.com> <87fv1ybohq.fsf@blackfin.pond.sub.org> <87lhbq1glx.fsf@blackfin.pond.sub.org> Date: Tue, 29 Sep 2015 10:05:27 +0200 In-Reply-To: (Peter Maydell's message of "Mon, 28 Sep 2015 20:40:14 +0100") Message-ID: <87d1x1sla0.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH v3 6/7] qdev: Protect device-list-properties against broken devices List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Thomas Huth , Eduardo Habkost , Peter Crosthwaite , qemu-stable , QEMU Developers , Alexander Graf , Christian Borntraeger , "qemu-ppc@nongnu.org" , Antony Pavlov , Stefan Hajnoczi , Cornelia Huck , Paolo Bonzini , Alistair Francis , Andreas =?utf-8?Q?F=C3=A4rber?= , Li Guang , Richard Henderson Peter Maydell writes: > On 28 September 2015 at 20:36, Markus Armbruster wrote: >> 1. I made device-introspection-test run "info qom-tree", which has a >> lovely propensity to crash when a crappy device left dangling pointer >> behind. This led me to "cgthree", "cuda", "integrator_debug", >> "macio-oldworld", "macio-newworld", "pxa2xx-fir", "SUNW,tcx". They >> all create memory regions without owner in their instance_init() >> method. > > I guess these are all just "oops, we forgot to pass the Object* in > instead of NULL" bugs rather than more difficult fixes. I'm leaving the actual fixing to people with a better understanding of these devices, and ability to actually test them.