On 12.07.2018 14:06, Markus Armbruster wrote: > Peter Maydell <peter.mayd...@linaro.org> writes: > >> On 11 July 2018 at 17:12, Eduardo Habkost <ehabk...@redhat.com> wrote: >>> On Wed, Jul 11, 2018 at 09:21:48AM +0200, Thomas Huth wrote: >>>> Hm, ok, so how to continue here now? Shall we at least mark the >>>> bcm2836/7 devices with user_creatable=false, so that users can not crash >>>> their QEMU so easily with device_add? The problem with introspection via >>>> device-list-properties would still continue to exist, but I think that's >>>> less likely used in practice... otherwise we could still move the >>>> qdev_set_parent_bus() calls to the realize() function instead, and just >>>> add a big fat FIXME comment in front of the code block, so that we >>>> remember to clean that up one day... >>> >>> Crashing device-list-properties should be a blocker bug, IMO. > > Seconded.
Well, maybe I should then not suggest to add a hmp("info qtree") below the hmp("info qom-tree") in test_one_device() of tests/device-introspect-test.c ... otherwise we'll be quite busy in the next weeks... Thomas