Changeset 59553 in vbox
- Timestamp:
- Feb 2, 2016 2:00:18 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/xml/ovfreader.cpp
r58132 r59553 662 662 <rasd:BusNumber>0</rasd:BusNumber> 663 663 </Item> */ 664 if ( i.strCaption.startsWith("sataController", RTCString::CaseInsensitive)665 && !i.strResourceSubType.compare("AHCI", RTCString::CaseInsensitive)666 )664 if ( ( i.strCaption.startsWith("sataController", RTCString::CaseInsensitive) /** @todo r=bird: 'Caption' sounds user settable so this looks plain wrong. tdAppliance1-t4.ova has an empty caption. */ 665 && i.strResourceSubType.compare("AHCI", RTCString::CaseInsensitive) == 0) 666 || i.strResourceSubType.compare("vmware.sata.ahci", RTCString::CaseInsensitive) == 0) 667 667 { 668 668 HardDiskController hdc; … … 674 674 } 675 675 else 676 throw OVFLogicError(N_("Error reading \"%s\": Host resource of type \"Other Storage Device (%d)\" is supported with SATA AHCI controllers only, line %d "),676 throw OVFLogicError(N_("Error reading \"%s\": Host resource of type \"Other Storage Device (%d)\" is supported with SATA AHCI controllers only, line %d (caption:%s; subtype:%s)"), 677 677 m_strPath.c_str(), 678 678 ResourceType_OtherStorageDevice, 679 i.ulLineNumber );679 i.ulLineNumber, i.strCaption.c_str(), i.strResourceSubType.c_str() ); 680 680 break; 681 681 }
Note:
See TracChangeset
for help on using the changeset viewer.