Re: [PATCH v4 07/15] vfio/common: Track whether DMA Translation is enabled on the vIOMMU

2023-10-06 Thread Eric Auger
Hi Joao, On 6/22/23 23:48, Joao Martins wrote: > vfio_get_group() allocates and fills the group/container/space on > success which will store the AddressSpace inside the VFIOSpace struct. VFIOAddressSpace > Use the newly added pci_device_iommu_get_attr() to see if DMA > translation is enabled or n

Re: [PATCH v4 07/15] vfio/common: Track whether DMA Translation is enabled on the vIOMMU

2023-07-10 Thread Joao Martins
On 09/07/2023 16:10, Avihai Horon wrote: > On 23/06/2023 0:48, Joao Martins wrote: >> vfio_get_group() allocates and fills the group/container/space on >> success which will store the AddressSpace inside the VFIOSpace struct. >> Use the newly added pci_device_iommu_get_attr() to see if DMA >> trans

Re: [PATCH v4 07/15] vfio/common: Track whether DMA Translation is enabled on the vIOMMU

2023-07-09 Thread Avihai Horon
On 23/06/2023 0:48, Joao Martins wrote: External email: Use caution opening links or attachments vfio_get_group() allocates and fills the group/container/space on success which will store the AddressSpace inside the VFIOSpace struct. Use the newly added pci_device_iommu_get_attr() to see if D

[PATCH v4 07/15] vfio/common: Track whether DMA Translation is enabled on the vIOMMU

2023-06-22 Thread Joao Martins
vfio_get_group() allocates and fills the group/container/space on success which will store the AddressSpace inside the VFIOSpace struct. Use the newly added pci_device_iommu_get_attr() to see if DMA translation is enabled or not. Assume that by default it is enabled. Today, this means only intel-i