On Fri, May 23, 2025 at 01:51:25AM +0000, Tian, Kevin wrote: > > If page is unmapped then stage 2 (Host page table) gets updated. IOMMU > > will not > > be able to find page and logs fault. > > As long as the fault is contained only for the relevant queue, yes > we don't need another pinning from the driver.
Yeah, that's my expectation too. If the guest uses a bad address then the fault should be logged in HW and forwarded to the guest. No need to validate the guest IOVA for queues. Jason