<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">That is mostly correct except the VMCS
      is per VCPU (not per-VM).<br>
      <br>
      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.<br>
      <br>
      Regards,<br>
      Ram.<br>
      <br>
      <br>
      On 04/12/2013 09:09 AM, <a class="moz-txt-link-abbreviated" href="mailto:carlo.cianfarani@alice.it">carlo.cianfarani@alice.it</a> wrote:<br>
    </div>
    <blockquote cite="mid:13dfd14424a.carlo.cianfarani@alice.it"
      type="cite">Any idea ?<br>
      <br>
      <blockquote>
        ----Messaggio originale----<br>
        Da: <a class="moz-txt-link-abbreviated" href="mailto:carlo.cianfarani@alice.it">carlo.cianfarani@alice.it</a><br>
        Data: 9-apr-2013 9.22<br>
        A: <a class="moz-txt-link-rfc2396E" href="mailto:vbox-dev@virtualbox.org"><vbox-dev@virtualbox.org></a><br>
        Ogg: R: Re: [vbox-dev] R: Re: I: EPT structures<br>
        <br>
        Just some question to understand how it works...<br>
        <br>
        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)<br>
        <br>
        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 ?<br>
        <br>
        Thanks.<br>
        <br>
        <blockquote>
          ----Messaggio originale----<br>
          Da: <a class="moz-txt-link-abbreviated" href="mailto:ramshankar.venkataraman@oracle.com">ramshankar.venkataraman@oracle.com</a><br>
          Data: 8-apr-2013 18.50<br>
          A:
          <a class="moz-txt-link-rfc2396E" href="mailto:carlo.cianfarani@alice.it">"carlo.cianfarani@alice.it"</a><a class="moz-txt-link-rfc2396E" href="mailto:carlo.cianfarani@alice.it"><carlo.cianfarani@alice.it></a><br>
          Cc: <a class="moz-txt-link-rfc2396E" href="mailto:vbox-dev@virtualbox.org"><vbox-dev@virtualbox.org></a><br>
          Ogg: Re: [vbox-dev] R: Re: I: EPT structures<br>
          <br>
          <!--
    
  -->
          <div class="moz-cite-prefix">If we find the need and time for
            it. In the meantime, we welcome patches :)<br>
            <br>
            Regards,<br>
            Ram.<br>
            <br>
            On 04/08/2013 06:25 PM, <a moz-do-not-send="true"
              class="moz-txt-link-abbreviated"
              href="mailto:carlo.cianfarani@alice.it">carlo.cianfarani@alice.it</a>
            wrote:<br>
          </div>
          <blockquote cite="mid:13dea7798d2.carlo.cianfarani@alice.it"
            type="cite">Is there a plan for it ?<br>
            <br>
            <blockquote> ----Messaggio originale----<br>
              Da: <a moz-do-not-send="true"
                class="moz-txt-link-abbreviated"
                href="mailto:klaus.espenlaub@oracle.com">klaus.espenlaub@oracle.com</a><br>
              Data: 8-apr-2013 16.24<br>
              A: <a moz-do-not-send="true"
                class="moz-txt-link-rfc2396E"
                href="mailto:vbox-dev@virtualbox.org"><vbox-dev@virtualbox.org></a><br>
              Ogg: Re: [vbox-dev] I: EPT structures<br>
              <br>
              The error message says it all - not implemented.<br>
              <br>
              Klaus<br>
              <br>
              On 06.04.2013 15:24, <a moz-do-not-send="true"
                class="moz-txt-link-abbreviated"
                href="mailto:carlo.cianfarani@alice.it">carlo.cianfarani@alice.it</a>
              wrote:<br>
              > Any idea ?<br>
              ><br>
              > Thanks.<br>
              ><br>
              >     ----Messaggio originale----<br>
              >     Da: <a moz-do-not-send="true"
                class="moz-txt-link-abbreviated"
                href="mailto:carlo.cianfarani@alice.it">carlo.cianfarani@alice.it</a><br>
              >     Data: 4-apr-2013 16.08<br>
              >     A: <a moz-do-not-send="true"
                class="moz-txt-link-rfc2396E"
                href="mailto:vbox-dev@virtualbox.org"><vbox-dev@virtualbox.org></a><br>
              >     Ogg: EPT structures<br>
              ><br>
              >     Hi,<br>
              ><br>
              >     posting the following question on virtualbox
              forum a guy suggested<br>
              >     to ask for it here...<br>
              ><br>
              ><br>
              >     I'm trying to use the Debug command line
              (VirtualBox version 4.2.10)<br>
              >     just to dig into some internals...<br>
              ><br>
              >     Does it exist a way to view the EPT page table
              used by the processor<br>
              >     (core i5 in my system) when resolving a guest's
              virtual address into<br>
              >     a host physical one ?<br>
              ><br>
              >     trying to do it:<br>
              ><br>
              >     VBoxDbg> dphh %0<br>
              >     cr3=a93ea000 idx=0i66 Extended Page Tables<br>
              >     EPT dumping is not yet implemented, sorry.<br>
              >     not present<br>
              >     dphh: error: DBGFR3PagingDumpEx:
              VERR_NOT_IMPLEMENTED<br>
              >     VBoxDbg><br>
              ><br>
              >     thanks,<br>
              >     Carlo.<br>
              ><br>
              ><br>
              ><br>
              <br>
              _______________________________________________<br>
              vbox-dev mailing list<br>
              <a moz-do-not-send="true" class="moz-txt-link-abbreviated"
                href="mailto:vbox-dev@virtualbox.org">vbox-dev@virtualbox.org</a><br>
              <a moz-do-not-send="true" class="moz-txt-link-freetext"
                href="https://www.virtualbox.org/mailman/listinfo/vbox-dev">https://www.virtualbox.org/mailman/listinfo/vbox-dev</a><br>
              <br>
            </blockquote>
            <br>
            <br>
            <fieldset class="mimeAttachmentHeader"></fieldset>
            <br>
            <pre wrap="">_______________________________________________
vbox-dev mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:vbox-dev@virtualbox.org">vbox-dev@virtualbox.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://www.virtualbox.org/mailman/listinfo/vbox-dev">https://www.virtualbox.org/mailman/listinfo/vbox-dev</a>
</pre>
          </blockquote>
          <br>
          <br>
        </blockquote>
        <br>
        <br>
      </blockquote>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
vbox-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:vbox-dev@virtualbox.org">vbox-dev@virtualbox.org</a>
<a class="moz-txt-link-freetext" href="https://www.virtualbox.org/mailman/listinfo/vbox-dev">https://www.virtualbox.org/mailman/listinfo/vbox-dev</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>