On Mon, Aug 19, 2019 at 06:57:06PM -0700, Roman Shaposhnik wrote: > On Mon, Jul 22, 2019 at 8:33 AM Roger Pau Monne <roger....@citrix.com> wrote: > > > > The current usage of need_iommu_pt_sync in p2m for non-translated > > guests is wrong because it doesn't correctly handle a relaxed PV > > hardware domain, that has need_sync set to false, but still need > > entries to be added from calls to {set/clear}_identity_p2m_entry. > > > > Adjust the code in guest_physmap_add_page to also check whether the > > domain has an iommu instead of whether it needs syncing or not in > > order to take a reference to a page to be mapped. > > > > Signed-off-by: Roger Pau Monné <roger....@citrix.com> > > --- > > Cc: George Dunlap <george.dun...@eu.citrix.com> > > Cc: Jan Beulich <jbeul...@suse.com> > > Cc: Andrew Cooper <andrew.coop...@citrix.com> > > Cc: Wei Liu <w...@xen.org> > > Cc: Paul Durrant <paul.durr...@citrix.com> > > Tested-by: Roman Shaposhnik <ro...@zededa.com>
There's a v2 of the patch, but I guess your TB also applies to it. Thanks, Roger. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel