Marcel Apfelbaum <marce...@redhat.com> writes:

> Scenario:
>   - There is a non multifunction pci device A on 00:0X.0.
>   - Hot-plug another multifunction pci device B at 00:0X.1.
>   - The operation will fail of course.
>   - Try to hot-plug the B device 2-3 more times, qemu will crash.
>
> Reason: The error flow leaves the B's address space into global address spaces
> list, but the device object is freed. Fixed that.
>
> Signed-off-by: Marcel Apfelbaum <marce...@redhat.com>

Looks good to me, but I'm not a PCI expert.

Reply via email to