On Thu, Apr 07, 2022 at 11:27:53AM +0200, Jan Beulich wrote: > If get_iommu_domid() in domain_context_unmap_one() fails, we better > wouldn't clear the context entry in the first place, as we're then unable > to issue the corresponding flush. However, we have no need to look up the > DID in the first place: What needs flushing is very specifically the DID > that was in the context entry before our clearing of it. > > Signed-off-by: Jan Beulich <[email protected]>
Reviewed-by: Roger Pau Monné <[email protected]> Thanks, Roger.
