VirtualBox

Changeset 35151 in vbox


Ignore:
Timestamp:
Dec 15, 2010 4:42:08 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
68988
Message:

Main/settings: leave out RAW format definition for DVD and floppy images, it is the default and is selected when nothing is specified

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/xml/Settings.cpp

    r35149 r35151  
    10091009    pelmMedium->setAttributePath("location", mdm.strLocation);
    10101010
    1011     pelmMedium->setAttribute("format", mdm.strFormat);
     1011    if (devType == DeviceType_HardDisk || RTStrICmp(mdm.strFormat.c_str(), "RAW"))
     1012        pelmMedium->setAttribute("format", mdm.strFormat);
    10121013    if (mdm.fAutoReset)
    10131014        pelmMedium->setAttribute("autoReset", mdm.fAutoReset);
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