Changeset 60998 in vbox for trunk/src/VBox/Main/xml
- Timestamp:
- May 17, 2016 11:36:44 AM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 107249
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/xml/ovfreader.cpp
r59553 r60998 7 7 8 8 /* 9 * Copyright (C) 2008-201 2Oracle Corporation9 * Copyright (C) 2008-2016 Oracle Corporation 10 10 * 11 11 * This file is part of VirtualBox Open Source Edition (OSE), as … … 662 662 <rasd:BusNumber>0</rasd:BusNumber> 663 663 </Item> */ 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) 664 if ( i.strResourceSubType.compare("AHCI", RTCString::CaseInsensitive) == 0 666 665 || i.strResourceSubType.compare("vmware.sata.ahci", RTCString::CaseInsensitive) == 0) 667 666 { … … 674 673 } 675 674 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 ( caption:%s;subtype:%s)"),675 throw OVFLogicError(N_("Error reading \"%s\": Host resource of type \"Other Storage Device (%d)\" is supported with SATA AHCI controllers only, line %d (subtype:%s)"), 677 676 m_strPath.c_str(), 678 677 ResourceType_OtherStorageDevice, 679 i.ulLineNumber, i.str Caption.c_str(), i.strResourceSubType.c_str() );678 i.ulLineNumber, i.strResourceSubType.c_str() ); 680 679 break; 681 680 }
Note:
See TracChangeset
for help on using the changeset viewer.