On 12/9/2014 6:19 PM, Paul Durrant wrote:
I think use of an raw mfn value currently works only because dom0 is using a
1:1 IOMMU mapping scheme. Is my understanding correct, or do you really need
raw mfn values?
Thanks for your quick response, Paul.
Well, not exactly for this case. :)
In XenGT, our need to translate gfn to mfn is for GPU's page table,
which contains the translation between graphic address and the memory
address. This page table is maintained by GPU drivers, and our service
domain need to have a method to translate the guest physical addresses
written by the vGPU into host physical ones.
We do not use IOMMU in XenGT and therefore this translation may not
necessarily be a 1:1 mapping.
B.R.
Yu
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel