VirtualBox

Changeset 20228 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Jun 3, 2009 12:05:11 PM (16 years ago)
Author:
vboxsync
Message:

Fixed VT-x state loading failure.

Location:
trunk/src/VBox/VMM
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/HWACCM.cpp

    r20145 r20228  
    11611161        {
    11621162            PVMCPU pVCpu = &pVM->aCpus[i];
    1163             /* @todo SMP */
     1163
    11641164            pVCpu->hwaccm.s.enmShadowMode            = PGMGetShadowMode(pVCpu);
    1165             pVCpu->hwaccm.s.vmx.enmLastSeenGuestMode = PGMGetGuestMode(pVCpu);
     1165            Assert(pVCpu->hwaccm.s.vmx.enmCurrGuestMode == PGMGetGuestMode(pVCpu));
     1166            pVCpu->hwaccm.s.vmx.enmCurrGuestMode     = PGMGetGuestMode(pVCpu);
    11661167        }
    11671168    }
  • trunk/src/VBox/VMM/VMMAll/PGMAllBth.h

    r20135 r20228  
    813813                        uint64_t fPageGst;
    814814                        rc = PGMGstGetPage(pVCpu, pvFault, &fPageGst, &GCPhys);
    815                         Assert(RT_SUCCESS(rc) && fPageGst & X86_PTE_RW);
     815                        Assert(RT_SUCCESS(rc) && (fPageGst & X86_PTE_RW));
    816816                        LogFlow(("Obsolete physical monitor page out of sync %RGv - phys %RGp flags=%08llx\n", pvFault, GCPhys, (uint64_t)fPageGst));
    817817
Note: See TracChangeset for help on using the changeset viewer.

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