VirtualBox

Changeset 46794 in vbox


Ignore:
Timestamp:
Jun 26, 2013 9:34:52 AM (12 years ago)
Author:
vboxsync
Message:

VMM/HMSVMR0: Fix non-nested paging w/ #PF injection. DSL now boots without nested paging as well.

File:
1 edited

Legend:

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

    r46790 r46794  
    31403140
    31413141    /* Update CR2 of the guest. */
    3142     pCtx->cr2 = uFaultAddress;
     3142    if (pCtx->cr2 != uFaultAddress)
     3143    {
     3144        pCtx->cr2 = uFaultAddress;
     3145        pVCpu->hm.s.fContextUseFlags |= HM_CHANGED_GUEST_CR2;
     3146    }
    31433147
    31443148    hmR0SvmSetPendingEvent(pVCpu, &Event, uFaultAddress);
     
    42294233    int rc = PGMTrap0eHandler(pVCpu, u32ErrCode, CPUMCTX2CORE(pCtx), (RTGCPTR)uFaultAddress);
    42304234
    4231     Log2(("#PF rc=%Rrc\n", rc));
     4235    Log4(("#PF rc=%Rrc\n", rc));
     4236
    42324237    if (rc == VINF_SUCCESS)
    42334238    {
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