qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] About address mapping between host and guest in QEMU


From: Peter Maydell
Subject: Re: [Qemu-devel] About address mapping between host and guest in QEMU
Date: Sat, 25 Apr 2015 13:23:07 +0100

On 25 April 2015 at 02:51, Wenjie Liu <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]