Thomas Huth
b2bc349822
hw/cpu/arm11mpcore: Fix introspection problem with 'arm11mpcore_priv'
Valgrind reports an error here:
echo "{'execute':'qmp_capabilities'} {'execute':'device-list-properties'," \
"'arguments':{'typename':'arm11mpcore_priv'}}" \
"{'execute': 'human-monitor-command', " \
"'arguments': {'command-line': 'info qtree'}}" | \
valgrind -q aarch64-softmmu/qemu-system-aarch64 -M none,accel=qtest -qmp stdio
[...]
==3145== Invalid read of size 8
==3145== at 0x61873A: qdev_print (qdev-monitor.c:686)
==3145== by 0x61873A: qbus_print (qdev-monitor.c:719)
[...]
Use sysbus_init_child_obj() to fix it.
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>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 1531745974-17187-13-git-send-email-thuth@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2018-07-17 13:12:49 +01:00
..
2018-06-29 12:32:10 +02: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-07-16 17:18:42 +01:00
2018-07-17 13:12:49 +01:00
2018-07-17 13:12:49 +01:00
2018-07-02 15:41:15 +02:00
2018-07-16 11:19:10 +10:00
2018-06-26 17:50:40 +01:00
2018-07-02 15:41:14 +02:00
2018-07-03 09:56:52 +10:00
2018-07-03 09:49:20 +01: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-02 15:41:15 +02:00
2018-07-02 19:07:19 +01:00
2018-07-16 17:18:41 +01:00
2018-07-16 11:18:09 +10:00
2018-07-02 15:41:15 +02:00
2018-07-02 15:41:16 +02:00
2018-07-02 15:41:16 +02:00
2018-07-16 11:18:32 +10:00
2018-07-02 15:41:17 +02:00
2018-07-05 15:24:25 -07:00
2018-07-11 14:36:54 +02:00
2018-07-12 18:24:08 +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-07-02 15:41:14 +02: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