Changeset 28149 in vbox for trunk/src/VBox/Main
- Timestamp:
- Apr 9, 2010 3:43:44 PM (15 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ApplianceImplExport.cpp
r28098 r28149 635 635 636 636 /** 637 * Called from Appliance::writeFS() for each virtual system (machine) that needs XML written out. 637 638 * 638 * @param vsdescThis 639 * @param elmToAddVirtualSystemsTo XML element to append elements to. 640 * @param vsdescThis The IVirtualSystemDescription instance for which to write XML. 641 * @param enFormat OVF format (0.9 or 1.0). 642 * @param stack Structure for temporary private data shared with caller. 639 643 */ 640 644 void Appliance::buildXMLForOneVirtualSystem(xml::ElementNode &elmToAddVirtualSystemsTo, … … 1420 1424 if (FAILED(rc)) throw rc; 1421 1425 1422 /* We are always exporting to vmdfk stream optimized for now */ 1426 Bstr uuidSource; 1427 rc = pSourceDisk->COMGETTER(Id)(uuidSource.asOutParam()); 1428 if (FAILED(rc)) throw rc; 1429 Guid guidSource(uuidSource); 1430 1431 // We are always exporting to VMDK stream optimized for now 1423 1432 Bstr bstrSrcFormat = L"VMDK"; 1424 1433 … … 1483 1492 pelmDisk->setAttribute("ovf:fileRef", strFileRef); 1484 1493 pelmDisk->setAttribute("ovf:format", "http://www.vmware.com/specifications/vmdk.html#sparse"); // must be sparse or ovftool chokes 1494 pelmDisk->setAttribute("vbox:uuid", Utf8StrFmt("%RTuuid", guidSource.raw()).c_str()); 1485 1495 } 1486 1496 -
trunk/src/VBox/Main/SnapshotImpl.cpp
r28110 r28149 782 782 //////////////////////////////////////////////////////////////////////////////// 783 783 784 DEFINE_EMPTY_CTOR_DTOR 784 DEFINE_EMPTY_CTOR_DTOR(SnapshotMachine) 785 785 786 786 HRESULT SnapshotMachine::FinalConstruct() -
trunk/src/VBox/Main/include/MachineImpl.h
r28110 r28149 93 93 94 94 public: 95 96 // enum InitMode { Init_New, Init_Import, Init_Registered };97 95 98 96 enum StateDependency
Note:
See TracChangeset
for help on using the changeset viewer.