VirtualBox

Changeset 66062 in vbox


Ignore:
Timestamp:
Mar 13, 2017 4:19:59 PM (8 years ago)
Author:
vboxsync
Message:

Main/ConsoleImpl: Set the passthrough flag only for DVD and floppy host drives instead of image files too. Fixes inserting the SCSI intermediate driver between the AHCI controller and the VD driver

File:
1 edited

Legend:

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

    r65919 r66062  
    43544354        }
    43554355
     4356        BOOL fPassthrough = FALSE;
    43564357        if (pMedium)
    43574358        {
     
    43744375                       RTFsTypeName(enmFsTypeFile)));
    43754376            }
    4376         }
    4377 
    4378         BOOL fPassthrough;
    4379         hrc = pMediumAtt->COMGETTER(Passthrough)(&fPassthrough);                            H();
     4377
     4378            if (fHostDrive)
     4379            {
     4380                hrc = pMediumAtt->COMGETTER(Passthrough)(&fPassthrough);                    H();
     4381            }
     4382        }
    43804383
    43814384        ComObjPtr<IBandwidthGroup> pBwGroup;
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