VirtualBox

Changeset 30756 in vbox


Ignore:
Timestamp:
Jul 9, 2010 10:11:27 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
63538
Message:

Ignore VERR_GMM_HIT_VM_ACCOUNT_LIMIT when there are still pages left.

File:
1 edited

Legend:

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

    r30652 r30756  
    36113611    }
    36123612
     3613    /* todo: we should split this up into an allocate and flush operation. sometimes you want to flush and not allocate more (which will trigger the vm account limit error) */
     3614    if (    rc == VERR_GMM_HIT_VM_ACCOUNT_LIMIT
     3615        &&  pVM->pgm.s.cHandyPages > 0)
     3616    {
     3617        /* Still handy pages left, so don't panic. */
     3618        rc = VINF_SUCCESS;
     3619    }
     3620
    36133621    if (RT_SUCCESS(rc))
    36143622    {
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