VirtualBox

Changeset 71910 in vbox for trunk/src/VBox/VMM/VMMAll


Ignore:
Timestamp:
Apr 19, 2018 8:54:23 AM (7 years ago)
Author:
vboxsync
Message:

VMM/HM: Clean up and also fix HMR0EnsureCompleteBasicContext for AMD-V which also selectively re-loads guest state back into the VMCB.

Location:
trunk/src/VBox/VMM/VMMAll
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/HMAll.cpp

    r70948 r71910  
    543543{
    544544    pVCpu->hm.s.fGIMTrapXcptUD = true;
    545     HMCPU_CF_SET(pVCpu, HM_CHANGED_GUEST_XCPT_INTERCEPTS);
     545    HMCPU_CF_SET(pVCpu, HM_CHANGED_VMM_GUEST_XCPT_INTERCEPTS);
    546546}
    547547
     
    555555{
    556556    pVCpu->hm.s.fGIMTrapXcptUD = false;
    557     HMCPU_CF_SET(pVCpu, HM_CHANGED_GUEST_XCPT_INTERCEPTS);
     557    HMCPU_CF_SET(pVCpu, HM_CHANGED_VMM_GUEST_XCPT_INTERCEPTS);
    558558}
    559559
  • trunk/src/VBox/VMM/VMMAll/HMSVMAll.cpp

    r71859 r71910  
    103103                int rc2 = APICSetTpr(pVCpu, u8Tpr);
    104104                AssertRC(rc2);
    105                 HMCPU_CF_SET(pVCpu, HM_CHANGED_SVM_GUEST_APIC_STATE);
     105                HMCPU_CF_SET(pVCpu, HM_CHANGED_GUEST_APIC_STATE);
    106106
    107107                pCtx->rip += pPatch->cbOp;
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