- Timestamp:
- Dec 6, 2018 11:51:06 AM (6 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/IEMAllCImplSvmInstr.cpp.h
r75830 r76011 340 340 # if defined(VBOX_WITH_NESTED_HWVIRT_ONLY_IN_IEM) && defined(IN_RING3) 341 341 /* CLGI/STGI may not have been intercepted and thus not executed in IEM. */ 342 if ( HMIsEnabled(pV M)342 if ( HMIsEnabled(pVCpu->CTX_SUFF(pVM)) 343 343 && HMSvmIsVGifActive(pVCpu->CTX_SUFF(pVM))) 344 344 return EMR3SetExecutionPolicy(pVCpu->CTX_SUFF(pVM)->pUVM, EMEXECPOLICY_IEM_ALL, false); -
trunk/src/VBox/VMM/VMMR0/HMSVMR0.cpp
r76009 r76011 4307 4307 4308 4308 #ifdef VBOX_WITH_NESTED_HWVIRT_ONLY_IN_IEM 4309 Log2(("hmR0SvmPreRunGuest: Rescheduling to IEM due to nested-hwvirt or forced IEM exec -> VINF_EM_RESCHEDULE_REM\n")); 4310 return VINF_EM_RESCHEDULE_REM; 4309 if (CPUMIsGuestInSvmNestedHwVirtMode(pCtx)) /* Redundant check to avoid unreachable code warning. */ 4310 { 4311 Log2(("hmR0SvmPreRunGuest: Rescheduling to IEM due to nested-hwvirt or forced IEM exec -> VINF_EM_RESCHEDULE_REM\n")); 4312 return VINF_EM_RESCHEDULE_REM; 4313 } 4311 4314 #endif 4312 4315 -
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r76009 r76011 8440 8440 8441 8441 #ifdef VBOX_WITH_NESTED_HWVIRT_ONLY_IN_IEM 8442 Log2(("hmR0VmxPreRunGuest: Rescheduling to IEM due to nested-hwvirt or forced IEM exec -> VINF_EM_RESCHEDULE_REM\n")); 8443 RT_NOREF3(pVCpu, pVmxTransient, fStepping); 8444 return VINF_EM_RESCHEDULE_REM; 8442 if (CPUMIsGuestVmxEnabled(&pVCpu->cpum.GstCtx)) 8443 { 8444 Log2(("hmR0VmxPreRunGuest: Rescheduling to IEM due to nested-hwvirt or forced IEM exec -> VINF_EM_RESCHEDULE_REM\n")); 8445 RT_NOREF3(pVCpu, pVmxTransient, fStepping); 8446 return VINF_EM_RESCHEDULE_REM; 8447 } 8445 8448 #endif 8446 8449
Note:
See TracChangeset
for help on using the changeset viewer.