VirtualBox

Changeset 20263 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Jun 4, 2009 10:32:59 AM (16 years ago)
Author:
vboxsync
Message:

OVF: one more check

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/ApplianceImpl.cpp

    r20261 r20263  
    19371937            /* CPU count */
    19381938            std::list<VirtualSystemDescriptionEntry*> vsdeCPU = vsdescThis->findByType (VirtualSystemDescriptionType_CPU);
     1939            ComAssertMsgThrow(vsdeCPU.size() == 1, ("CPU count missing"), E_FAIL);
    19391940            const Utf8Str &cpuVBox = vsdeCPU.front()->strVbox;
    19401941            ULONG tmpCount = (ULONG)RTStrToUInt64(cpuVBox.c_str());
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