VirtualBox

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


Ignore:
Timestamp:
Oct 2, 2009 3:02:12 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
53158
Message:

Backed out 53066; problem area elswhere

File:
1 edited

Legend:

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

    r23464 r23519  
    485485        }
    486486        pPage->Core.Key  = MMPage2Phys(pVM, pPage->pvPageR3);
    487         if (pPage->Core.Key == 0)
    488         {
    489             /* Physical page 0 can trigger problems with AMD-V; allocate a new one. */
    490             pPage->pvPageR3 = MMR3PageAllocLow(pVM);
    491             if (!pPage->pvPageR3)
    492             {
    493                 Log(("We're out of memory!! i=%d\n", i));
    494                 pgmUnlock(pVM);
    495                 return i ? VINF_SUCCESS : VERR_NO_PAGE_MEMORY;
    496             }
    497             pPage->Core.Key  = MMPage2Phys(pVM, pPage->pvPageR3);
    498         }
    499 
    500487        pPage->GCPhys    = NIL_RTGCPHYS;
    501488        pPage->enmKind   = PGMPOOLKIND_FREE;
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