VFIO_TYPE1_IOMMU
r = ioctl(fd, VFIO_CHECK_EXTENSION, VFIO_TYPE1_IOMMU);
if (ioctl(container, VFIO_SET_IOMMU, VFIO_TYPE1_IOMMU) < 0)
case VFIO_TYPE1_IOMMU:
if ((type != VFIO_TYPE1_IOMMU && type != VFIO_TYPE1v2_IOMMU) ||
if (type == VFIO_TYPE1_IOMMU)
case VFIO_TYPE1_IOMMU:
case VFIO_TYPE1_IOMMU:
EXPECT_ERRNO(ENODEV, ioctl(self->fd, VFIO_SET_IOMMU, VFIO_TYPE1_IOMMU));
.version = VFIO_TYPE1_IOMMU,
if (variant->version == VFIO_TYPE1_IOMMU) {
if (variant->version == VFIO_TYPE1_IOMMU) {
.iommu_type = VFIO_TYPE1_IOMMU,
.iommu_type = VFIO_TYPE1_IOMMU,
if (self->iommu->mode->iommu_type == VFIO_TYPE1_IOMMU)