VirtualBox

Changeset 43518 in vbox


Ignore:
Timestamp:
Oct 2, 2012 4:35:00 PM (12 years ago)
Author:
vboxsync
Message:

Main: Allow configuring CD/DVD drives for SCSI/SAS.

File:
1 edited

Legend:

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

    r42748 r43518  
    532532        case StorageBus_IDE:
    533533        case StorageBus_SATA:
     534        case StorageBus_SCSI:
     535        case StorageBus_SAS:
    534536        {
    535537            com::SafeArray<DeviceType_T> saDeviceTypes(2);
    536538            saDeviceTypes[0] = DeviceType_DVD;
    537539            saDeviceTypes[1] = DeviceType_HardDisk;
    538             saDeviceTypes.detachTo(ComSafeArrayOutArg(aDeviceTypes));
    539             break;
    540         }
    541         case StorageBus_SCSI:
    542         case StorageBus_SAS:
    543         {
    544             com::SafeArray<DeviceType_T> saDeviceTypes(1);
    545             saDeviceTypes[0] = DeviceType_HardDisk;
    546540            saDeviceTypes.detachTo(ComSafeArrayOutArg(aDeviceTypes));
    547541            break;
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