VirtualBox

Ignore:
Timestamp:
Jun 20, 2018 11:39:48 AM (7 years ago)
Author:
vboxsync
Message:

HMSVMR0.cpp: Retry new RDTSC and RDTSCP code. Added HMSVM_UPDATE_INTR_SHADOW invocations (probably harmless). bugref:6973

File:
1 edited

Legend:

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

    r72619 r72622  
    62556255{
    62566256    HMSVM_VALIDATE_EXIT_HANDLER_PARAMS();
    6257 #if 0 /** @todo Needs testing. @bugref{6973} */
     6257#if 1 /** @todo Needs testing. @bugref{6973} */
    62586258    VBOXSTRICTRC rcStrict = IEMExecDecodedRdtsc(pVCpu, hmR0SvmGetInstrLengthHwAssist(pVCpu, pCtx, 2));
    62596259    if (rcStrict == VINF_SUCCESS)
     
    62616261    else if (rcStrict == VINF_EM_RESCHEDULE)
    62626262        rcStrict = VINF_SUCCESS;
     6263    HMSVM_UPDATE_INTR_SHADOW(pVCpu, pCtx);
    62636264    HMSVM_CHECK_SINGLE_STEP(pVCpu, rcStrict);
    62646265    STAM_COUNTER_INC(&pVCpu->hm.s.StatExitRdtsc);
     
    62896290{
    62906291    HMSVM_VALIDATE_EXIT_HANDLER_PARAMS();
    6291 #if 0 /** @todo Needs testing. @bugref{6973} */
     6292#if 1 /** @todo Needs testing. @bugref{6973} */
    62926293    VBOXSTRICTRC rcStrict = IEMExecDecodedRdtscp(pVCpu, hmR0SvmGetInstrLengthHwAssist(pVCpu, pCtx, 3));
    62936294    if (rcStrict == VINF_SUCCESS)
     
    62956296    else if (rcStrict == VINF_EM_RESCHEDULE)
    62966297        rcStrict = VINF_SUCCESS;
     6298    HMSVM_UPDATE_INTR_SHADOW(pVCpu, pCtx);
    62976299    HMSVM_CHECK_SINGLE_STEP(pVCpu, rcStrict);
    62986300    STAM_COUNTER_INC(&pVCpu->hm.s.StatExitRdtscp);
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