RE: [RFC v2 07/22] hw/pci: introduce pci_device_iommu_context()

2019-11-06 Thread Liu, Yi L
> From: David Gibson > Sent: Tuesday, October 29, 2019 7:51 PM > To: Liu, Yi L > Subject: Re: [RFC v2 07/22] hw/pci: introduce pci_device_iommu_context() > > On Thu, Oct 24, 2019 at 08:34:28AM -0400, Liu Yi L wrote: > > This patch adds pci_device_iommu_context()

RE: [RFC v2 07/22] hw/pci: introduce pci_device_iommu_context()

2019-11-06 Thread Liu, Yi L
> From: Peter Xu [mailto:pet...@redhat.com] > Sent: Saturday, November 2, 2019 2:10 AM > To: Liu, Yi L > Subject: Re: [RFC v2 07/22] hw/pci: introduce pci_device_iommu_context() > > On Thu, Oct 24, 2019 at 08:34:28AM -0400, Liu Yi L wrote: > > This patch adds pci_devic

Re: [RFC v2 07/22] hw/pci: introduce pci_device_iommu_context()

2019-11-01 Thread Peter Xu
On Thu, Oct 24, 2019 at 08:34:28AM -0400, Liu Yi L wrote: > This patch adds pci_device_iommu_context() to get an iommu_context > for a given device. A new callback is added in PCIIOMMUOps. Users > who wants to listen to events issued by vIOMMU could use this new > interface to get an iommu_context

Re: [RFC v2 07/22] hw/pci: introduce pci_device_iommu_context()

2019-10-29 Thread David Gibson
On Thu, Oct 24, 2019 at 08:34:28AM -0400, Liu Yi L wrote: > This patch adds pci_device_iommu_context() to get an iommu_context > for a given device. A new callback is added in PCIIOMMUOps. Users > who wants to listen to events issued by vIOMMU could use this new > interface to get an iommu_context