VirtualBox

Changeset 39058 in vbox for trunk/src/VBox/Main/src-all


Ignore:
Timestamp:
Oct 20, 2011 2:33:44 PM (13 years ago)
Author:
vboxsync
Message:

Added machinery to add floppy or not add USB for new VMs depending on guest type.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-all/Global.cpp

    r39055 r39058  
    3737      StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, AudioControllerType_AC97 },
    3838    { "Windows", "Microsoft Windows", SchemaDefs_OSTypeId_Windows31,       "Windows 3.1",
    39       VBOXOSTYPE_Win31,           VBOXOSHINT_NONE,
     39      VBOXOSTYPE_Win31,           VBOXOSHINT_NONE | VBOXOSHINT_FLOPPY,
    4040        32,   4,  1 * _1G64, NetworkAdapterType_Am79C973, 0, StorageControllerType_PIIX4, StorageBus_IDE,
    4141        StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, AudioControllerType_SB16  },
     
    265265        StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, AudioControllerType_AC97  },
    266266    { "OS2",     "IBM OS/2",          SchemaDefs_OSTypeId_OS2Warp3,        "OS/2 Warp 3",
    267       VBOXOSTYPE_OS2Warp3,        VBOXOSHINT_HWVIRTEX,
     267      VBOXOSTYPE_OS2Warp3,        VBOXOSHINT_HWVIRTEX | VBOXOSHINT_FLOPPY,
    268268        48,   4,  1 * _1G64, NetworkAdapterType_Am79C973, 1, StorageControllerType_PIIX4, StorageBus_IDE,
    269269        StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, AudioControllerType_AC97  },
    270270    { "OS2",     "IBM OS/2",          SchemaDefs_OSTypeId_OS2Warp4,        "OS/2 Warp 4",
    271       VBOXOSTYPE_OS2Warp4,        VBOXOSHINT_HWVIRTEX,
     271      VBOXOSTYPE_OS2Warp4,        VBOXOSHINT_HWVIRTEX | VBOXOSHINT_FLOPPY,
    272272        64,   4,  2 * _1G64, NetworkAdapterType_Am79C973, 1, StorageControllerType_PIIX4, StorageBus_IDE,
    273273        StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, AudioControllerType_AC97  },
     
    281281        StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, AudioControllerType_AC97  },
    282282    { "OS2",     "IBM OS/2",          SchemaDefs_OSTypeId_OS2,             "Other OS/2",
    283       VBOXOSTYPE_OS2,             VBOXOSHINT_HWVIRTEX,
     283      VBOXOSTYPE_OS2,             VBOXOSHINT_HWVIRTEX | VBOXOSHINT_FLOPPY,
    284284        96,   4,  2 * _1G64, NetworkAdapterType_Am79C973, 1, StorageControllerType_PIIX4, StorageBus_IDE,
    285285        StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, AudioControllerType_AC97  },
     
    295295      ChipsetType_ICH9, AudioControllerType_HDA  },
    296296    { "Other",   "Other",             SchemaDefs_OSTypeId_DOS,             "DOS",
    297       VBOXOSTYPE_DOS,             VBOXOSHINT_NONE,
     297      VBOXOSTYPE_DOS,             VBOXOSHINT_NONE | VBOXOSHINT_FLOPPY | VBOXOSHINT_NOUSB,
    298298        32,   4,  500 * _1M, NetworkAdapterType_Am79C973, 0, StorageControllerType_PIIX4, StorageBus_IDE,
    299299        StorageControllerType_PIIX4, StorageBus_IDE, ChipsetType_PIIX3, AudioControllerType_SB16  },
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