Skip to content
  • Alex Williamson's avatar
    vfio: If an IOMMU backend fails, keep looking · 7c435b46
    Alex Williamson authored
    
    
    Consider an IOMMU to be an API rather than an implementation, we might
    have multiple implementations supporting the same API, so try another
    if one fails.  The expectation here is that we'll really only have
    one implementation per device type.  For instance the existing type1
    driver works with any PCI device where the IOMMU API is available.  A
    vGPU vendor may have a virtual PCI device which provides DMA isolation
    and mapping through other mechanisms, but can re-use userspaces that
    make use of the type1 VFIO IOMMU API.  This allows that to work.
    
    Signed-off-by: default avatarAlex Williamson <alex.williamson@redhat.com>
    7c435b46