This is based on Thomas's work fixing introspection problems [1] and applied to the RISC-V port.
1: https://lists.gnu.org/archive/html/qemu-devel/2018-07/msg03261.html Alistair Francis (5): sifive_e: Fix crash when introspecting the device sifive_u: Fix crash when introspecting the device virt: Fix crash when introspecting the device riscv_hart: Fix crash when introspecting the device spike: Fix crash when introspecting the device hw/riscv/riscv_hart.c | 7 +++---- hw/riscv/sifive_e.c | 12 ++++++------ hw/riscv/sifive_u.c | 15 +++++++-------- hw/riscv/spike.c | 10 ++++------ hw/riscv/virt.c | 5 ++--- 5 files changed, 22 insertions(+), 27 deletions(-) -- 2.17.1