diff options
| author | Thomas Huth | 2018-07-16 14:59:27 +0200 |
|---|---|---|
| committer | Peter Maydell | 2018-07-17 14:12:49 +0200 |
| commit | 51dd12ac0e0c7c3cc95e2d97311a34a3329c13f3 (patch) | |
| tree | 2ec4ffb211c58446c0a3dae3167449e279671618 /scripts/switch-timer-api | |
| parent | hw/arm/fsl-imx7: Fix introspection problems with the "fsl, imx7" device (diff) | |
| download | qemu-51dd12ac0e0c7c3cc95e2d97311a34a3329c13f3.tar.gz qemu-51dd12ac0e0c7c3cc95e2d97311a34a3329c13f3.tar.xz qemu-51dd12ac0e0c7c3cc95e2d97311a34a3329c13f3.zip | |
hw/arm/fsl-imx25: Fix introspection problem with the "fsl, imx25" device
Running QEMU with valgrind indicates a problem here:
echo "{'execute':'qmp_capabilities'} {'execute':'device-list-properties'," \
"'arguments':{'typename':'fsl,imx25'}}" \
"{'execute': 'human-monitor-command', " \
"'arguments': {'command-line': 'info qtree'}}" | \
valgrind -q aarch64-softmmu/qemu-system-aarch64 -M none,accel=qtest -qmp stdio
[...]
==26724== Invalid read of size 8
==26724== at 0x6190DA: qdev_print (qdev-monitor.c:686)
==26724== by 0x6190DA: qbus_print (qdev-monitor.c:719)
[...]
Use the new sysbus_init_child_obj() to make sure that the objects are
cleaned up correctly when the parent gets destroyed.
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-11-git-send-email-thuth@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'scripts/switch-timer-api')
0 files changed, 0 insertions, 0 deletions
