Changeset 65482 in vbox for trunk/src/VBox/Main/src-client/ConsoleImpl.cpp
- Timestamp:
- Jan 27, 2017 2:10:44 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/ConsoleImpl.cpp
r65434 r65482 3573 3573 false /* fSetupMerge */, 3574 3574 false /* fBuiltinIOCache */, 3575 false /* fInsertDiskIntegrityDrv. */, 3575 3576 0 /* uMergeSource */, 3576 3577 0 /* uMergeTarget */, … … 3751 3752 false /* fSetupMerge */, 3752 3753 false /* fBuiltinIOCache */, 3754 false /* fInsertDiskIntegrityDrv. */, 3753 3755 0 /* uMergeSource */, 3754 3756 0 /* uMergeTarget */, … … 6091 6093 return rc; 6092 6094 6095 bool fInsertDiskIntegrityDrv = false; 6096 Bstr strDiskIntegrityFlag; 6097 rc = mMachine->GetExtraData(Bstr("VBoxInternal2/EnableDiskIntegrityDriver").raw(), 6098 strDiskIntegrityFlag.asOutParam()); 6099 if ( rc == S_OK 6100 && strDiskIntegrityFlag == "1") 6101 fInsertDiskIntegrityDrv = true; 6102 6093 6103 alock.release(); 6094 6104 vrc = VMR3ReqCallWaitU(ptrVM.rawUVM(), VMCPUID_ANY, 6095 (PFNRT)i_reconfigureMediumAttachment, 1 3,6105 (PFNRT)i_reconfigureMediumAttachment, 14, 6096 6106 this, ptrVM.rawUVM(), pcszDevice, uInstance, enmBus, fUseHostIOCache, 6097 fBuiltinIOCache, true /* fSetupMerge */, aSourceIdx, aTargetIdx,6098 a MediumAttachment, mMachineState, &rc);6107 fBuiltinIOCache, fInsertDiskIntegrityDrv, true /* fSetupMerge */, 6108 aSourceIdx, aTargetIdx, aMediumAttachment, mMachineState, &rc); 6099 6109 /* error handling is after resuming the VM */ 6100 6110 … … 6138 6148 6139 6149 vrc = VMR3ReqCallWaitU(ptrVM.rawUVM(), VMCPUID_ANY, 6140 (PFNRT)i_reconfigureMediumAttachment, 1 3,6150 (PFNRT)i_reconfigureMediumAttachment, 14, 6141 6151 this, ptrVM.rawUVM(), pcszDevice, uInstance, enmBus, fUseHostIOCache, 6142 fBuiltinIOCache, false /* fSetupMerge */, 0 /* uMergeSource */, 6143 0 /* uMergeTarget */, aMediumAttachment, mMachineState, &rc); 6152 fBuiltinIOCache, fInsertDiskIntegrityDrv, false /* fSetupMerge */, 6153 0 /* uMergeSource */, 0 /* uMergeTarget */, aMediumAttachment, 6154 mMachineState, &rc); 6144 6155 /* error handling is after resuming the VM */ 6145 6156 … … 10016 10027 bool fUseHostIOCache, 10017 10028 bool fBuiltinIOCache, 10029 bool fInsertDiskIntegrityDrv, 10018 10030 bool fSetupMerge, 10019 10031 unsigned uMergeSource, … … 10043 10055 fUseHostIOCache, 10044 10056 fBuiltinIOCache, 10057 fInsertDiskIntegrityDrv, 10045 10058 fSetupMerge, 10046 10059 uMergeSource,
Note:
See TracChangeset
for help on using the changeset viewer.