> -----Original Message-----
> From: Tian, Kevin [mailto:[email protected]]
> Sent: 24 February 2018 03:02
> To: Paul Durrant <[email protected]>; [email protected]
> Cc: Stefano Stabellini <[email protected]>; Wei Liu
> <[email protected]>; George Dunlap <[email protected]>;
> Andrew Cooper <[email protected]>; Ian Jackson
> <[email protected]>; Tim (Xen.org) <[email protected]>; Jan Beulich
> <[email protected]>
> Subject: RE: [Xen-devel] [PATCH 7/7] x86: add iommu_ops to map and
> unmap pages, and also to flush the IOTLB
[snip]
>
> >
> > ...so my plan is that the dom0 API picks a bfn, does the mapping and then
> > passes the bfn back to the caller.
> >
>
> A curious question. How to pass the domid from XenGT to pvIOMMU
> driver so the latter knows whether it's a local or remote mapping?
> Ideally pvIOMMU driver is registered to Linux IOMMU core layer,
> of which all existing API wrappers are only for local mapping today...
>
It may well be that, for remote mapping, that layer is just not appropriate.
I'll look into that when I get to that stage.
Cheers,
Paul
> Thanks
> Kevin
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel