[vbox-dev] R: Re: R: Re: I: EPT structures

Ramshankar ramshankar.venkataraman at oracle.com
Fri Apr 19 20:17:49 GMT 2013


That is mostly correct except the VMCS is per VCPU (not per-VM).

Regarding your other query, I believe you'd want to take a look at 
VBox/VMM/VMMAll/PGMAllBth.h and PGMAllGst.h (namely Walk, GetPage) for 
page traversals and lookups.

Regards,
Ram.


On 04/12/2013 09:09 AM, carlo.cianfarani at alice.it wrote:
> Any idea ?
>
>     ----Messaggio originale----
>     Da: carlo.cianfarani at alice.it
>     Data: 9-apr-2013 9.22
>     A: <vbox-dev at virtualbox.org>
>     Ogg: R: Re: [vbox-dev] R: Re: I: EPT structures
>
>     Just some question to understand how it works...
>
>     If I understand correctly, it is in charge of VirtualBox code
>     (running in VMX-root mode ?) the setup the VMCS area (4KB) for
>     each VM instance. In each VMCS's area exists a field for the EPT
>     pointer (basically the physical address in main memory of the
>     first-level EPT paging structures)
>
>     Now if that is correct, do you think it does exist other ways
>     (including digging in the host system hosting virtualBox's
>     process) to access & traverse those translation structures ?
>
>     Thanks.
>
>         ----Messaggio originale----
>         Da: ramshankar.venkataraman at oracle.com
>         Data: 8-apr-2013 18.50
>         A: "carlo.cianfarani at alice.it"<carlo.cianfarani at alice.it>
>         Cc: <vbox-dev at virtualbox.org>
>         Ogg: Re: [vbox-dev] R: Re: I: EPT structures
>
>         If we find the need and time for it. In the meantime, we
>         welcome patches :)
>
>         Regards,
>         Ram.
>
>         On 04/08/2013 06:25 PM, carlo.cianfarani at alice.it wrote:
>>         Is there a plan for it ?
>>
>>             ----Messaggio originale----
>>             Da: klaus.espenlaub at oracle.com
>>             Data: 8-apr-2013 16.24
>>             A: <vbox-dev at virtualbox.org>
>>             Ogg: Re: [vbox-dev] I: EPT structures
>>
>>             The error message says it all - not implemented.
>>
>>             Klaus
>>
>>             On 06.04.2013 15:24, carlo.cianfarani at alice.it wrote:
>>             > Any idea ?
>>             >
>>             > Thanks.
>>             >
>>             >     ----Messaggio originale----
>>             >     Da: carlo.cianfarani at alice.it
>>             >     Data: 4-apr-2013 16.08
>>             >     A: <vbox-dev at virtualbox.org>
>>             >     Ogg: EPT structures
>>             >
>>             >     Hi,
>>             >
>>             >     posting the following question on virtualbox forum
>>             a guy suggested
>>             >     to ask for it here...
>>             >
>>             >
>>             >     I'm trying to use the Debug command line
>>             (VirtualBox version 4.2.10)
>>             >     just to dig into some internals...
>>             >
>>             >     Does it exist a way to view the EPT page table used
>>             by the processor
>>             >     (core i5 in my system) when resolving a guest's
>>             virtual address into
>>             >     a host physical one ?
>>             >
>>             >     trying to do it:
>>             >
>>             >     VBoxDbg> dphh %0
>>             >     cr3=a93ea000 idx=0i66 Extended Page Tables
>>             >     EPT dumping is not yet implemented, sorry.
>>             >     not present
>>             >     dphh: error: DBGFR3PagingDumpEx: VERR_NOT_IMPLEMENTED
>>             >     VBoxDbg>
>>             >
>>             >     thanks,
>>             >     Carlo.
>>             >
>>             >
>>             >
>>
>>             _______________________________________________
>>             vbox-dev mailing list
>>             vbox-dev at virtualbox.org
>>             https://www.virtualbox.org/mailman/listinfo/vbox-dev
>>
>>
>>
>>
>>         _______________________________________________
>>         vbox-dev mailing list
>>         vbox-dev at virtualbox.org
>>         https://www.virtualbox.org/mailman/listinfo/vbox-dev
>
>
>
>
>
>
>
> _______________________________________________
> vbox-dev mailing list
> vbox-dev at virtualbox.org
> https://www.virtualbox.org/mailman/listinfo/vbox-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20130419/96d7b89d/attachment.html>


More information about the vbox-dev mailing list