Changeset 41098 in vbox for trunk/src/VBox/VMM/VMMR0
- Timestamp:
- Apr 30, 2012 12:01:52 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HWVMXR0.cpp
r41072 r41098 3495 3495 /* Handle the pagefault trap for the nested shadow table. */ 3496 3496 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 */3503 3497 if (rc == VINF_SUCCESS) 3504 3498 { /* We've successfully synced our shadow pages, so let's just continue execution. */ … … 3509 3503 goto ResumeExecution; 3510 3504 } 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}. */ 3511 3508 3512 3509 #ifdef VBOX_STRICT 3513 3510 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))); 3515 3512 #endif 3516 3513 /* Need to go back to the recompiler to emulate the instruction. */ … … 3547 3544 3548 3545 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 */3554 3546 if (rc == VINF_SUCCESS) 3555 3547 { … … 3557 3549 goto ResumeExecution; 3558 3550 } 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}. */ 3559 3554 3560 3555 Log2(("PGMR0Trap0eHandlerNPMisconfig(,,,%RGp) at %RGv -> %Rrc\n", GCPhys, (RTGCPTR)pCtx->rip, VBOXSTRICTRC_VAL(rc)));
Note:
See TracChangeset
for help on using the changeset viewer.