VirtualBox

Changeset 41098 in vbox for trunk/src/VBox/VMM/VMMR0


Ignore:
Timestamp:
Apr 30, 2012 12:01:52 PM (13 years ago)
Author:
vboxsync
Message:

HWVMXR0.cpp: If we should do something, mark it as @todo's and put the comment were the missing code should go.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/HWVMXR0.cpp

    r41072 r41098  
    34953495        /* Handle the pagefault trap for the nested shadow table. */
    34963496        rc = PGMR0Trap0eHandlerNestedPaging(pVM, pVCpu, PGMMODE_EPT, errCode, CPUMCTX2CORE(pCtx), GCPhys);
    3497         Log2(("PGMR0Trap0eHandlerNestedPaging %RGv returned %Rrc\n", (RTGCPTR)pCtx->rip, VBOXSTRICTRC_VAL(rc)));
    3498 
    3499         /*
    3500          * Note! We probably should handle failure to get the instruction page (VERR_PAGE_NOT_PRESENT,
    3501          * VERR_PAGE_TABLE_NOT_PRESENT). See #6043.
    3502          */
    35033497        if (rc == VINF_SUCCESS)
    35043498        {   /* We've successfully synced our shadow pages, so let's just continue execution. */
     
    35093503            goto ResumeExecution;
    35103504        }
     3505        /** @todo We probably should handle failure to get the instruction page
     3506         *        (VERR_PAGE_NOT_PRESENT, VERR_PAGE_TABLE_NOT_PRESENT). See
     3507         *        @bugref{6043}. */
    35113508
    35123509#ifdef VBOX_STRICT
    35133510        if (rc != VINF_EM_RAW_EMULATE_INSTR)
    3514             LogFlow(("PGMTrap0eHandlerNestedPaging failed with %d\n", VBOXSTRICTRC_VAL(rc)));
     3511            LogFlow(("PGMTrap0eHandlerNestedPaging at %RGv failed with %Rrc\n", (RTGCPTR)pCtx->rip, VBOXSTRICTRC_VAL(rc)));
    35153512#endif
    35163513        /* Need to go back to the recompiler to emulate the instruction. */
     
    35473544
    35483545        rc = PGMR0Trap0eHandlerNPMisconfig(pVM, pVCpu, PGMMODE_EPT, CPUMCTX2CORE(pCtx), GCPhys, UINT32_MAX);
    3549 
    3550         /*
    3551          * Note! We probably should handle failure to get the instruction page (VERR_PAGE_NOT_PRESENT,
    3552          * VERR_PAGE_TABLE_NOT_PRESENT). See #6043.
    3553          */
    35543546        if (rc == VINF_SUCCESS)
    35553547        {
     
    35573549            goto ResumeExecution;
    35583550        }
     3551        /** @todo We probably should handle failure to get the instruction page
     3552         *        (VERR_PAGE_NOT_PRESENT, VERR_PAGE_TABLE_NOT_PRESENT). See
     3553         *        @bugref{6043}. */
    35593554
    35603555        Log2(("PGMR0Trap0eHandlerNPMisconfig(,,,%RGp) at %RGv -> %Rrc\n", GCPhys, (RTGCPTR)pCtx->rip, VBOXSTRICTRC_VAL(rc)));
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette