Changeset 74092 in vbox for trunk/src/VBox/Main/src-server/ApplianceImplExport.cpp
- Timestamp:
- Sep 5, 2018 6:29:21 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/ApplianceImplExport.cpp
r74086 r74092 2371 2371 HRESULT Appliance::i_writeFSOCI(TaskOCI *pTask) 2372 2372 { 2373 LogRel(("Appliance::i_writeFSOCI\n")); 2374 2373 2375 RT_NOREF(pTask); // XXX 2374 2376 LogFlowFuncEnter(); 2375 int vrc = VINF_SUCCESS; 2377 2376 2378 HRESULT hrc = S_OK; 2377 2379 ComPtr<ICloudProviderManager> cpm; 2378 2380 hrc = mVirtualBox->COMGETTER(CloudProviderManager)(cpm.asOutParam()); 2379 2380 2381 Utf8Str strProviderName("OCI"); 2381 2382 ComPtr<ICloudProvider> ociProvider; … … 2388 2389 #ifndef VBOX_WITH_CLOUD_PROVIDERS_NO_COMMANDS 2389 2390 2391 int vrc = VINF_SUCCESS; 2390 2392 //fills by values from m->m_OciExportData 2391 2393 //mostly all names(keys) come from official OCI API documentation (see LaunchInstance description) … … 2465 2467 catch (...) 2466 2468 { 2467 LogRel(("Appliance::i_writeFSOCI(): get c ought unknown exception\n"));2469 LogRel(("Appliance::i_writeFSOCI(): get caught unknown exception\n")); 2468 2470 } 2469 2471 … … 2471 2473 } 2472 2474 #else 2475 LogRel(("Appliance::i_writeFSOCI(): #ifdef VBOX_WITH_CLOUD_PROVIDERS_NO_COMMANDS section \n")); 2473 2476 if (SUCCEEDED(hrc)) 2474 2477 { … … 2476 2479 2477 2480 if (m->virtualSystemDescriptions.size() == 1) { 2478 cloudClient .exportVM(m->virtualSystemDescriptions.front(), pTask->pProgress);2481 cloudClient->ExportVM(m->virtualSystemDescriptions.front(), pTask->pProgress); 2479 2482 } else { 2480 2483 //TODO: fail here 2481 } 2482 } 2484 } } 2483 2485 #endif 2484 2486
Note:
See TracChangeset
for help on using the changeset viewer.