pci: let firmware reserve IO for pcie-pci-bridge
With  patch hotplug of rtl8139 succeeds, with caveat that it
fails to initialize IO bar, which is caused by  that makes
firmware skip IO reservation for any PCIe device, which isn't
correct in case of pcie-pci-bridge.
Fix it by exposing hotplug type and making IO resource optional
only if PCIe hotplug is in use.
"pci: reserve resources for pcie-pci-bridge to fix regressed hotplug on q35"
Fixes: 76327b9f32a ("fw/pci: do not automatically allocate IO region for PCIe bridges")
Signed-off-by: Igor Mammedov email@example.com
Tested-by: Laurent Vivier <firstname.lastname@example.org>
Acked-by: Michael S. Tsirkin <email@example.com>
1 file changed