Changeset 69914 in vbox
- Timestamp:
- Dec 4, 2017 5:22:55 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMSVMR0.cpp
r69898 r69914 884 884 static void hmR0SvmFlushTaggedTlb(PVMCPU pVCpu, PCPUMCTX pCtx, PSVMVMCB pVmcb) 885 885 { 886 #ifndef VBOX_WITH_NESTED_HWVIRT 887 RT_NOREF(pCtx); 888 #endif 889 886 890 PVM pVM = pVCpu->CTX_SUFF(pVM); 887 891 PHMGLOBALCPUINFO pCpu = hmR0GetCurrentCpu(); … … 896 900 Assert(pCpu->idCpu != NIL_RTCPUID); 897 901 if ( pVCpu->hm.s.idLastCpu != pCpu->idCpu 898 || pVCpu->hm.s.cTlbFlushes != pCpu->cTlbFlushes) 902 || pVCpu->hm.s.cTlbFlushes != pCpu->cTlbFlushes 903 #ifdef VBOX_WITH_NESTED_HWVIRT 904 || CPUMIsGuestInSvmNestedHwVirtMode(pCtx) 905 #endif 906 ) 899 907 { 900 908 STAM_COUNTER_INC(&pVCpu->hm.s.StatFlushTlbWorldSwitch); … … 902 910 fNewAsid = true; 903 911 } 904 905 #ifdef VBOX_WITH_NESTED_HWVIRT906 if (CPUMIsGuestInSvmNestedHwVirtMode(pCtx))907 fNewAsid = true;908 #else909 RT_NOREF(pCtx);910 #endif911 912 912 913 /* Set TLB flush state as checked until we return from the world switch. */
Note:
See TracChangeset
for help on using the changeset viewer.