On Thu, May 17, 2018 at 03:49:05PM -0400, Jintack Lim wrote:
> On Thu, May 17, 2018 at 4:59 AM, Peter Xu <pet...@redhat.com> wrote:
> > (Hello, Jintack, Feel free to test this branch again against your scp
> > error case when you got free time)
> Hi Peter,
> > I rewrote some of the patches in V3. Major changes:
> > - Dropped mergable interval tree, instead introduced IOVA tree, which
> > is even simpler.
> > - Fix the scp error issue that Jintack reported. Please see patches
> > for detailed information. That's the major reason to rewrite a few
> > of the patches. We use replay for domain flushes are possibly
> > incorrect in the past. The thing is that IOMMU replay has an
> > "definition" that "we should only send MAP when new page detected",
> > while for shadow page syncing we actually need something else than
> > that. So in this version I started to use a new
> > vtd_sync_shadow_page_table() helper to do the page sync.
> I checked that the scp problem I had (i.e. scp from the host to the
> guest having virtual IOMMU and an assigned network device) was gone
> with this patch series. Cool!
> Please feel free to move this tag if this is not the right place!
> Tested-by: Jintack Lim <jint...@cs.columbia.edu>
Thanks for the quick feedback!
I'll temporarily consider putting it at the last patch of series if no
one jumps out and tells me another more correct way. Also I'll
possibly make bold to append your suggested-by too to further claim
your contribution to this problem.