diff options
| author | Alistair Francis <alistair.francis@wdc.com> | 2018-07-16 15:30:47 -0700 |
|---|---|---|
| committer | Alistair Francis <alistair.francis@wdc.com> | 2018-07-19 09:05:48 -0700 |
| commit | a993cb150f228fc5cfee128c44ffb06bf285e7ea (patch) | |
| tree | bf36a8cdd2353b4bae6b210a2f6aca837c409f6b /hw/riscv/riscv_hart.c | |
| parent | 4eea9d7deb2332c9010ddea9dcd8680adad1bfed (diff) | |
| download | focaccia-qemu-a993cb150f228fc5cfee128c44ffb06bf285e7ea.tar.gz focaccia-qemu-a993cb150f228fc5cfee128c44ffb06bf285e7ea.zip | |
virt: Fix crash when introspecting the device
Use the new object_initialize_child() and sysbus_init_child_obj() to fix the issue. Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Suggested-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Michael Clark <mjc@sifive.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Diffstat (limited to 'hw/riscv/riscv_hart.c')
0 files changed, 0 insertions, 0 deletions