Changeset 33108 in vbox
- Timestamp:
- Oct 13, 2010 2:31:56 PM (14 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ConsoleImpl.cpp
r33004 r33108 3310 3310 { 3311 3311 LogFlowFunc(("pConsole=%p uInstance=%u pszDevice=%p:{%s} enmBus=%u, aMediumAtt=%p, fForce=%d\n", 3312 pConsole, uInstance, pcszDevice, enmBus, fForce));3312 pConsole, uInstance, pcszDevice, pcszDevice, enmBus, aMediumAtt, fForce)); 3313 3313 3314 3314 AssertReturn(pConsole, VERR_INVALID_PARAMETER); -
trunk/src/VBox/Main/MachineImpl.cpp
r33078 r33108 3860 3860 oldmedium->removeBackReference(mData->mUuid); 3861 3861 if (!medium.isNull()) 3862 { 3862 3863 medium->addBackReference(mData->mUuid); 3864 // and decide which medium registry to use now that the medium is attached: 3865 if (mData->pMachineConfigFile->canHaveOwnMediaRegistry()) 3866 // machine XML is VirtualBox 4.0 or higher: 3867 medium->addRegistry(getId()); // machine UUID 3868 else 3869 medium->addRegistry(mParent->getGlobalRegistryId()); // VirtualBox global registry UUID 3870 } 3871 3863 3872 pAttach->updateMedium(medium); 3864 3865 // and decide which medium registry to use now that the medium is attached:3866 if (mData->pMachineConfigFile->canHaveOwnMediaRegistry())3867 // machine XML is VirtualBox 4.0 or higher:3868 medium->addRegistry(getId()); // machine UUID3869 else3870 medium->addRegistry(mParent->getGlobalRegistryId()); // VirtualBox global registry UUID3871 3873 3872 3874 setModified(IsModified_Storage);
Note:
See TracChangeset
for help on using the changeset viewer.