Re: [PATCH] hw/pci: modify pci_setup_iommu() to set PCIIOMMUOps

2023-10-16 Thread Cédric Le Goater
On 10/16/23 07:03, Philippe Mathieu-Daudé wrote: Hi Cédric, Liu, Joao, On 13/10/23 16:56, Cédric Le Goater wrote: From: Liu Yi L This patch modifies pci_setup_iommu() to set PCIIOMMUOps instead of setting PCIIOMMUFunc. PCIIOMMUFunc is used to get an address space for a PCI device in vendor sp

Re: [PATCH] hw/pci: modify pci_setup_iommu() to set PCIIOMMUOps

2023-10-15 Thread Philippe Mathieu-Daudé
Hi Cédric, Liu, Joao, On 13/10/23 16:56, Cédric Le Goater wrote: From: Liu Yi L This patch modifies pci_setup_iommu() to set PCIIOMMUOps instead of setting PCIIOMMUFunc. PCIIOMMUFunc is used to get an address space for a PCI device in vendor specific way. The PCIIOMMUOps still offers this func

[PATCH] hw/pci: modify pci_setup_iommu() to set PCIIOMMUOps

2023-10-13 Thread Cédric Le Goater
From: Liu Yi L This patch modifies pci_setup_iommu() to set PCIIOMMUOps instead of setting PCIIOMMUFunc. PCIIOMMUFunc is used to get an address space for a PCI device in vendor specific way. The PCIIOMMUOps still offers this functionality. But using PCIIOMMUOps leaves space to add more iommu rela