Changeset 45413 in vbox
- Timestamp:
- Apr 8, 2013 8:15:01 PM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 84841
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r45412 r45413 2795 2795 Log(("VMX_VMCS64_CTRL_EPTP_FULL=%#RX64\n", pVCpu->hm.s.vmx.GCPhysEPTP)); 2796 2796 2797 if ( CPUMIsGuestPagingEnabledEx(pCtx)2798 || pVM->hm.s.vmx.fUnrestrictedGuest)2797 if ( pVM->hm.s.vmx.fUnrestrictedGuest 2798 || CPUMIsGuestPagingEnabledEx(pCtx)) 2799 2799 { 2800 2800 /* If the guest is in PAE mode, pass the PDPEs to VT-x using the VMCS fields. */ 2801 2801 if (CPUMIsGuestInPAEModeEx(pCtx)) 2802 2802 { 2803 rc = PGMGstGetPaePdpes(pVCpu, &pVCpu->hm.s.aPdpes[0]);2803 rc = PGMGstGetPaePdpes(pVCpu, &pVCpu->hm.s.aPdpes[0]); 2804 2804 rc |= VMXWriteVmcs64(VMX_VMCS64_GUEST_PDPTE0_FULL, pVCpu->hm.s.aPdpes[0].u); 2805 2805 rc |= VMXWriteVmcs64(VMX_VMCS64_GUEST_PDPTE1_FULL, pVCpu->hm.s.aPdpes[1].u); … … 5267 5267 return VINF_SUCCESS; 5268 5268 5269 VMMRZCallRing3Disable(pVCpu); /* We're not using hmR0VmxCallRing3Disable() as we want to respect nesting here. */5269 VMMRZCallRing3Disable(pVCpu); 5270 5270 5271 5271 int rc = hmR0VmxSaveGuestGprs(pVM, pVCpu, pMixedCtx); … … 7532 7532 case VMX_EXIT_QUALIFICATION_CRX_ACCESS_CLTS: /* CLTS (Clear Task-Switch Flag in CR0) */ 7533 7533 { 7534 rc = hmR0VmxSaveGuestCR0(pVM, pVCpu, pMixedCtx); 7535 rc |= EMInterpretCLTS(pVM, pVCpu); 7534 rc = hmR0VmxSaveGuestCR0(pVM, pVCpu, pMixedCtx); 7535 AssertRCReturn(rc, rc); 7536 rc = EMInterpretCLTS(pVM, pVCpu); 7536 7537 AssertRCReturn(rc, rc); 7537 7538 pVCpu->hm.s.fContextUseFlags |= HM_CHANGED_GUEST_CR0; … … 7543 7544 case VMX_EXIT_QUALIFICATION_CRX_ACCESS_LMSW: /* LMSW (Load Machine-Status Word into CR0) */ 7544 7545 { 7545 rc 7546 rc = hmR0VmxSaveGuestCR0(pVM, pVCpu, pMixedCtx); 7546 7547 AssertRCReturn(rc, rc); 7547 7548 rc = EMInterpretLMSW(pVM, pVCpu, CPUMCTX2CORE(pMixedCtx), VMX_EXIT_QUALIFICATION_CRX_LMSW_DATA(uExitQualification));
Note:
See TracChangeset
for help on using the changeset viewer.