Re: [Qemu-devel] [PATCH] hw/core: fix segmentation fault

2017-04-10 Thread Peter Maydell
On 8 April 2017 at 16:05, Suramya Shah wrote: > Reproducer: > $i386-softmmu/qemu-system-i386 -S -machine isapc,accel=tcg -device amd-iommu > Segmentation fault (core dumped) > > Partial bt: > #0 bus_add_child (child=0x56d4e520, bus=0x0) at hw/core/qdev.c:88 > #1 qdev_set_parent_bus (dev=0x5

[Qemu-devel] [PATCH] hw/core: fix segmentation fault

2017-04-08 Thread Suramya Shah
Reproducer: $i386-softmmu/qemu-system-i386 -S -machine isapc,accel=tcg -device amd-iommu Segmentation fault (core dumped) Partial bt: #0 bus_add_child (child=0x56d4e520, bus=0x0) at hw/core/qdev.c:88 #1 qdev_set_parent_bus (dev=0x56d4e520, bus=bus@entry=0x0) at hw/core/qdev.c:119 Signe