Re: [PATCH 1/2] s390x/pci: bypass vfio DMA counting when using cdev

2023-11-09 Thread Philippe Mathieu-Daudé
[Sent too fast by inadvertence...] Hi Matthew, On 10/11/23 06:21, Philippe Mathieu-Daudé wrote: On 9/11/23 23:53, Matthew Rosato wrote: The current code assumes that there is always a vfio group, but that's no longer guaranteed with the iommufd backend when using cdev.  In this case, we don't

Re: [PATCH 1/2] s390x/pci: bypass vfio DMA counting when using cdev

2023-11-09 Thread Philippe Mathieu-Daudé
On 9/11/23 23:53, Matthew Rosato wrote: The current code assumes that there is always a vfio group, but that's no longer guaranteed with the iommufd backend when using cdev. In this case, we don't need to track the vfio dma limit anyway. Signed-off-by: Matthew Rosato --- hw/s390x/s390-pci-vf

[PATCH 1/2] s390x/pci: bypass vfio DMA counting when using cdev

2023-11-09 Thread Matthew Rosato
The current code assumes that there is always a vfio group, but that's no longer guaranteed with the iommufd backend when using cdev. In this case, we don't need to track the vfio dma limit anyway. Signed-off-by: Matthew Rosato --- hw/s390x/s390-pci-vfio.c | 6 +- 1 file changed, 5 insertio