Thomas Huth
7b6d7b84da
hw/microblaze/xlnx-zynqmp-pmu: Fix introspection problem in 'xlnx, zynqmp-pmu-soc'
Valgrind complains:
echo "{'execute':'qmp_capabilities'} {'execute':'device-list-properties'," \
"'arguments':{'typename':'xlnx,zynqmp-pmu-soc'}}" \
"{'execute': 'human-monitor-command', " \
"'arguments': {'command-line': 'info qtree'}}" | \
valgrind -q microblazeel-softmmu/qemu-system-microblazeel -M none,accel=qtest -qmp stdio
[...]
==13605== Invalid read of size 8
==13605== at 0x2AC69A: qdev_print (qdev-monitor.c:686)
==13605== by 0x2AC69A: qbus_print (qdev-monitor.c:719)
==13605== by 0x2591E8: handle_hmp_command (monitor.c:3446)
Use the new object_initialize_child() and sysbus_init_child_obj() to
fix the issue.
Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Message-id: 1531839343-13828-1-git-send-email-thuth@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2018-07-23 15:21:25 +01:00
..
2018-06-29 12:32:10 +02:00
2018-06-11 22:19:57 +03:00
2018-02-09 13:50:17 +01:00
2018-07-02 15:41:14 +02:00
2018-07-17 13:12:49 +01:00
2018-07-03 11:45:33 +02:00
2018-07-10 14:36:12 +02:00
2018-01-22 09:51:00 +01:00
2018-07-17 17:06:32 +01:00
2018-07-17 17:06:32 +01:00
2018-07-17 13:12:49 +01:00
2018-07-02 15:41:15 +02:00
2018-07-17 13:12:49 +01:00
2018-06-26 17:50:40 +01:00
2018-06-01 15:14:31 +02:00
2018-07-02 15:41:14 +02:00
2018-07-03 09:56:52 +10:00
2018-07-17 16:24:50 +02:00
2018-07-10 14:36:11 +02:00
2018-06-29 15:04:18 +01:00
2018-07-17 13:12:49 +01:00
2018-07-02 15:41:12 +02:00
2018-06-12 12:07:30 +02:00
2018-06-16 19:46:54 -10:00
2018-07-02 15:41:15 +02:00
2018-07-02 15:41:14 +02:00
2018-06-28 19:05:34 +02:00
2018-07-23 15:21:25 +01:00
2018-07-02 19:07:19 +01:00
2018-07-17 17:06:32 +01:00
2018-04-26 13:57:00 +01:00
2018-07-20 08:30:48 +08:00
2018-07-02 15:41:15 +02:00
2018-07-02 15:41:16 +02:00
2018-04-26 13:57:00 +01:00
2018-03-20 15:48:34 +00:00
2018-02-13 16:33:31 +00:00
2018-07-02 15:41:16 +02:00
2016-01-29 15:07:25 +00:00
2018-07-16 11:18:32 +10:00
2018-07-02 15:41:17 +02:00
2018-07-19 09:05:48 -07:00
2018-07-11 14:36:54 +02:00
2018-07-16 16:58:16 +02:00
2018-07-09 14:51:34 +01:00
2018-07-02 15:41:15 +02:00
2018-07-02 15:41:12 +02:00
2018-07-02 19:07:19 +01:00
2018-07-02 19:07:19 +01:00
2018-06-26 17:50:40 +01:00
2018-07-09 14:51:34 +01:00
2018-05-24 12:07:04 -04:00
2018-07-02 15:41:14 +02:00
2018-03-12 16:12:48 +01:00
2018-07-10 14:36:11 +02:00
2018-07-11 13:43:57 -06:00
2018-06-28 04:46:16 +03:00
2018-06-15 15:23:34 +01:00
2018-06-22 13:28:42 +01:00
2018-07-02 15:41:13 +02:00
2018-07-02 15:41:14 +02:00
2018-06-01 15:14:31 +02:00