儲存庫 vbox 的更動 50181
- 時間撮記:
- 2014-1-23 下午03:30:40 (11 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Main/src-server/ApplianceImplImport.cpp
r49951 r50181 1400 1400 1401 1401 /** 1402 * Actual worker code for importing OVF data into VirtualBox. This is called from Appliance::taskThreadImportOrExport() 1403 * and therefore runs on the OVF import worker thread. This creates one or more new machines according to the 1404 * VirtualSystemScription instances created by Appliance::Interpret(). 1402 * Actual worker code for importing OVF data into VirtualBox. 1403 * 1404 * This is called from Appliance::taskThreadImportOrExport() and therefore runs 1405 * on the OVF import worker thread. This creates one or more new machines 1406 * according to the VirtualSystemScription instances created by 1407 * Appliance::Interpret(). 1405 1408 * 1406 1409 * This runs in three contexts: … … 1414 1417 * called Appliance::i_importS3(), which called Appliance::i_importImpl(), which then called this again. 1415 1418 * 1416 * @param pTask1417 * @return 1419 * @param pTask The OVF task data. 1420 * @return COM status code. 1418 1421 */ 1419 1422 HRESULT Appliance::i_importFS(TaskOVF *pTask) … … 1448 1451 * machines and disks we've created */ 1449 1452 writeLock.release(); 1453 ErrorInfoKeeper eik; 1450 1454 for (list<Guid>::iterator itID = m->llGuidsMachinesCreated.begin(); 1451 1455 itID != m->llGuidsMachinesCreated.end(); … … 1572 1576 */ 1573 1577 { 1578 ErrorInfoKeeper eik; /* paranoia */ 1574 1579 list< ComObjPtr<VirtualSystemDescription> >::const_iterator itvsd; 1575 1580 /* Iterate through all virtual systems of that appliance */ … … 2560 2565 PSHASTORAGE pStorage) 2561 2566 { 2567 LogFlowFuncEnter(); 2562 2568 HRESULT rc; 2563 2569 … … 3000 3006 try 3001 3007 { 3008 #ifdef LOG_ENABLED 3009 if (LogIsEnabled()) 3010 { 3011 size_t i = 0; 3012 for (list<VirtualSystemDescriptionEntry*>::const_iterator itHD = avsdeHDs.begin(); itHD != avsdeHDs.end(); ++itHD, i++) 3013 Log(("avsdeHDs[%zu]: strRef=%s\n", i, (*itHD)->strRef.c_str())); 3014 } 3015 #endif 3016 3002 3017 // to attach things we need to open a session for the new machine 3003 3018 rc = pNewMachine->LockMachine(stack.pSession, LockType_Write); … … 3022 3037 3023 3038 VirtualSystemDescriptionEntry *vsdeTargetHD = 0; 3039 Log(("diCurrent.strDiskId=%s\n", diCurrent.strDiskId.c_str())); 3024 3040 3025 3041 /* … … 3135 3151 { 3136 3152 /* 3137 -* in this case it's an error because something wrong with OVF description file.3153 * in this case it's an error because something wrong with OVF description file. 3138 3154 * May be VB imports OVA package with wrong file sequence inside the archive. 3139 3155 */ … … 3290 3306 } 3291 3307 } 3308 LogFlowFuncLeave(); 3292 3309 } 3293 3310 … … 3327 3344 PSHASTORAGE pStorage) 3328 3345 { 3346 LogFlowFuncEnter(); 3329 3347 Assert(vsdescThis->m->pConfig); 3330 3348 … … 3824 3842 if (FAILED(rc)) throw rc; 3825 3843 m->llGuidsMachinesCreated.push_back(Guid(bstrNewMachineId)); 3844 3845 LogFlowFuncLeave(); 3826 3846 } 3827 3847 … … 3889 3909 stack.strMachineFolder = bstrMachineFilename; 3890 3910 stack.strMachineFolder.stripFilename(); 3911 LogFunc(("i=%zu strName=%s bstrMachineFilename=%ls\n", i, stack.strNameVBox.c_str(), bstrMachineFilename.raw())); 3891 3912 3892 3913 // guest OS type
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器