Re: [Qemu-devel] [PATCH] hw/pci: fix crash on shpc error flow

2014-11-05 Thread Amos Kong
On Wed, Nov 05, 2014 at 04:29:35PM +0200, Marcel Apfelbaum wrote: > If the pci bridge enters in error flow as part > of init process it will only delete the shpc mmio > subregion but not remove it from the properties list, > resulting in segmentation fault when the bridge runs > the exit function.

[Qemu-devel] [PATCH] hw/pci: fix crash on shpc error flow

2014-11-05 Thread Marcel Apfelbaum
If the pci bridge enters in error flow as part of init process it will only delete the shpc mmio subregion but not remove it from the properties list, resulting in segmentation fault when the bridge runs the exit function. Example: add a pci bridge without specifing the chassis number: ... -d