VirtualBox

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


Ignore:
Timestamp:
Mar 1, 2010 1:31:38 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
58195
Message:

Only PGM_PAGE_STATE_ZERO is valid here

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/PGMAllPhys.cpp

    r26907 r26911  
    507507                rc = pgmPhysGetPageEx(&pVM->pgm.s, GCPhys, &pPage);
    508508                if  (   RT_FAILURE(rc)
    509                      || PGM_PAGE_GET_TYPE(pPage)  != PGMPAGETYPE_RAM
    510                      || PGM_PAGE_GET_STATE(pPage) == PGM_PAGE_STATE_ALLOCATED)
     509                     || PGM_PAGE_GET_TYPE(pPage)  != PGMPAGETYPE_RAM        /* Anything other than ram implies monitoring. */
     510                     || PGM_PAGE_GET_STATE(pPage) != PGM_PAGE_STATE_ZERO)   /* allocated, monitored or shared means we can't use a large page here */
    511511                {
    512512                    LogFlow(("Found page %RGp with wrong attributes (type=%d; state=%d); cancel check. rc=%d\n", GCPhys, PGM_PAGE_GET_TYPE(pPage), PGM_PAGE_GET_STATE(pPage), rc));
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