VirtualBox

Changeset 107438 in vbox


Ignore:
Timestamp:
Jan 6, 2025 6:25:57 PM (12 days ago)
Author:
vboxsync
Message:

Main/ApplianceImplImport.cpp: Fixed a warning found by Parfait. ​However, this is needs a more major review + cleanup, see @todos. jiraref:VBP-1424

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/ApplianceImplImport.cpp

    r107198 r107438  
    592592                const ovf::HardDiskController &hdc = hdcIt->second;
    593593
     594                /** @todo r=andy The following count checks look messy/wrong compared to what we define
     595                 *               elsewhere (e.g. PlatformProperties).  Needs to be checked (and fixed). */
     596
    594597                switch (hdc.system)
    595598                {
    596599                    case ovf::HardDiskController::IDE:
    597600                        /* Check for the constraints */
    598                         if (cIDEused < 4)
     601                        if (cIDEused < 4) /** @todo r=andy Is this really true? */
    599602                        {
    600603                            /// @todo figure out the IDE types
     
    612615                        else
    613616                            /* Warn only once */
    614                             if (cIDEused == 2)
     617                            if (cIDEused == 4) /** @todo r=andy See todo above. */
    615618                                i_addWarning(tr("Virtual appliance \"%s\" was configured with more than two "
    616619                                                "IDE controllers however VirtualBox supports a maximum of two "
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