VirtualBox

Changeset 69850 in vbox


Ignore:
Timestamp:
Nov 28, 2017 5:48:11 AM (7 years ago)
Author:
vboxsync
Message:

VMM/HMVMXR0: Don't flag guest-CPU context changed while reverting debug state controls. Fixes assertion in hmR0VmxSaveGuestCR0.

File:
1 edited

Legend:

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

    r69111 r69850  
    95299529        AssertRCReturn(rc2, rc2);
    95309530        pVCpu->hm.s.vmx.u32ProcCtls = pDbgState->fProcCtlsInitial;
    9531         HMCPU_CF_SET(pVCpu, HM_CHANGED_GUEST_CR0 | HM_CHANGED_GUEST_DEBUG);
    95329531    }
    95339532
     
    95459544       reloading and partial recalculation the next time around. */
    95469545    if (pDbgState->fModifiedXcptBitmap)
    9547     {
    95489546        pVCpu->hm.s.vmx.u32XcptBitmap = pDbgState->bmXcptInitial;
    9549         HMCPU_CF_SET(pVCpu, HM_CHANGED_GUEST_XCPT_INTERCEPTS | HM_CHANGED_GUEST_CR0);
    9550     }
    9551 
    9552     /* We assume hmR0VmxLoadSharedCR0 will recalculate and load the CR0 mask. */
    9553     if (pDbgState->fClearCr0Mask)
    9554         HMCPU_CF_SET(pVCpu, HM_CHANGED_GUEST_CR0);
    9555 
    9556     /* We assume hmR0VmxLoadGuestCR3AndCR4 will recalculate and load the CR4 mask. */
    9557     if (pDbgState->fClearCr4Mask)
    9558         HMCPU_CF_SET(pVCpu, HM_CHANGED_GUEST_CR4);
    95599547
    95609548    return rcStrict;
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