VirtualBox

Changeset 6634 in vbox


Ignore:
Timestamp:
Jan 30, 2008 9:41:24 PM (17 years ago)
Author:
vboxsync
Message:

fixes to new (disabled) code.

File:
1 edited

Legend:

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

    r6627 r6634  
    249249            enmPolicy = GMMOCPOLICY_NO_OC;
    250250        else
    251             return VMSetError(pVM, VERR_INVALID_PARAMETER, RT_SRC_POS, "Unknown \"MM/Policy\" value \"%s\"", sz)
     251            return VMSetError(pVM, VERR_INVALID_PARAMETER, RT_SRC_POS, "Unknown \"MM/Policy\" value \"%s\"", sz);
    252252    }
    253253    else if (rc == VERR_CFGM_VALUE_NOT_FOUND)
     
    272272            enmPriority = GMMPRIORITY_HIGH;
    273273        else
    274             return VMSetError(pVM, VERR_INVALID_PARAMETER, RT_SRC_POS, "Unknown \"MM/Priority\" value \"%s\"", sz)
     274            return VMSetError(pVM, VERR_INVALID_PARAMETER, RT_SRC_POS, "Unknown \"MM/Priority\" value \"%s\"", sz);
    275275    }
    276276    else if (rc == VERR_CFGM_VALUE_NOT_FOUND)
     
    285285    if (RT_FAILURE(rc))
    286286    {
    287         if (rc == VERR_GMM_NOT_SUFFICENT_MEMORY)
     287        if (rc == VERR_GMM_MEMORY_RESERVATION_DECLINED)
    288288            return VMSetError(pVM, rc, RT_SRC_POS,
    289289                              N_("Insufficient free memory to start the VM (cbRam=%#RX64 enmPolicy=%d enmPriority=%d)"),
    290290                              cbRam, enmPolicy, enmPriority);
    291291        return VMSetError(pVM, rc, RT_SRC_POS, "GMMR3InitialReservation(,%#RX64,0,0,%d,%d).",
    292                           cbRam >> PAGE_SHIFT, enmPolicy, enmPriority)
     292                          cbRam >> PAGE_SHIFT, enmPolicy, enmPriority);
    293293    }
    294294#endif /* VBOX_WITH_NEW_PHYS_CODE */
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