Changeset 45963 in vbox for trunk/src/VBox/VMM
- Timestamp:
- May 8, 2013 11:44:31 PM (12 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r45955 r45963 2922 2922 rc = VMXWriteVmcs64(VMX_VMCS64_GUEST_PDPTE2_FULL, pVCpu->hm.s.aPdpes[2].u); AssertRCReturn(rc, rc); 2923 2923 rc = VMXWriteVmcs64(VMX_VMCS64_GUEST_PDPTE3_FULL, pVCpu->hm.s.aPdpes[3].u); AssertRCReturn(rc, rc); 2924 AssertRCReturn(rc, rc);2925 2924 } 2926 2925 … … 3148 3147 /* Update the processor-based VM-execution controls regarding intercepting MOV DRx instructions. */ 3149 3148 if (fInterceptMovDRx) 3150 pVCpu->hm.s.vmx.u32ProcCtls 3149 pVCpu->hm.s.vmx.u32ProcCtls |= VMX_VMCS_CTRL_PROC_EXEC_MOV_DR_EXIT; 3151 3150 else 3152 pVCpu->hm.s.vmx.u32ProcCtls 3153 3154 rc = VMXWriteVmcs32(VMX_VMCS32_CTRL_EXCEPTION_BITMAP, 3151 pVCpu->hm.s.vmx.u32ProcCtls &= ~VMX_VMCS_CTRL_PROC_EXEC_MOV_DR_EXIT; 3152 3153 rc = VMXWriteVmcs32(VMX_VMCS32_CTRL_EXCEPTION_BITMAP, pVCpu->hm.s.vmx.u32XcptBitmap); 3155 3154 AssertRCReturn(rc, rc); 3156 3155 rc = VMXWriteVmcs32(VMX_VMCS32_CTRL_PROC_EXEC, pVCpu->hm.s.vmx.u32ProcCtls); … … 5269 5268 if (!(pVCpu->hm.s.vmx.fUpdatedGuestState & HMVMX_UPDATED_GUEST_SEGMENT_REGS)) 5270 5269 { 5271 int rc = hmR0VmxSaveGuestCR0(pVCpu, pMixedCtx); 5272 AssertRCReturn(rc, rc); 5273 rc = VMXLOCAL_READ_SEG(CS, cs); 5274 AssertRCReturn(rc, rc); 5275 rc = VMXLOCAL_READ_SEG(SS, ss); 5276 AssertRCReturn(rc, rc); 5277 rc = VMXLOCAL_READ_SEG(DS, ds); 5278 AssertRCReturn(rc, rc); 5279 rc = VMXLOCAL_READ_SEG(ES, es); 5280 AssertRCReturn(rc, rc); 5281 rc = VMXLOCAL_READ_SEG(FS, fs); 5282 AssertRCReturn(rc, rc); 5283 rc = VMXLOCAL_READ_SEG(GS, gs); 5284 AssertRCReturn(rc, rc); 5270 int rc = hmR0VmxSaveGuestCR0(pVCpu, pMixedCtx); AssertRCReturn(rc, rc); 5271 rc = VMXLOCAL_READ_SEG(CS, cs); AssertRCReturn(rc, rc); 5272 rc = VMXLOCAL_READ_SEG(SS, ss); AssertRCReturn(rc, rc); 5273 rc = VMXLOCAL_READ_SEG(DS, ds); AssertRCReturn(rc, rc); 5274 rc = VMXLOCAL_READ_SEG(ES, es); AssertRCReturn(rc, rc); 5275 rc = VMXLOCAL_READ_SEG(FS, fs); AssertRCReturn(rc, rc); 5276 rc = VMXLOCAL_READ_SEG(GS, gs); AssertRCReturn(rc, rc); 5285 5277 5286 5278 /* Restore segment attributes for real-on-v86 mode hack. */ -
trunk/src/VBox/VMM/VMMR3/HM.cpp
r45949 r45963 2941 2941 LogRel(("HM: Cpu%d EntryCtls %#RX32\n", i, pVM->aCpus[i].hm.s.vmx.u32EntryCtls)); 2942 2942 LogRel(("HM: Cpu%d ExitCtls %#RX32\n", i, pVM->aCpus[i].hm.s.vmx.u32ExitCtls)); 2943 LogRel(("HM: Cpu%d MSRBitmapPhys % RHp\n",i, pVM->aCpus[i].hm.s.vmx.HCPhysMsrBitmap));2943 LogRel(("HM: Cpu%d MSRBitmapPhys %#RHp\n", i, pVM->aCpus[i].hm.s.vmx.HCPhysMsrBitmap)); 2944 2944 #ifdef VBOX_WITH_AUTO_MSR_LOAD_RESTORE 2945 LogRel(("HM: Cpu%d GuestMSRPhys % RHp\n",i, pVM->aCpus[i].hm.s.vmx.HCPhysGuestMsr));2946 LogRel(("HM: Cpu%d HostMsrPhys % RHp\n",i, pVM->aCpus[i].hm.s.vmx.HCPhysHostMsr));2947 LogRel(("HM: Cpu%d cGuestMSRs %u\n", i, pVM->aCpus[i].hm.s.vmx.cGuestMsrs));2945 LogRel(("HM: Cpu%d GuestMSRPhys %#RHp\n", i, pVM->aCpus[i].hm.s.vmx.HCPhysGuestMsr)); 2946 LogRel(("HM: Cpu%d HostMsrPhys %#RHp\n", i, pVM->aCpus[i].hm.s.vmx.HCPhysHostMsr)); 2947 LogRel(("HM: Cpu%d cGuestMSRs %u\n", i, pVM->aCpus[i].hm.s.vmx.cGuestMsrs)); 2948 2948 #endif 2949 2949 }
Note:
See TracChangeset
for help on using the changeset viewer.