/qemu/backends/ |
H A D | trace-events | 9 # iommufd.c 13 …mmufd_backend_map_dma(int iommufd, uint32_t ioas, uint64_t iova, uint64_t size, void *vaddr, bool … 14 …nd_unmap_dma_non_exist(int iommufd, uint32_t ioas, uint64_t iova, uint64_t size, int ret) " Unmap … 15 iommufd_backend_unmap_dma(int iommufd, uint32_t ioas, uint64_t iova, uint64_t size, int ret) " iomm… 16 iommufd_backend_alloc_ioas(int iommufd, uint32_t ioas) " iommufd=%d ioas=%d" 17 … iommufd, uint32_t dev_id, uint32_t pt_id, uint32_t flags, uint32_t hwpt_type, uint32_t len, uint6… 18 iommufd_backend_free_id(int iommufd, uint32_t id, int ret) " iommufd=%d id=%d (%d)" 19 iommufd_backend_set_dirty(int iommufd, uint32_t hwpt_id, bool start, int ret) " iommufd=%d hwpt=%u … 20 …backend_get_dirty_bitmap(int iommufd, uint32_t hwpt_id, uint64_t iova, uint64_t size, uint64_t pag…
|
H A D | meson.build | 29 system_ss.add(when: 'CONFIG_IOMMUFD', if_true: files('iommufd.c'))
|
/qemu/docs/devel/ |
H A D | vfio-iommufd.rst | 10 the new iommufd interface is device-centric, relying on device fd and iommufd. 38 | iommufd | | vfio legacy | 62 - iommufd BE: uses device fd and iommufd to setup secure context 76 * iommufd BE: uses iommufd 95 named iommufd which allows to pass an iommufd object. Take ``vfio-pci`` 100 -object iommufd,id=iommufd0 101 -device vfio-pci,host=0000:02:00.0,iommufd=iommufd0 109 -object iommufd,id=iommufd0,fd=22 110 -device vfio-pci,iommufd=iommufd0,fd=23 114 If no ``iommufd`` object is passed to the ``vfio-pci`` device, iommufd [all …]
|
H A D | index-internals.rst | 21 vfio-iommufd
|
/qemu/hw/vfio/ |
H A D | iommufd.c | 69 IOMMUFDBackend *iommufd = vbasedev->iommufd; in iommufd_cdev_connect_and_bind() local 75 if (!iommufd_backend_connect(iommufd, errp)) { in iommufd_cdev_connect_and_bind() 89 bind.iommufd = iommufd->fd; in iommufd_cdev_connect_and_bind() 92 vbasedev->fd, bind.iommufd); in iommufd_cdev_connect_and_bind() 103 iommufd_backend_disconnect(iommufd); in iommufd_cdev_connect_and_bind() 111 iommufd_backend_disconnect(vbasedev->iommufd); in iommufd_cdev_unbind_and_disconnect() 241 int iommufd = vbasedev->iommufd->fd; in iommufd_cdev_attach_ioas_hwpt() local 263 int iommufd = vbasedev->iommufd->fd; in iommufd_cdev_detach_ioas_hwpt() local 283 IOMMUFDBackend *iommufd = vbasedev->iommufd; in iommufd_cdev_autodomains_get() local 506 vbasedev->iommufd != container->be) { in iommufd_cdev_attach() [all …]
|
H A D | trace-events | 170 #iommufd.c 172 iommufd_cdev_connect_and_bind(int iommufd, const char *name, int devfd, int devid) " [iommufd=%d] S… 174 iommufd_cdev_attach_ioas_hwpt(int iommufd, const char *name, int devfd, int id) " [iommufd=%d] Succ… 175 iommufd_cdev_detach_ioas_hwpt(int iommufd, const char *name) " [iommufd=%d] Successfully detached %… 177 iommufd_cdev_alloc_ioas(int iommufd, int ioas_id) " [iommufd=%d] new IOMMUFD container with ioasid=…
|
H A D | meson.build | 12 'iommufd.c',
|
H A D | ap.c | 197 DEFINE_PROP_LINK("iommufd", VFIOAPDevice, vdev.iommufd,
|
H A D | platform.c | 640 DEFINE_PROP_LINK("iommufd", VFIOPlatformDevice, vbasedev.iommufd,
|
H A D | ccw.c | 662 DEFINE_PROP_LINK("iommufd", VFIOCCWDevice, vdev.iommufd,
|
H A D | helpers.c | 651 if (!vbasedev->iommufd) { in vfio_device_get_name()
|
H A D | common.c | 1545 if (vbasedev->iommufd) { in vfio_attach_device()
|
H A D | pci.c | 3408 DEFINE_PROP_LINK("iommufd", VFIOPCIDevice, vbasedev.iommufd,
|
/qemu/scripts/ |
H A D | update-linux-headers.sh | 203 vduse.h iommufd.h bits.h; do
|
/qemu/include/hw/vfio/ |
H A D | vfio-common.h | 147 IOMMUFDBackend *iommufd; member
|
/qemu/linux-headers/linux/ |
H A D | vfio.h | 924 __s32 iommufd; member
|
/qemu/qapi/ |
H A D | qom.json | 819 # Properties for iommufd objects. 823 # iommufd object to be shared across several subsystems (VFIO, 1109 'iommufd', 1184 'iommufd': 'IOMMUFDProperties',
|
/qemu/ |
H A D | MAINTAINERS | 2177 iommufd 2182 F: backends/iommufd.c 2183 F: include/sysemu/iommufd.h 2188 F: docs/devel/vfio-iommufd.rst
|
H A D | qemu-options.hx | 5410 ``-object iommufd,id=id[,fd=fd]`` 5411 Creates an iommufd backend which allows control of DMA mapping 5415 vfio-pci of vdpa) will use to connect with the iommufd backend. 5418 resulting from ``/dev/iommu`` opening. Usually the iommufd is shared
|