Changeset 34957 in vbox
- Timestamp:
- Dec 10, 2010 3:02:55 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HWVMXR0.cpp
r34956 r34957 2297 2297 RTCCUINTREG uOldEFlags = ~(RTCCUINTREG)0; 2298 2298 unsigned cResume = 0; 2299 PHWACCM_CPUINFO pCpu = HWACCMR0GetCurrentCpu(); 2299 2300 #ifdef VBOX_STRICT 2300 2301 RTCPUID idCpuCheck; … … 2306 2307 2307 2308 Assert(!(pVM->hwaccm.s.vmx.msr.vmx_proc_ctls2.n.allowed1 & VMX_VMCS_CTRL_PROC_EXEC2_VIRT_APIC) || (pVCpu->hwaccm.s.vmx.pVAPIC && pVM->hwaccm.s.vmx.pAPIC)); 2309 AssertReturn(pCpu, VERR_INTERNAL_ERROR); 2308 2310 2309 2311 /* Check if we need to use TPR shadowing. */ … … 2575 2577 ) 2576 2578 { 2577 PHWACCM_CPUINFO pCpu;2578 2579 pCpu = HWACCMR0GetCurrentCpu();2580 2579 if ( pVCpu->hwaccm.s.idLastCpu != pCpu->idCpu 2581 2580 || pVCpu->hwaccm.s.cTLBFlushes != pCpu->cTLBFlushes) … … 2619 2618 2620 2619 /* Load the guest state */ 2621 if (!pVCpu->hwaccm.s.fContextUseFlags) 2620 if ( !pVCpu->hwaccm.s.fContextUseFlags 2621 && pVCpu->hwaccm.s.idLastCpu == pCpu->idCpu) 2622 2622 { 2623 2623 VMXR0LoadMinimalGuestState(pVM, pVCpu, pCtx);
Note:
See TracChangeset
for help on using the changeset viewer.