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