Changeset 72620 in vbox
- Timestamp:
- Jun 20, 2018 9:53:34 AM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 123120
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r72619 r72620 11917 11917 { 11918 11918 HMVMX_VALIDATE_EXIT_HANDLER_PARAMS(); 11919 #if 0/** @todo Needs testing. @bugref{6973} */11919 #if 1 /** @todo Needs testing. @bugref{6973} */ 11920 11920 int rc = hmR0VmxSaveGuestCR4(pVCpu, pMixedCtx); /* Needed for CPL < 0 only, really. */ 11921 11921 rc |= hmR0VmxSaveGuestRegsForIemExec(pVCpu, pMixedCtx, false /*fMemory*/, false /*fNeedRsp*/); … … 11929 11929 pVmxTransient->fUpdateTscOffsettingAndPreemptTimer = true; 11930 11930 } 11931 else if (rcStrict == VINF_ EM_RESCHEDULE)11931 else if (rcStrict == VINF_IEM_RAISED_XCPT) 11932 11932 rcStrict = VINF_SUCCESS; 11933 HMCPU_CF_SET(pVCpu, rcStrict != VINF_IEM_RAISED_XCPT ? HM_CHANGED_GUEST_RIP | HM_CHANGED_GUEST_RFLAGS : HM_CHANGED_ALL_GUEST); 11933 11934 STAM_COUNTER_INC(&pVCpu->hm.s.StatExitRdtsc); 11934 11935 return rcStrict; … … 11961 11962 { 11962 11963 HMVMX_VALIDATE_EXIT_HANDLER_PARAMS(); 11963 #if 0/** @todo Needs testing. @bugref{6973} */11964 #if 1 /** @todo Needs testing. @bugref{6973} */ 11964 11965 int rc = hmR0VmxSaveGuestCR4(pVCpu, pMixedCtx); /* Needed for CPL < 0 only, really. */ 11965 11966 rc |= hmR0VmxSaveGuestRegsForIemExec(pVCpu, pMixedCtx, false /*fMemory*/, false /*fNeedRsp*/); … … 11974 11975 pVmxTransient->fUpdateTscOffsettingAndPreemptTimer = true; 11975 11976 } 11976 else if (rcStrict == VINF_ EM_RESCHEDULE)11977 else if (rcStrict == VINF_IEM_RAISED_XCPT) 11977 11978 rcStrict = VINF_SUCCESS; 11979 HMCPU_CF_SET(pVCpu, rcStrict != VINF_IEM_RAISED_XCPT ? HM_CHANGED_GUEST_RIP | HM_CHANGED_GUEST_RFLAGS : HM_CHANGED_ALL_GUEST); 11978 11980 STAM_COUNTER_INC(&pVCpu->hm.s.StatExitRdtscp); 11979 11981 return rcStrict;
Note:
See TracChangeset
for help on using the changeset viewer.