commit | a993cb150f228fc5cfee128c44ffb06bf285e7ea | [log] [tgz] |
---|---|---|
author | Alistair Francis <alistair.francis@wdc.com> | Mon Jul 16 15:30:47 2018 -0700 |
committer | Alistair Francis <alistair.francis@wdc.com> | Thu Jul 19 09:05:48 2018 -0700 |
tree | bf36a8cdd2353b4bae6b210a2f6aca837c409f6b | |
parent | 4eea9d7deb2332c9010ddea9dcd8680adad1bfed [diff] |
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>