Changeset 35040 in vbox for trunk/src/VBox/Main/xml
- Timestamp:
- Dec 13, 2010 5:44:28 PM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 68870
- Location:
- trunk/src/VBox/Main/xml
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/xml/Settings.cpp
r34837 r35040 678 678 else if (strType == "READONLY") 679 679 med.hdType = MediumType_Readonly; 680 else if (strType == "MULTIATTACH") 681 med.hdType = MediumType_MultiAttach; 680 682 else 681 throw ConfigFileError(this, &elmMedium, N_("HardDisk/@type attribute must be one of Normal, Immutable or Writethrough"));683 throw ConfigFileError(this, &elmMedium, N_("HardDisk/@type attribute must be one of Normal, Immutable, Writethrough, Shareable, Readonly or MultiAttach")); 682 684 } 683 685 } … … 1037 1039 mdm.hdType == MediumType_Writethrough ? "Writethrough" : 1038 1040 mdm.hdType == MediumType_Shareable ? "Shareable" : 1039 mdm.hdType == MediumType_Readonly ? "Readonly" : "INVALID"; 1041 mdm.hdType == MediumType_Readonly ? "Readonly" : 1042 mdm.hdType == MediumType_MultiAttach ? "MultiAttach" : 1043 "INVALID"; 1040 1044 pelmMedium->setAttribute("type", pcszType); 1041 1045 } … … 4482 4486 } 4483 4487 4488 // Settings version 1.11 is required if Readonly/MultiAttach media 4489 // are present. 4490 if (m->sv < SettingsVersion_v1_11) 4491 { 4492 /// @todo add code going over all medium attachments and check if 4493 // they are of type Readonly or MultiAttach. 4494 } 4495 4484 4496 // settings version 1.9 is required if there is not exactly one DVD 4485 4497 // or more than one floppy drive present or the DVD is not at the secondary -
trunk/src/VBox/Main/xml/VirtualBox-settings-common.xsd
r34497 r35040 308 308 <xsd:enumeration value="Immutable"/> 309 309 <xsd:enumeration value="Writethrough"/> 310 <xsd:enumeration value="Shareable"/> 311 <xsd:enumeration value="Readonly"/> 312 <xsd:enumeration value="MultiAttach"/> 310 313 </xsd:restriction> 311 314 </xsd:simpleType>
Note:
See TracChangeset
for help on using the changeset viewer.