Changeset 29292 in vbox
- Timestamp:
- May 10, 2010 11:08:06 AM (15 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ConsoleImpl.cpp
r29224 r29292 4482 4482 VMCPUID_ANY, 4483 4483 (PFNRT)reconfigureMediumAttachment, 4484 11, 4484 12, 4485 this, 4485 4486 pVM, 4486 4487 pcszDevice, … … 4556 4557 VMCPUID_ANY, 4557 4558 (PFNRT)reconfigureMediumAttachment, 4558 11, 4559 12, 4560 this, 4559 4561 pVM, 4560 4562 pcszDevice, … … 7540 7542 * Reconfigures a medium attachment (part of taking or deleting an online snapshot). 7541 7543 * 7544 * @param pConsole Reference to the console object. 7542 7545 * @param pVM The VM handle. 7543 7546 * @param lInstance The instance of the controller. … … 7589 7592 /* Update the device instance configuration. */ 7590 7593 rc = pConsole->configMediumAttachment(pCtlInst, 7591 pcszDevice,7592 uInstance,7593 enmBus,7594 enmIoBackend,7595 fSetupMerge,7596 uMergeSource,7597 uMergeTarget,7598 aMediumAtt,7599 aMachineState,7600 phrc,7601 true /* fAttachDetach */,7602 false /* fForceUnmount */,7603 pVM,7604 NULL /* paLedDevType */);7594 pcszDevice, 7595 uInstance, 7596 enmBus, 7597 enmIoBackend, 7598 fSetupMerge, 7599 uMergeSource, 7600 uMergeTarget, 7601 aMediumAtt, 7602 aMachineState, 7603 phrc, 7604 true /* fAttachDetach */, 7605 false /* fForceUnmount */, 7606 pVM, 7607 NULL /* paLedDevType */); 7605 7608 /** @todo this dumps everything attached to this device instance, which 7606 7609 * is more than necessary. Dumping the changed LUN would be enough. */ … … 7775 7778 VMCPUID_ANY, 7776 7779 (PFNRT)reconfigureMediumAttachment, 7777 11, 7780 12, 7781 that, 7778 7782 that->mpVM, 7779 7783 pcszDevice, -
trunk/src/VBox/Main/ConsoleImpl2.cpp
r29249 r29292 2232 2232 } 2233 2233 2234 /* static */2235 2234 int Console::configMediumAttachment(PCFGMNODE pCtlInst, 2236 2235 const char *pcszDevice, … … 2323 2322 BOOL fPassthrough; 2324 2323 hrc = pMediumAtt->COMGETTER(Passthrough)(&fPassthrough); H(); 2325 rc = Console::configMedium(pLunL0,2326 2327 2328 2329 2330 2331 2332 2333 2334 phrc);RC_CHECK();2324 rc = configMedium(pLunL0, 2325 !!fPassthrough, 2326 lType, 2327 enmIoBackend, 2328 fSetupMerge, 2329 uMergeSource, 2330 uMergeTarget, 2331 pMedium, 2332 aMachineState, 2333 phrc); RC_CHECK(); 2335 2334 2336 2335 if (fAttachDetach)
Note:
See TracChangeset
for help on using the changeset viewer.