VirtualBox

Changeset 19415 in vbox


Ignore:
Timestamp:
May 6, 2009 8:39:40 AM (16 years ago)
Author:
vboxsync
Message:

Corrected assertions

File:
1 edited

Legend:

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

    r19400 r19415  
    609609        return VINF_SUCCESS;
    610610    }
    611     AssertReturn(pVM->tm.s.cVirtualTicking < pVM->cCPUs, VERR_INTERNAL_ERROR);
     611    AssertMsgReturn(pVM->tm.s.cVirtualTicking <= pVM->cCPUs, ("%d vs %d\n", pVM->tm.s.cVirtualTicking, pVM->cCPUs), VERR_INTERNAL_ERROR);
    612612    return VINF_SUCCESS;
    613613}
     
    633633        return VINF_SUCCESS;
    634634    }
    635     AssertReturn(pVM->tm.s.cVirtualTicking < pVM->cCPUs, VERR_INTERNAL_ERROR);
     635    AssertMsgReturn(pVM->tm.s.cVirtualTicking <= pVM->cCPUs, ("%d vs %d\n", pVM->tm.s.cVirtualTicking, pVM->cCPUs), VERR_INTERNAL_ERROR);
    636636    return VINF_SUCCESS;
    637637}
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