On 23 April 2015 at 14:56, Wenjie Liu <lwj0...@gmail.com> wrote: > Can anybody take a few minutes to answer my question?
It might help if you explained at a higher level what you're trying to achieve. Usually you don't need to manually try to do this conversion from guest to host address because there is an API which will do whatever memory operation you wanted for you (including finding the host address, dealing with the case where the guest physical address is an MMIO device or has nothing mapped, and so on). -- PMM