VirtualBox

Changeset 73151 in vbox


Ignore:
Timestamp:
Jul 16, 2018 10:06:11 AM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
123741
Message:

VMM/HMSVMR0: Enable NRIP_SAVE again on trunk, fixed missing import bits in STGI #VMEXIT.

File:
1 edited

Legend:

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

    r73144 r73151  
    841841DECLINLINE(bool) hmR0SvmSupportsNextRipSave(PVMCPU pVCpu)
    842842{
    843 #if 0
    844843    PVM pVM = pVCpu->CTX_SUFF(pVM);
    845844#ifdef VBOX_WITH_NESTED_HWVIRT_SVM
     
    851850#endif
    852851    return RT_BOOL(pVM->hm.s.svm.u32Features & X86_CPUID_SVM_FEATURE_EDX_NRIP_SAVE);
    853 #endif
    854 
    855     /** @todo Temporarily disabled NRIP_SAVE for testing. re-enable once its working. */
    856     NOREF(pVCpu);
    857     return false;
    858852}
    859853
     
    79007894    if (fSupportsNextRipSave)
    79017895    {
     7896        HMSVM_CPUMCTX_IMPORT_STATE(pVCpu, IEM_CPUMCTX_EXTRN_EXEC_DECODED_NO_MEM_MASK | fImport);
    79027897        uint8_t const cbInstr = pVmcb->ctrl.u64NextRIP - pVCpu->cpum.GstCtx.rip;
    79037898        rcStrict = IEMExecDecodedStgi(pVCpu, cbInstr);
Note: See TracChangeset for help on using the changeset viewer.

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