[SeaBIOS] [RFC PATCH v2 6/6] hw/pci: add hint capabilty for additional bus reservation to pcie-root-port
Aleksandr Bezzubikov
zuban32s at gmail.com
Sun Jul 23 00:15:43 CEST 2017
Signed-off-by: Aleksandr Bezzubikov <zuban32s at gmail.com>
---
hw/pci-bridge/pcie_root_port.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/hw/pci-bridge/pcie_root_port.c b/hw/pci-bridge/pcie_root_port.c
index b0e49e1..ca92d85 100644
--- a/hw/pci-bridge/pcie_root_port.c
+++ b/hw/pci-bridge/pcie_root_port.c
@@ -106,6 +106,11 @@ static void rp_realize(PCIDevice *d, Error **errp)
pcie_aer_root_init(d);
rp_aer_vector_update(d);
+ rc = pci_bridge_help_cap_init(d, 0, p->bus_reserve, 0, 0, 0, errp);
+ if (rc < 0) {
+ goto err;
+ }
+
return;
err:
--
2.7.4
More information about the SeaBIOS
mailing list