diff options
Diffstat (limited to 'hw/pci-bridge')
-rw-r--r-- | hw/pci-bridge/gen_pcie_root_port.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/pci-bridge/gen_pcie_root_port.c b/hw/pci-bridge/gen_pcie_root_port.c index 185fd90cee..8ebffa8bb0 100644 --- a/hw/pci-bridge/gen_pcie_root_port.c +++ b/hw/pci-bridge/gen_pcie_root_port.c @@ -29,11 +29,10 @@ static int gen_rp_interrupts_init(PCIDevice *d, Error **errp) { int rc; - rc = msix_init_exclusive_bar(d, GEN_PCIE_ROOT_PORT_MSIX_NR_VECTOR, 0); + rc = msix_init_exclusive_bar(d, GEN_PCIE_ROOT_PORT_MSIX_NR_VECTOR, 0, errp); if (rc < 0) { assert(rc == -ENOTSUP); - error_setg(errp, "Unable to init msix vectors"); } else { msix_vector_use(d, 0); } |