[vbox-dev] Understanding VirtualBox Memory Management (via the source code)
revolver112 at gmail.com
Thu Feb 14 11:35:55 PST 2013
(My original message at Virtualbox forums:
I would like to have a deeper understanding how memory management is
implemented in VirtualBox, but I don't know where to start from.
I've read a lot about the concepts of shadow page tables and guest-host
translation and now I want to find the mentioned things in the source code.
Let's say I want to write some kind of an additional module (for research
purposes) that extracts RAM of a virtual machine to a separate file. This
involves shadow page tables/directories walking and so on, as far as I
But currently I am struggling with the VirtualBox source code. I haven't
found yet the specific C structures that are responsible for shadow page
table representation or the code that performs guest-host memory
translation. At the moment I'm browsing 'src/VBox/VMM' folder, but haven't
advanced a lot.
Could someone point me to the right direction? Where to look at first?
Where the main translation procedures are located?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vbox-dev