Marcel Apfelbaum <[email protected]> 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 <[email protected]>
Looks good to me, but I'm not a PCI expert.
