VirtualBox

Ignore:
Timestamp:
Mar 31, 2017 1:28:04 PM (8 years ago)
Author:
vboxsync
Message:

Main/Console: Fix missing parameter for i_reconfigureMediumAttachment() after last change to dynamically insert the disk debugging driver into the chain

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/ConsoleImpl.cpp

    r65646 r66381  
    62246224            throw rc;
    62256225
     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
    62266234        alock.release();
    62276235
    62286236        IMediumAttachment *pAttachment = aAttachments[i];
    62296237        int vrc = VMR3ReqCallWaitU(ptrVM.rawUVM(), VMCPUID_ANY,
    6230                                    (PFNRT)i_reconfigureMediumAttachment, 13,
     6238                                   (PFNRT)i_reconfigureMediumAttachment, 14,
    62316239                                   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);
    62346243        if (RT_FAILURE(vrc))
    62356244            throw setError(E_FAIL, tr("%Rrc"), vrc);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette