Changeset 48407 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Sep 10, 2013 1:10:41 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r48404 r48407 2625 2625 2626 2626 /* 2627 * The following should notbe set (since we're not in SMM mode):2627 * The following should -not- be set (since we're not in SMM mode): 2628 2628 * - VMX_VMCS_CTRL_ENTRY_ENTRY_SMM 2629 2629 * - VMX_VMCS_CTRL_ENTRY_DEACTIVATE_DUALMON … … 2632 2632 /** @todo VMX_VMCS_CTRL_ENTRY_LOAD_GUEST_PERF_MSR, 2633 2633 * VMX_VMCS_CTRL_ENTRY_LOAD_GUEST_PAT_MSR, 2634 * VMX_VMCS_CTRL_ENTRY_LOAD_GUEST_EFER_MSR */2634 * VMX_VMCS_CTRL_ENTRY_LOAD_GUEST_EFER_MSR */ 2635 2635 2636 2636 if ((val & zap) != val) … … 3689 3689 ("Access bit not set for usable segment. idx=%#x sel=%#x attr %#x\n", idxBase, pSelReg, pSelReg->Attr.u)); 3690 3690 3691 rc = VMXWriteVmcs32(idxAccess, u32Access); /* 32-bit guest segment access-rights field. */3691 rc = VMXWriteVmcs32(idxAccess, u32Access); /* 32-bit guest segment access-rights field. */ 3692 3692 AssertRCReturn(rc, rc); 3693 3693 return rc; … … 3997 3997 if (pVCpu->hm.s.fContextUseFlags & HM_CHANGED_GUEST_SYSENTER_CS_MSR) 3998 3998 { 3999 rc = VMXWriteVmcs32(VMX_VMCS32_GUEST_SYSENTER_CS, pMixedCtx->SysEnter.cs);AssertRCReturn(rc, rc);3999 rc = VMXWriteVmcs32(VMX_VMCS32_GUEST_SYSENTER_CS, pMixedCtx->SysEnter.cs); AssertRCReturn(rc, rc); 4000 4000 pVCpu->hm.s.fContextUseFlags &= ~HM_CHANGED_GUEST_SYSENTER_CS_MSR; 4001 4001 } … … 9923 9923 HMVMX_VALIDATE_EXIT_HANDLER_PARAMS(); 9924 9924 9925 /* We should -not- get this VM-exit if the guest is debugging. */ 9925 /* We should -not- get this VM-exit if the guest's debug registers are active. See CPUMR0LoadGuestDebugState(). */ 9926 #if HC_ARCH_BITS == 32 && defined(VBOX_WITH_64_BITS_GUESTS) && !defined(VBOX_WITH_HYBRID_32BIT_KERNEL) 9927 if ( !CPUMIsGuestInLongModeEx(pMixedCtx) /* EFER is always up-to-date. */ 9928 && CPUMIsGuestDebugStateActive(pVCpu)) 9929 #else 9926 9930 if (CPUMIsGuestDebugStateActive(pVCpu)) 9931 #endif 9927 9932 { 9928 9933 AssertMsgFailed(("Unexpected MOV DRx exit. pVCpu=%p pMixedCtx=%p\n", pVCpu, pMixedCtx));
Note:
See TracChangeset
for help on using the changeset viewer.