qemu/hw/vfio
Alex Williamson 8c4f234853 vfio/pci: Foundation for new quirk structure
VFIOQuirk hosts a single memory region and a fixed set of data fields
that try to handle all the quirk cases, but end up making those that
don't exactly match really confusing.  This patch introduces a struct
intended to provide more flexibility and simpler code.  VFIOQuirk is
stripped to its basics, an opaque data pointer for quirk specific
data and a pointer to an array of MemoryRegions with a counter.  This
still allows us to have common teardown routines, but adds much
greater flexibility to support multiple memory regions and quirk
specific data structures that are easier to maintain.  The existing
VFIOQuirk is transformed into VFIOLegacyQuirk, which further patches
will eliminate entirely.

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
2015-09-23 13:04:46 -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
Makefile.objs vfio/pci: Split quirks to a separate file 2015-09-23 13:04:45 -06:00
pci-quirks.c vfio/pci: Foundation for new quirk structure 2015-09-23 13:04:46 -06:00
pci.c vfio/pci: Split quirks to a separate file 2015-09-23 13:04:45 -06:00
pci.h vfio/pci: Foundation for new quirk structure 2015-09-23 13:04:46 -06:00
platform.c vfio: Change polarity of our no-mmap option 2015-09-23 13:04:44 -06:00