hw/vfio/pci-quirks.h | 72 ++++++++++++++++++++++++ include/hw/vfio/vfio-common.h | 1 + include/qapi/error.h | 12 ++++ backends/iommufd.c | 3 - hw/vfio/common.c | 40 +++++++++---- hw/vfio/container.c | 2 - hw/vfio/helpers.c | 10 ++++ hw/vfio/igd.c | 127 +++++++++++------------------------------- hw/vfio/iommufd.c | 5 +- hw/vfio/pci-quirks.c | 57 ++----------------- hw/vfio/pci.c | 2 +- util/error.c | 11 ++++ 12 files changed, 177 insertions(+), 165 deletions(-) create mode 100644 hw/vfio/pci-quirks.h