qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Liu, Yi L
Subject: RE: [RFC v2 07/22] hw/pci: introduce pci_device_iommu_context()
Date: Wed, 6 Nov 2019 08:20:15 +0000

> From: David Gibson
> Sent: Tuesday, October 29, 2019 7:51 PM
> To: Liu, Yi L <address@hidden>
> 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() 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 and register their own notifiers,
> > then wait for notifications from vIOMMU. e.g. VFIO is the first user
> > of it to listen to the PASID_ALLOC/PASID_BIND/CACHE_INV events and
> > propagate the events to host.
> >
> > Cc: Kevin Tian <address@hidden>
> > Cc: Jacob Pan <address@hidden>
> > Cc: Peter Xu <address@hidden>
> > Cc: Eric Auger <address@hidden>
> > Cc: Yi Sun <address@hidden>
> > Cc: David Gibson <address@hidden>
> > Signed-off-by: Liu Yi L <address@hidden>
> 
> Reviewed-by: David Gibson <address@hidden>

Thanks for the review.

Regards,
Yi Liu



reply via email to

[Prev in Thread] Current Thread [Next in Thread]