vfio/pci: Setup BAR quirks after capabilities probing
commit581406e0e349be99b6c08a7a1b492af5951f9a4e
authorAlex Williamson <alex.williamson@redhat.com>
Thu, 26 May 2016 15:43:21 +0000 (26 09:43 -0600)
committerAlex Williamson <alex.williamson@redhat.com>
Thu, 26 May 2016 17:12:00 +0000 (26 11:12 -0600)
tree7e256ccc5e2963be14a8cc1a0d0391dbed1bf8de
parent182bca4592a8a6a57cdbd6889683cced78e85a03
vfio/pci: Setup BAR quirks after capabilities probing

Capability probing modifies wmask, which quirks may be interested in
changing themselves.  Apply our BAR quirks after the capability scan
to make this possible.

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