Changeset 48082 in vbox for trunk/src/VBox
- Timestamp:
- Aug 27, 2013 1:09:01 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r48060 r48082 3198 3198 if (CPUMIsGuestInPAEModeEx(pMixedCtx)) 3199 3199 { 3200 rc = PGMGstGetPaePdpes(pVCpu, &pVCpu->hm.s.aPdpes[0]);AssertRCReturn(rc, rc);3200 rc = PGMGstGetPaePdpes(pVCpu, &pVCpu->hm.s.aPdpes[0]); AssertRCReturn(rc, rc); 3201 3201 rc = VMXWriteVmcs64(VMX_VMCS64_GUEST_PDPTE0_FULL, pVCpu->hm.s.aPdpes[0].u); AssertRCReturn(rc, rc); 3202 3202 rc = VMXWriteVmcs64(VMX_VMCS64_GUEST_PDPTE1_FULL, pVCpu->hm.s.aPdpes[1].u); AssertRCReturn(rc, rc); … … 6153 6153 Log4Func(("Cleared Vmcs. HostCpuId=%u\n", idCpu)); 6154 6154 } 6155 6156 pVCpu->hm.s.vmx.uVmcsState &= ~HMVMX_VMCS_STATE_LAUNCHED; 6155 Assert(!(pVCpu->hm.s.vmx.uVmcsState & HMVMX_VMCS_STATE_LAUNCHED)); 6157 6156 NOREF(idCpu); 6158 6157 } … … 7428 7427 AssertMsg(!pVCpu->hm.s.fContextUseFlags, ("fContextUseFlags=%#x\n", pVCpu->hm.s.fContextUseFlags)); 7429 7428 7430 7431 7429 /* 7432 7430 * Cache the TPR-shadow for checking on every VM-exit if it might have changed. … … 7515 7513 VMCPU_SET_STATE(pVCpu, VMCPUSTATE_STARTED_HM); 7516 7514 7515 pVCpu->hm.s.vmx.uVmcsState |= HMVMX_VMCS_STATE_LAUNCHED; /* Use VMRESUME instead of VMLAUNCH in the next run. */ 7517 7516 ASMSetFlags(pVmxTransient->uEflags); /* Enable interrupts. */ 7518 pVCpu->hm.s.vmx.uVmcsState |= HMVMX_VMCS_STATE_LAUNCHED; /* Use VMRESUME instead of VMLAUNCH in the next run. */ 7517 7518 VMMRZCallRing3SetNotification(pVCpu, hmR0VmxCallRing3Callback, pMixedCtx); 7519 VMMRZCallRing3Enable(pVCpu); /* It is now safe to do longjmps to ring-3!!! */ 7519 7520 7520 7521 /* Save the basic VM-exit reason. Refer Intel spec. 24.9.1 "Basic VM-exit Information". */ … … 7525 7526 pVmxTransient->uExitReason = (uint16_t)VMX_EXIT_REASON_BASIC(uExitReason); 7526 7527 pVmxTransient->fVMEntryFailed = !!VMX_ENTRY_INTERRUPTION_INFO_VALID(pVmxTransient->uEntryIntrInfo); 7527 7528 VMMRZCallRing3SetNotification(pVCpu, hmR0VmxCallRing3Callback, pMixedCtx);7529 VMMRZCallRing3Enable(pVCpu); /* It is now safe to do longjmps to ring-3!!! */7530 7528 7531 7529 /* If the VMLAUNCH/VMRESUME failed, we can bail out early. This does -not- cover VMX_EXIT_ERR_*. */
Note:
See TracChangeset
for help on using the changeset viewer.