Changeset 28956 in vbox
- Timestamp:
- May 2, 2010 6:20:41 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ApplianceImplExport.cpp
r28800 r28956 1273 1273 // under the vbox: namespace 1274 1274 xml::ElementNode *pelmVBoxMachine = pelmVirtualSystem->createChild("vbox:Machine"); 1275 // ovf:required="false" tells other OVF parsers that they can ignore this thing 1276 pelmVBoxMachine->setAttribute("ovf:required", "false"); 1277 // ovf:Info element is required or VMware will bail out on the vbox:Machine element 1278 pelmVBoxMachine->createChild("ovf:Info")->addContent("Complete VirtualBox machine configuration in VirtualBox format"); 1279 1280 // create an empty machine config 1275 1281 settings::MachineConfigFile *pConfig = new settings::MachineConfigFile(NULL); 1276 1282 … … 1278 1284 { 1279 1285 AutoWriteLock machineLock(vsdescThis->m->pMachine COMMA_LOCKVAL_SRC_POS); 1286 // fill the machine config 1280 1287 vsdescThis->m->pMachine->copyMachineDataToSettings(*pConfig); 1288 // write the machine config to the vbox:Machine element 1281 1289 pConfig->buildMachineXML(*pelmVBoxMachine, 1282 1290 settings::MachineConfigFile::BuildMachineXML_WriteVboxVersionAttribute);
Note:
See TracChangeset
for help on using the changeset viewer.