VirtualBox

Changeset 72593 in vbox for trunk


Ignore:
Timestamp:
Jun 18, 2018 12:26:41 PM (7 years ago)
Author:
vboxsync
Message:

HMVMXR0.cpp: Enabled new rdtsc[p] code after limited testing. bugref:6973

File:
1 edited

Legend:

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

    r72590 r72593  
    1182911829{
    1183011830    HMVMX_VALIDATE_EXIT_HANDLER_PARAMS();
    11831 #if 0 /** @todo Needs testing. @bugref{6973} */
     11831#if 1 /** @todo Needs testing. @bugref{6973} */
    1183211832    int rc = hmR0VmxSaveGuestCR4(pVCpu, pMixedCtx);      /* Needed for CPL < 0 only, really. */
    1183311833    rc    |= hmR0VmxSaveGuestRegsForIemExec(pVCpu, pMixedCtx, false /*fMemory*/, false /*fNeedRsp*/);
     11834    rc    |= hmR0VmxReadExitInstrLenVmcs(pVmxTransient);
    1183411835    AssertRCReturn(rc, rc);
    1183511836    VBOXSTRICTRC rcStrict = IEMExecDecodedRdtsc(pVCpu, pVmxTransient->cbInstr);
     
    1187211873{
    1187311874    HMVMX_VALIDATE_EXIT_HANDLER_PARAMS();
    11874 #if 0 /** @todo Needs testing. @bugref{6973} */
     11875#if 1 /** @todo Needs testing. @bugref{6973} */
    1187511876    int rc = hmR0VmxSaveGuestCR4(pVCpu, pMixedCtx);      /* Needed for CPL < 0 only, really. */
    1187611877    rc    |= hmR0VmxSaveGuestRegsForIemExec(pVCpu, pMixedCtx, false /*fMemory*/, false /*fNeedRsp*/);
    1187711878    rc    |= hmR0VmxSaveGuestAutoLoadStoreMsrs(pVCpu, pMixedCtx);  /* For MSR_K8_TSC_AUX */
     11879    rc    |= hmR0VmxReadExitInstrLenVmcs(pVmxTransient);
    1187811880    AssertRCReturn(rc, rc);
    1187911881    VBOXSTRICTRC rcStrict = IEMExecDecodedRdtscp(pVCpu, pVmxTransient->cbInstr);
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