vfio/pci: Allow MSI-X relocation to fixup bogus PBA
commitc60807dea5930a402b77172da17e79b26f1af48b
authorAlex Williamson <alex.williamson@redhat.com>
Thu, 13 Jun 2019 15:57:36 +0000 (13 09:57 -0600)
committerAlex Williamson <alex.williamson@redhat.com>
Thu, 13 Jun 2019 15:57:36 +0000 (13 09:57 -0600)
tree4c3eedfac27edab6cbea2c1ff0fb078adb1cf783
parent3412d8ec9810b819f8b79e8e0c6b87217c876e32
vfio/pci: Allow MSI-X relocation to fixup bogus PBA

The MSI-X relocation code can sometimes be used to work around bogus
MSI-X capabilities, but this test for whether the PBA is outside of
the specified BAR causes the device to error before we can apply a
relocation.  Let it proceed if we intend to relocate MSI-X anyway.

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
hw/vfio/pci.c