qemu-e2k/hw/vfio
Alex Williamson 056dfcb695 vfio/pci: Cleanup ROM blacklist quirk
Create a vendor:device ID helper that we'll also use as we rework the
rest of the quirks.  Re-reading the config entries, even if we get
more blacklist entries, is trivial overhead and only incurred during
device setup.  There's no need to typedef the blacklist structure,
it's a static private data type used once.  The elements get bumped
up to uint32_t to avoid future maintenance issues if PCI_ANY_ID gets
used for a blacklist entry (avoiding an actual hardware match).  Our
test loop is also crying out to be simplified as a for loop.

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
2015-09-23 13:04:45 -06:00
..
Makefile.objs vfio/pci: Split quirks to a separate file 2015-09-23 13:04:45 -06:00
calxeda-xgmac.c hw/vfio/platform: calxeda xgmac device 2015-06-09 08:17:17 -06:00
common.c vfio: Change polarity of our no-mmap option 2015-09-23 13:04:44 -06:00
pci-quirks.c vfio/pci: Cleanup ROM blacklist quirk 2015-09-23 13:04:45 -06:00
pci.c vfio/pci: Split quirks to a separate file 2015-09-23 13:04:45 -06:00
pci.h vfio/pci: Cleanup ROM blacklist quirk 2015-09-23 13:04:45 -06:00
platform.c vfio: Change polarity of our no-mmap option 2015-09-23 13:04:44 -06:00