summaryrefslogtreecommitdiffstats
path: root/hw/misc/hyperv_testdev.c
diff options
context:
space:
mode:
authorThomas Huth2018-07-16 14:59:31 +0200
committerPeter Maydell2018-07-17 14:12:49 +0200
commitcf3fccfa8c3ade3da058b3eac09fc1bbaa1ce648 (patch)
tree7d74e44b53e8f08141d3226a8edaffd4c8f69d23 /hw/misc/hyperv_testdev.c
parenthw/*/realview: Fix introspection problem with 'realview_mpcore' & 'realview_gic' (diff)
downloadqemu-cf3fccfa8c3ade3da058b3eac09fc1bbaa1ce648.tar.gz
qemu-cf3fccfa8c3ade3da058b3eac09fc1bbaa1ce648.tar.xz
qemu-cf3fccfa8c3ade3da058b3eac09fc1bbaa1ce648.zip
hw/arm/allwinner-a10: Fix introspection problem with 'allwinner-a10'
Valgrind complains: echo "{'execute':'qmp_capabilities'} {'execute':'device-list-properties'," \ "'arguments':{'typename':'allwinner-a10'}}" \ "{'execute': 'human-monitor-command', " \ "'arguments': {'command-line': 'info qtree'}}" | \ valgrind -q aarch64-softmmu/qemu-system-aarch64 -M none,accel=qtest -qmp stdio [...] ==32519== Invalid read of size 8 ==32519== at 0x61869A: qdev_print (qdev-monitor.c:686) ==32519== by 0x61869A: qbus_print (qdev-monitor.c:719) ==32519== by 0x452B38: handle_hmp_command (monitor.c:3446) [...] Use object_initialize_child() and sysbus_init_child_obj() to fix the issue. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Eduardo Habkost <ehabkost@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com> Message-id: 1531745974-17187-15-git-send-email-thuth@redhat.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/misc/hyperv_testdev.c')
0 files changed, 0 insertions, 0 deletions