diff options
| author | Thomas Huth | 2018-07-23 16:21:25 +0200 |
|---|---|---|
| committer | Peter Maydell | 2018-07-23 16:21:25 +0200 |
| commit | 7b6d7b84da328d5d1fffb862b8388d511e085812 (patch) | |
| tree | e34852e30f46aefcde5d6520af70f41334102d71 /include/exec/exec-all.h | |
| parent | Merge remote-tracking branch 'remotes/vivier2/tags/linux-user-for-3.0-pull-re... (diff) | |
| download | qemu-7b6d7b84da328d5d1fffb862b8388d511e085812.tar.gz qemu-7b6d7b84da328d5d1fffb862b8388d511e085812.tar.xz qemu-7b6d7b84da328d5d1fffb862b8388d511e085812.zip | |
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>
Diffstat (limited to 'include/exec/exec-all.h')
0 files changed, 0 insertions, 0 deletions
