Re: [Qemu-devel] [RFC PATCH 2/2] pci: add PCIIOMMUOps and PCIIOMMUIntRemapFunc

2016-02-17 Thread Peter Xu
On Wed, Feb 17, 2016 at 08:46:18PM +0100, Paolo Bonzini wrote: > > > On 17/02/2016 11:25, Peter Xu wrote: > > This patch extended the current PCI IOMMU functions into operation list, > > one new op is added to do interrupt remapping. > > > > Currently it is not working since int_remap is always

Re: [Qemu-devel] [RFC PATCH 2/2] pci: add PCIIOMMUOps and PCIIOMMUIntRemapFunc

2016-02-17 Thread Paolo Bonzini
On 17/02/2016 11:25, Peter Xu wrote: > This patch extended the current PCI IOMMU functions into operation list, > one new op is added to do interrupt remapping. > > Currently it is not working since int_remap is always NULL. It only > provide a interface to extend PCI MSI to support interrupt re

[Qemu-devel] [RFC PATCH 2/2] pci: add PCIIOMMUOps and PCIIOMMUIntRemapFunc

2016-02-17 Thread Peter Xu
This patch extended the current PCI IOMMU functions into operation list, one new op is added to do interrupt remapping. Currently it is not working since int_remap is always NULL. It only provide a interface to extend PCI MSI to support interrupt remapping in the future. One helper function pci_s