Alistair Francis a993cb150f 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>
2018-07-19 09:05:48 -07:00
..
2018-07-03 11:45:33 +02:00
2018-07-17 17:06:32 +01:00
2018-07-17 17:06:32 +01:00
2018-07-02 19:07:19 +01:00
2018-07-17 17:06:32 +01:00
2018-07-16 11:18:09 +10:00
2018-07-02 19:07:19 +01:00
2018-07-02 19:07:19 +01:00
2018-06-01 15:14:31 +02:00