Now all the bricks are there, let allow VFIO/SMMUv3 use case.
Signed-off-by: Eric Auger <eric.auger@redhat.com>
---
hw/vfio/common.c | 8 --------
1 file changed, 8 deletions(-)
diff --git a/hw/vfio/common.c b/hw/vfio/common.c
index 8a2d201058..c849b084bf 100644
--- a/hw/vfio/common.c
+++ b/hw/vfio/common.c
@@ -834,17 +834,9 @@ static void vfio_listener_region_add(MemoryListener *listener,
IOMMUNotify notify;
VFIOGuestIOMMU *giommu;
IOMMUMemoryRegion *iommu_mr = IOMMU_MEMORY_REGION(section->mr);
- bool nested;
int iommu_idx, flags;
trace_vfio_listener_region_add_iommu(iova, end);
-
- if (!memory_region_iommu_get_attr(iommu_mr, IOMMU_ATTR_VFIO_NESTED,
- (void *)&nested) && nested) {
- error_report("VFIO/vIOMMU integration based on HW nested paging "
- "is not yet supported");
- abort();
- }
/*
* FIXME: For VFIO iommu types which have KVM acceleration to
* avoid bouncing all map/unmaps through qemu this way, this
--
2.20.1