All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] About address mapping between host and guest in QEMU
@ 2015-04-22 13:31 Wenjie Liu
  2015-04-22 15:26 ` Wenjie Liu
  0 siblings, 1 reply; 12+ messages in thread
From: Wenjie Liu @ 2015-04-22 13:31 UTC (permalink / raw)
  To: qemu-devel; +Cc: Stefan Hajnoczi, vilanova

[-- Attachment #1: Type: text/plain, Size: 594 bytes --]

Hi all,
I have a little problem about the address mapping between host and guest in
QEMU.

I have got the guest physical address and the host virtual base address of
guest's memory space which by check the ramblocks list.

So, can I access to the guest's memory content by simply add the guest
physical address with the base?

For example, if the guest physical address of a guest memory request is
0x000000011f9ff000, and the host virtual base is 0x00007f37ef122000, I am
going to access the host virtual address 0x000000011f9ff000 +
0x00007f37ef122000.
Is this correct?


-- 

*Best regards*

[-- Attachment #2: Type: text/html, Size: 1142 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2015-04-25 12:23 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-22 13:31 [Qemu-devel] About address mapping between host and guest in QEMU Wenjie Liu
2015-04-22 15:26 ` Wenjie Liu
2015-04-23 13:56   ` Wenjie Liu
2015-04-23 14:03     ` Peter Maydell
2015-04-24  2:10       ` Wenjie Liu
2015-04-24 11:26         ` Paolo Bonzini
2015-04-24 12:46           ` Peter Maydell
2015-04-24 19:09             ` Christopher Covington
2015-04-24 19:50               ` Brendan Dolan-Gavitt
2015-04-24 23:48                 ` Christopher Covington
2015-04-25  1:51                   ` Wenjie Liu
2015-04-25 12:23                     ` Peter Maydell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.