VirtualBox

Changeset 29405 in vbox for trunk


Ignore:
Timestamp:
May 12, 2010 10:20:34 AM (15 years ago)
Author:
vboxsync
Message:

Main/FE/Qt4: prepare for correct SAS handling in the Appliance import/export

Location:
trunk/src/VBox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/widgets/VBoxApplianceEditorWgt.cpp

    r28800 r29405  
    189189                        case KVirtualSystemDescriptionType_HardDiskControllerSATA: v = VBoxApplianceEditorWgt::tr ("Hard Disk Controller (SATA)"); break;
    190190                        case KVirtualSystemDescriptionType_HardDiskControllerSCSI: v = VBoxApplianceEditorWgt::tr ("Hard Disk Controller (SCSI)"); break;
     191                        case KVirtualSystemDescriptionType_HardDiskControllerSAS: v = VBoxApplianceEditorWgt::tr ("Hard Disk Controller (SAS)"); break;
    191192                        case KVirtualSystemDescriptionType_CDROM: v = VBoxApplianceEditorWgt::tr ("DVD"); break;
    192193                        case KVirtualSystemDescriptionType_Floppy: v = VBoxApplianceEditorWgt::tr ("Floppy"); break;
     
    253254                        case KVirtualSystemDescriptionType_HardDiskControllerSATA: v = QIcon (":/sata_16px.png"); break;
    254255                        case KVirtualSystemDescriptionType_HardDiskControllerSCSI: v = QIcon (":/scsi_16px.png"); break;
     256                        case KVirtualSystemDescriptionType_HardDiskControllerSAS: v = QIcon (":/scsi_16px.png"); break;
    255257                        case KVirtualSystemDescriptionType_HardDiskImage: v = QIcon (":/hd_16px.png"); break;
    256258                        case KVirtualSystemDescriptionType_CDROM: v = QIcon (":/cd_16px.png"); break;
     
    667669                if (types[i] == KVirtualSystemDescriptionType_HardDiskControllerIDE ||
    668670                    types[i] == KVirtualSystemDescriptionType_HardDiskControllerSATA ||
    669                     types[i] == KVirtualSystemDescriptionType_HardDiskControllerSCSI)
     671                    types[i] == KVirtualSystemDescriptionType_HardDiskControllerSCSI ||
     672                    types[i] == KVirtualSystemDescriptionType_HardDiskControllerSAS)
    670673                    controllerMap[i] = hi;
    671674            }
     
    940943    KVirtualSystemDescriptionType_HardDiskControllerIDE,
    941944    KVirtualSystemDescriptionType_HardDiskControllerSATA,
    942     KVirtualSystemDescriptionType_HardDiskControllerSCSI
     945    KVirtualSystemDescriptionType_HardDiskControllerSCSI,
     946    KVirtualSystemDescriptionType_HardDiskControllerSAS
    943947};
    944948
  • trunk/src/VBox/Main/idl/VirtualBox.xidl

    r29363 r29405  
    34643464  <enum
    34653465    name="VirtualSystemDescriptionType"
    3466     uuid="aacc58de-5b45-4f82-ae2e-dd9a824fc3b5"
     3466    uuid="c0f8f135-3a1d-417d-afa6-b38b95a91f90"
    34673467  >
    34683468    <desc>Used with <link to="IVirtualSystemDescription" /> to describe the type of
     
    34853485    <const name="HardDiskControllerSATA" value="15" />
    34863486    <const name="HardDiskControllerSCSI" value="16" />
    3487     <const name="HardDiskImage" value="17" />
    3488     <const name="Floppy" value="18" />
    3489     <const name="CDROM" value="19" />
    3490     <const name="NetworkAdapter" value="20" />
    3491     <const name="USBController" value="21" />
    3492     <const name="SoundCard" value="22" />
     3487    <const name="HardDiskControllerSAS" value="17" />
     3488    <const name="HardDiskImage" value="18" />
     3489    <const name="Floppy" value="19" />
     3490    <const name="CDROM" value="20" />
     3491    <const name="NetworkAdapter" value="21" />
     3492    <const name="USBController" value="22" />
     3493    <const name="SoundCard" value="23" />
    34933494
    34943495  </enum>
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