Changeset 101472 in vbox for trunk/src/VBox/Main/xml
- Timestamp:
- Oct 17, 2023 11:45:00 AM (16 months ago)
- svn:sync-xref-src-repo-rev:
- 159541
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/xml/ovfreader.cpp
r99739 r101472 653 653 break; 654 654 655 case ResourceType_OtherStorageDevice: // 20 SATA controller655 case ResourceType_OtherStorageDevice: // 20 SATA/Virtio-SCSI/NVMe controller 656 656 { 657 657 /* <Item> … … 678 678 { 679 679 HardDiskController hdc; 680 hdc.system = HardDiskController::VIRTIOSCSI; /**< r=klaus: GUI needs to learn about this in the import dialog, currently shown as "Unknown Hardware Item". */680 hdc.system = HardDiskController::VIRTIOSCSI; 681 681 hdc.strIdController = i.strInstanceID; 682 682 //<rasd:ResourceSubType>VirtioSCSI</rasd:ResourceSubType> … … 684 684 vsys.mapControllers[i.strInstanceID] = hdc; 685 685 } 686 else if ( i.strResourceSubType.compare("NVMe", RTCString::CaseInsensitive) == 0 687 || i.strResourceSubType.compare("vmware.nvme.controller", RTCString::CaseInsensitive) == 0 ) 688 { 689 HardDiskController hdc; 690 hdc.system = HardDiskController::NVMe; 691 hdc.strIdController = i.strInstanceID; 692 //<rasd:ResourceSubType>NVMe</rasd:ResourceSubType> 693 hdc.strControllerType = i.strResourceSubType; 694 vsys.mapControllers[i.strInstanceID] = hdc; 695 } 686 696 else 687 throw OVFLogicError(N_("Error reading \"%s\": Host resource of type \"Other Storage Device (%d)\" is supported with SATA AHCI or virtio-scsicontrollers only, line %d (subtype:%s)"),697 throw OVFLogicError(N_("Error reading \"%s\": Host resource of type \"Other Storage Device (%d)\" is supported with SATA AHCI or Virtio-SCSI or NVMe controllers only, line %d (subtype:%s)"), 688 698 m_strPath.c_str(), 689 699 ResourceType_OtherStorageDevice,
Note:
See TracChangeset
for help on using the changeset viewer.