Changeset 66381 in vbox for trunk/src/VBox/Main/src-client/ConsoleImpl.cpp
- Timestamp:
- Mar 31, 2017 1:28:04 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/ConsoleImpl.cpp
r65646 r66381 6224 6224 throw rc; 6225 6225 6226 bool fInsertDiskIntegrityDrv = false; 6227 Bstr strDiskIntegrityFlag; 6228 rc = mMachine->GetExtraData(Bstr("VBoxInternal2/EnableDiskIntegrityDriver").raw(), 6229 strDiskIntegrityFlag.asOutParam()); 6230 if ( rc == S_OK 6231 && strDiskIntegrityFlag == "1") 6232 fInsertDiskIntegrityDrv = true; 6233 6226 6234 alock.release(); 6227 6235 6228 6236 IMediumAttachment *pAttachment = aAttachments[i]; 6229 6237 int vrc = VMR3ReqCallWaitU(ptrVM.rawUVM(), VMCPUID_ANY, 6230 (PFNRT)i_reconfigureMediumAttachment, 1 3,6238 (PFNRT)i_reconfigureMediumAttachment, 14, 6231 6239 this, ptrVM.rawUVM(), pcszDevice, lInstance, enmBus, fUseHostIOCache, 6232 fBuiltinIOCache, false /* fSetupMerge */, 0 /* uMergeSource */, 6233 0 /* uMergeTarget */, pAttachment, mMachineState, &rc); 6240 fBuiltinIOCache, fInsertDiskIntegrityDrv, 6241 false /* fSetupMerge */, 0 /* uMergeSource */, 0 /* uMergeTarget */, 6242 pAttachment, mMachineState, &rc); 6234 6243 if (RT_FAILURE(vrc)) 6235 6244 throw setError(E_FAIL, tr("%Rrc"), vrc);
Note:
See TracChangeset
for help on using the changeset viewer.