Changeset 45412 in vbox for trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
- Timestamp:
- Apr 8, 2013 4:16:53 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r45409 r45412 4550 4550 enmReflect = VMXREFLECTXCPT_XCPT; 4551 4551 } 4552 else if ( hmR0VmxIsContributoryXcpt(uIdtVector)4553 && hmR0VmxIsContributoryXcpt(uExitVector))4554 {4555 enmReflect = VMXREFLECTXCPT_DF;4556 }4557 4552 else if ( (pVCpu->hm.s.vmx.u32XcptBitmap & RT_BIT(X86_XCPT_PF)) 4558 4553 && uIdtVector == X86_XCPT_PF … … 4560 4555 { 4561 4556 pVmxTransient->fVectoringPF = true; 4557 } 4558 else if ( hmR0VmxIsContributoryXcpt(uIdtVector) 4559 && hmR0VmxIsContributoryXcpt(uExitVector)) 4560 { 4561 enmReflect = VMXREFLECTXCPT_DF; 4562 4562 } 4563 4563 else if ( hmR0VmxInterceptingContributoryXcpts(pVCpu) … … 6337 6337 Assert(!(pVCpu->hm.s.fContextUseFlags & HM_CHANGED_HOST_CONTEXT)); 6338 6338 Log(("LoadFlags=%#RX32\n", pVCpu->hm.s.fContextUseFlags)); 6339 int rc = VMXR0LoadGuestState(pVM, pVCpu, pMixedCtx); 6339 int rc = VINF_SUCCESS; 6340 if (pVCpu->hm.s.fContextUseFlags == HM_CHANGED_GUEST_RIP) 6341 rc = hmR0VmxLoadGuestRip(pVM, pVCpu, pMixedCtx); 6342 else if (pVCpu->hm.s.fContextUseFlags) 6343 rc = VMXR0LoadGuestState(pVM, pVCpu, pMixedCtx); 6340 6344 AssertRC(rc); 6341 6345 AssertMsg(!pVCpu->hm.s.fContextUseFlags, ("fContextUseFlags =%#x\n", pVCpu->hm.s.fContextUseFlags)); … … 6494 6498 AssertMsg(pVCpu->hm.s.idEnteredCpu == RTMpCpuId(), 6495 6499 ("Illegal migration! Entered on CPU %u Current %u cLoops=%u\n", (unsigned)pVCpu->hm.s.idEnteredCpu, 6496 6500 (unsigned)RTMpCpuId(), cLoops)); 6497 6501 6498 6502 /* Preparatory work for running guest code, this may return to ring-3 for some last minute updates. */ … … 8022 8026 #else 8023 8027 /* Aggressive state sync. for now. */ 8024 rc 8028 rc |= hmR0VmxSaveGuestGprs(pVM, pVCpu, pMixedCtx); 8025 8029 rc |= hmR0VmxSaveGuestControlRegs(pVM, pVCpu, pMixedCtx); 8026 8030 rc |= hmR0VmxSaveGuestSegmentRegs(pVM, pVCpu, pMixedCtx);
Note:
See TracChangeset
for help on using the changeset viewer.