On Fri, Jul 13, 2018 at 10:27:32AM +0200, Thomas Huth wrote: > QEMU currently crashes when introspecting the "iotkit" device and > runnint "info qtree" afterwards, e.g. when running QEMU like this: > > echo "{'execute':'qmp_capabilities'} {'execute':'device-list-properties'," \ > "'arguments':{'typename':'iotkit'}}" "{'execute': 'human-monitor-command', " > \ > "'arguments': {'command-line': 'info qtree'}}" | \ > aarch64-softmmu/qemu-system-aarch64 -M none,accel=qtest -qmp stdio > > Use the new functions object_initialize_child() and sysbus_init_child_obj() > to make sure that all objects get cleaned up correctly when the instances > are destroyed. > > Signed-off-by: Thomas Huth <th...@redhat.com>
Reviewed-by: Eduardo Habkost <ehabk...@redhat.com> -- Eduardo