VirtualBox

Changeset 96131 in vbox


Ignore:
Timestamp:
Aug 10, 2022 3:49:43 PM (2 years ago)
Author:
vboxsync
Message:

FE/Qt+Main/testcase/tstOVF.cpp: A few small updates to the VBox GUI to
recognize Virtio-SCSI controllers in order to round out the support for
exporting an appliance which contains a Virtio-SCSI controller.
bugref:9745

Location:
trunk/src/VBox
Files:
4 edited

Legend:

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

    r93996 r96131  
    484484                    case KVirtualSystemDescriptionType_HardDiskControllerSATA: value = UIApplianceEditorWidget::tr("Storage Controller (SATA)"); break;
    485485                    case KVirtualSystemDescriptionType_HardDiskControllerSCSI: value = UIApplianceEditorWidget::tr("Storage Controller (SCSI)"); break;
     486                    case KVirtualSystemDescriptionType_HardDiskControllerVirtioSCSI:  value = UIApplianceEditorWidget::tr("Storage Controller (VirtioSCSI)"); break;
    486487                    case KVirtualSystemDescriptionType_HardDiskControllerSAS:  value = UIApplianceEditorWidget::tr("Storage Controller (SAS)"); break;
    487488                    case KVirtualSystemDescriptionType_CDROM:                  value = UIApplianceEditorWidget::tr("DVD"); break;
     
    658659                    case KVirtualSystemDescriptionType_HardDiskControllerSATA: value = UIIconPool::iconSet(":/sata_16px.png"); break;
    659660                    case KVirtualSystemDescriptionType_HardDiskControllerSCSI: value = UIIconPool::iconSet(":/scsi_16px.png"); break;
     661                    case KVirtualSystemDescriptionType_HardDiskControllerVirtioSCSI:  value = UIIconPool::iconSet(":/virtio_scsi_16px.png"); break;
    660662                    case KVirtualSystemDescriptionType_HardDiskControllerSAS:  value = UIIconPool::iconSet(":/sas_16px.png"); break;
    661663                    case KVirtualSystemDescriptionType_HardDiskImage:          value = UIIconPool::iconSet(":/hd_16px.png"); break;
     
    13431345                    types[i] == KVirtualSystemDescriptionType_HardDiskControllerSATA ||
    13441346                    types[i] == KVirtualSystemDescriptionType_HardDiskControllerSCSI ||
     1347                    types[i] == KVirtualSystemDescriptionType_HardDiskControllerVirtioSCSI ||
    13451348                    types[i] == KVirtualSystemDescriptionType_HardDiskControllerSAS)
    13461349                    controllerMap[i] = pHardwareItem;
     
    16831686    KVirtualSystemDescriptionType_HardDiskControllerSATA,
    16841687    KVirtualSystemDescriptionType_HardDiskControllerSCSI,
     1688    KVirtualSystemDescriptionType_HardDiskControllerVirtioSCSI,
    16851689    KVirtualSystemDescriptionType_HardDiskControllerSAS,
    16861690    /* OCI */
  • trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIApplianceExportEditorWidget.cpp

    r93115 r96131  
    4646            << KVirtualSystemDescriptionType_HardDiskControllerSATA
    4747            << KVirtualSystemDescriptionType_HardDiskControllerSCSI
     48            << KVirtualSystemDescriptionType_HardDiskControllerVirtioSCSI
    4849            << KVirtualSystemDescriptionType_HardDiskControllerSAS
    4950            << KVirtualSystemDescriptionType_CloudProfileName;
  • trunk/src/VBox/Main/src-server/ApplianceImplImport.cpp

    r95423 r96131  
    53105310    <const name="HardDiskControllerSCSI" value="16" />
    53115311    <const name="HardDiskControllerSAS" value="17" />
     5312    <const name="HardDiskControllerVirtioSCSI" value="60" />
    53125313*/
    53135314
  • trunk/src/VBox/Main/testcase/tstOVF.cpp

    r93115 r96131  
    195195                break;
    196196
     197                case VirtualSystemDescriptionType_HardDiskControllerVirtioSCSI:
     198                    pcszType = "virtio-scsi";
     199                break;
     200
    197201                case VirtualSystemDescriptionType_HardDiskImage:
    198202                    pcszType = "hd";
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