On 25 April 2015 at 02:51, Wenjie Liu <lwj0...@gmail.com> wrote: > Hi Peter, > Does the equation which is mentioned in > http://vm-kernel.org/blog/2009/07/10/qemu-internal-part-2-softmmu/ means > something? > host_virtual_address = phys_ram_base(qemu variable) + guest_physical_address > – guest_physical_address_base(0 in MIPS) > Currently I have the guest physical address and phys_ram_base, can I use the > equation to get the host virtual address?
That blog post is now six years old, and the codebase has changed a lot since then. You're better off looking at the actual code. > In fact I am using Marss which is based on QEMU, and in Marss the guest > physical address is provided. In that case you should probably ask the Marss developers... -- PMM