Changeset 37531 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Jun 17, 2011 12:12:29 PM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 72367
- Location:
- trunk/src/VBox/Frontends
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageMisc.cpp
r37449 r37531 392 392 trgMachine.asOutParam()), 393 393 RTEXITCODE_FAILURE); 394 395 /* Clone options */ 396 com::SafeArray<CloneOptions_T> options; 397 options.push_back(CloneOptions_KeepNATMACs); 398 399 /* Start the cloning */ 394 400 ComPtr<IProgress> progress; 395 401 CHECK_ERROR_RET(srcMachine, CloneTo(trgMachine, 396 402 mode, 397 FALSE,403 ComSafeArrayAsInParam(options), 398 404 progress.asOutParam()), 399 405 RTEXITCODE_FAILURE); -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/clonevm/UICloneVMWizard.cpp
r37468 r37531 80 80 } 81 81 82 /* NAT network adapters should keep there MAC address to prevent any 83 * reactivation. For the other modes they should be regenerated to prevent 84 * address conflicts in the network. */ 85 QVector<KCloneOptions> options; 86 options.append(KCloneOptions_KeepNATMACs); 87 82 88 /* Start cloning. */ 83 CProgress progress = m_machine.CloneTo(cloneMachine, mode, false);89 CProgress progress = m_machine.CloneTo(cloneMachine, mode, options); 84 90 if (!m_machine.isOk()) 85 91 {
Note:
See TracChangeset
for help on using the changeset viewer.