]> Git Repo - qemu.git/blobdiff - hw/vfio/pci.c
vfio/pci: Allow MSI-X relocation to fixup bogus PBA
[qemu.git] / hw / vfio / pci.c
index 48f4e19a02cf78395134064f1496c9c848afe828..6520c05dee9213f2f3e6e5a78bfc51de04bf14c1 100644 (file)
@@ -1533,7 +1533,7 @@ static void vfio_msix_early_setup(VFIOPCIDevice *vdev, Error **errp)
         if (vdev->vendor_id == PCI_VENDOR_ID_CHELSIO &&
             (vdev->device_id & 0xff00) == 0x5800) {
             msix->pba_offset = 0x1000;
-        } else {
+        } else if (vdev->msix_relo == OFF_AUTOPCIBAR_OFF) {
             error_setg(errp, "hardware reports invalid configuration, "
                        "MSIX PBA outside of specified BAR");
             g_free(msix);
This page took 0.024163 seconds and 4 git commands to generate.