diff options
author | Alexey Kardashevskiy | 2017-12-13 18:19:33 +0100 |
---|---|---|
committer | Alex Williamson | 2017-12-13 18:19:33 +0100 |
commit | c6e7958eb76ed267f7254b97f89773874df50e48 (patch) | |
tree | a78734e22b18cf42d25e0c9cb6cd7476a1d77a9c /linux-headers/linux/vfio.h | |
parent | vfio/common: init giommu_list and hostwin_list of vfio container (diff) | |
download | qemu-c6e7958eb76ed267f7254b97f89773874df50e48.tar.gz qemu-c6e7958eb76ed267f7254b97f89773874df50e48.tar.xz qemu-c6e7958eb76ed267f7254b97f89773874df50e48.zip |
vfio/spapr: Allow fallback to SPAPR TCE IOMMU v1
The vfio_iommu_spapr_tce driver advertises kernel's support for
v1 and v2 IOMMU support, however it is not always possible to use
the requested IOMMU type. For example, a pseries host platform does not
support dynamic DMA windows so v2 cannot initialize and QEMU fails to
start.
This adds a fallback to the v1 IOMMU if v2 cannot be used.
Fixes: 318f67ce1371 ("vfio: spapr: Add DMA memory preregistering (SPAPR IOMMU v2)")
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'linux-headers/linux/vfio.h')
0 files changed, 0 insertions, 0 deletions