[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC 15/18] vfio/iommufd: Implement iommufd backend
From: |
Alex Williamson |
Subject: |
Re: [RFC 15/18] vfio/iommufd: Implement iommufd backend |
Date: |
Fri, 22 Apr 2022 15:33:30 -0600 |
On Fri, 22 Apr 2022 11:58:15 -0300
Jason Gunthorpe <jgg@nvidia.com> wrote:
>
> I don't see IOMMU_IOAS_IOVA_RANGES called at all, that seems like a
> problem..
Not as much as you might think. Note that you also won't find QEMU
testing VFIO_IOMMU_TYPE1_INFO_CAP_IOVA_RANGE in the QEMU vfio-pci
driver either. The vfio-nvme driver does because it has control of the
address space it chooses to use, but for vfio-pci the address space is
dictated by the VM and there's not a lot of difference between knowing
in advance that a mapping conflicts with a reserved range or just
trying add the mapping and taking appropriate action if it fails.
Thanks,
Alex
- [RFC 06/18] vfio/common: Split common.c into common.c, container.c and as.c, (continued)
- [RFC 06/18] vfio/common: Split common.c into common.c, container.c and as.c, Yi Liu, 2022/04/14
- [RFC 09/18] vfio/platform: Use vfio_[attach/detach]_device, Yi Liu, 2022/04/14
- [RFC 10/18] vfio/ap: Use vfio_[attach/detach]_device, Yi Liu, 2022/04/14
- [RFC 07/18] vfio: Add base object for VFIOContainer, Yi Liu, 2022/04/14
- [RFC 11/18] vfio/ccw: Use vfio_[attach/detach]_device, Yi Liu, 2022/04/14
- [RFC 13/18] vfio/container-obj: Introduce VFIOContainer reset callback, Yi Liu, 2022/04/14
- [RFC 12/18] vfio/container-obj: Introduce [attach/detach]_device container callbacks, Yi Liu, 2022/04/14
- [RFC 14/18] hw/iommufd: Creation, Yi Liu, 2022/04/14
- [RFC 15/18] vfio/iommufd: Implement iommufd backend, Yi Liu, 2022/04/14
- Re: [RFC 15/18] vfio/iommufd: Implement iommufd backend, Jason Gunthorpe, 2022/04/22
- Re: [RFC 15/18] vfio/iommufd: Implement iommufd backend,
Alex Williamson <=
- Re: [RFC 15/18] vfio/iommufd: Implement iommufd backend, Yi Liu, 2022/04/26
- RE: [RFC 15/18] vfio/iommufd: Implement iommufd backend, Tian, Kevin, 2022/04/26
- Re: [RFC 15/18] vfio/iommufd: Implement iommufd backend, Jason Gunthorpe, 2022/04/26
- Re: [RFC 15/18] vfio/iommufd: Implement iommufd backend, Yi Liu, 2022/04/26
- Re: [RFC 15/18] vfio/iommufd: Implement iommufd backend, Jason Gunthorpe, 2022/04/26
- Re: [RFC 15/18] vfio/iommufd: Implement iommufd backend, Alex Williamson, 2022/04/26
- Re: [RFC 15/18] vfio/iommufd: Implement iommufd backend, Jason Gunthorpe, 2022/04/26
- Re: [RFC 15/18] vfio/iommufd: Implement iommufd backend, Alex Williamson, 2022/04/26
- Re: [RFC 15/18] vfio/iommufd: Implement iommufd backend, Jason Gunthorpe, 2022/04/26
- Re: [RFC 15/18] vfio/iommufd: Implement iommufd backend, Jason Gunthorpe, 2022/04/26