VirtualBox

Changeset 65936 in vbox for trunk


Ignore:
Timestamp:
Mar 3, 2017 3:11:09 PM (8 years ago)
Author:
vboxsync
Message:

VMM/HMSVMR0: Check single-step debugging also for VMMCALL instruction exits.

File:
1 edited

Legend:

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

    r65935 r65936  
    44234423    if (RT_LIKELY(rc == VINF_SUCCESS))
    44244424    {
     4425        pSvmTransient->fUpdateTscOffsetting = true;
    44254426        hmR0SvmAdvanceRipHwAssist(pVCpu, pCtx, 2);
    4426         pSvmTransient->fUpdateTscOffsetting = true;
    4427 
    4428         /* Single step check. */
    44294427        HMSVM_CHECK_SINGLE_STEP(pVCpu, rc);
    44304428    }
     
    44484446    if (RT_LIKELY(rc == VINF_SUCCESS))
    44494447    {
     4448        pSvmTransient->fUpdateTscOffsetting = true;
    44504449        hmR0SvmAdvanceRipHwAssist(pVCpu, pCtx, 3);
    4451         pSvmTransient->fUpdateTscOffsetting = true;
    44524450        HMSVM_CHECK_SINGLE_STEP(pVCpu, rc);
    44534451    }
     
    46914689                HMCPU_CF_SET(pVCpu, HM_CHANGED_SVM_GUEST_APIC_STATE);
    46924690            }
     4691            rc = VINF_SUCCESS;
    46934692            hmR0SvmAdvanceRipHwAssist(pVCpu, pCtx, 2);
    4694             rc = VINF_SUCCESS;
    46954693            HMSVM_CHECK_SINGLE_STEP(pVCpu, rc);
    46964694            return rc;
     
    52875285            }
    52885286            rc = VBOXSTRICTRC_VAL(rcStrict);
     5287            HMSVM_CHECK_SINGLE_STEP(pVCpu, rc);
    52895288        }
    52905289        else
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