lkml.org 
[lkml]   [2022]   [Sep]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [patch 21/32] NTB/msi: Convert to msi_on_each_desc()
Date
> From: Jason Gunthorpe <jgg@nvidia.com>
> Sent: Tuesday, September 20, 2022 10:10 PM
>
> On Thu, Sep 15, 2022 at 09:24:07AM +0000, Tian, Kevin wrote:
>
> > After migration the IRTE index could change hence the addr/data pair
> > acquired before migration becomes stale and must be fixed.
>
> The migration has to keep this stuff stable somehow, it seems
> infeasible to fix it after the fact.
>

This is not how live migration typically works, i.e. we don't try to
freeze the same host resource cross migration. It's pretty fragile
and the chance of failure is high.

btw isn't it the same reason why we don't want to expose host
PASID into guest in iommufd discussion?

My overall impression is that any such exposure of host resource
requires certain guest cooperation to do after-the-fact fix to
enable migration (though it's obviously difficult for this interrupt
case), otherwise the actual usage would be very limited...


\
 
 \ /
  Last update: 2022-09-21 09:58    [W:0.125 / U:0.656 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site