VirtualBox

Changeset 45413 in vbox


Ignore:
Timestamp:
Apr 8, 2013 8:15:01 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
84841
Message:

VMM/VMMR0: HM bits.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp

    r45412 r45413  
    27952795            Log(("VMX_VMCS64_CTRL_EPTP_FULL=%#RX64\n", pVCpu->hm.s.vmx.GCPhysEPTP));
    27962796
    2797             if (   CPUMIsGuestPagingEnabledEx(pCtx)
    2798                 || pVM->hm.s.vmx.fUnrestrictedGuest)
     2797            if (   pVM->hm.s.vmx.fUnrestrictedGuest
     2798                || CPUMIsGuestPagingEnabledEx(pCtx))
    27992799            {
    28002800                /* If the guest is in PAE mode, pass the PDPEs to VT-x using the VMCS fields. */
    28012801                if (CPUMIsGuestInPAEModeEx(pCtx))
    28022802                {
    2803                     rc = PGMGstGetPaePdpes(pVCpu, &pVCpu->hm.s.aPdpes[0]);
     2803                    rc  = PGMGstGetPaePdpes(pVCpu, &pVCpu->hm.s.aPdpes[0]);
    28042804                    rc |= VMXWriteVmcs64(VMX_VMCS64_GUEST_PDPTE0_FULL, pVCpu->hm.s.aPdpes[0].u);
    28052805                    rc |= VMXWriteVmcs64(VMX_VMCS64_GUEST_PDPTE1_FULL, pVCpu->hm.s.aPdpes[1].u);
     
    52675267        return VINF_SUCCESS;
    52685268
    5269     VMMRZCallRing3Disable(pVCpu);   /* We're not using hmR0VmxCallRing3Disable() as we want to respect nesting here. */
     5269    VMMRZCallRing3Disable(pVCpu);
    52705270
    52715271    int rc = hmR0VmxSaveGuestGprs(pVM, pVCpu, pMixedCtx);
     
    75327532        case VMX_EXIT_QUALIFICATION_CRX_ACCESS_CLTS:        /* CLTS (Clear Task-Switch Flag in CR0) */
    75337533        {
    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);
    75367537            AssertRCReturn(rc, rc);
    75377538            pVCpu->hm.s.fContextUseFlags |= HM_CHANGED_GUEST_CR0;
     
    75437544        case VMX_EXIT_QUALIFICATION_CRX_ACCESS_LMSW:        /* LMSW (Load Machine-Status Word into CR0) */
    75447545        {
    7545             rc  = hmR0VmxSaveGuestCR0(pVM, pVCpu, pMixedCtx);
     7546            rc = hmR0VmxSaveGuestCR0(pVM, pVCpu, pMixedCtx);
    75467547            AssertRCReturn(rc, rc);
    75477548            rc = EMInterpretLMSW(pVM, pVCpu, CPUMCTX2CORE(pMixedCtx), VMX_EXIT_QUALIFICATION_CRX_LMSW_DATA(uExitQualification));
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette