Re: [PATCH v3 3/5] intel_iommu: Fix flag check in replay

2023-06-08 Thread Peter Xu
On Thu, Jun 08, 2023 at 05:52:29PM +0800, Zhenzhong Duan wrote: > Replay doesn't notify registered notifiers but the one passed > to it. So it's meaningless to check the registered notifier's > synthetic flag. > > There is no issue currently as all replay use cases have MAP > flag set, but let's b

[PATCH v3 3/5] intel_iommu: Fix flag check in replay

2023-06-08 Thread Zhenzhong Duan
Replay doesn't notify registered notifiers but the one passed to it. So it's meaningless to check the registered notifier's synthetic flag. There is no issue currently as all replay use cases have MAP flag set, but let's be robust. Signed-off-by: Zhenzhong Duan --- hw/i386/intel_iommu.c | 2 +-