Changeset 64321 in vbox
- Timestamp:
- Oct 19, 2016 2:56:27 PM (8 years ago)
- svn:sync-xref-src-repo-rev:
- 111394
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/ConsoleImpl2.cpp
r64169 r64321 4258 4258 mapMediumAttachments[devicePath] = pMediumAtt; 4259 4259 4260 /*4261 * Insert the SCSI driver for hotplug events on the SCSI/USB based storage controllers4262 * or for SATA if the new device is a CD/DVD drive.4263 */4264 if ( (fHotplug || !fAttachDetach)4265 && ( (enmBus == StorageBus_SCSI || enmBus == StorageBus_SAS || enmBus == StorageBus_USB)4266 || (enmBus == StorageBus_SATA && lType == DeviceType_DVD)))4267 {4268 InsertConfigString(pLunL0, "Driver", "SCSI");4269 InsertConfigNode(pLunL0, "AttachedDriver", &pLunL0);4270 }4271 4272 4260 ComPtr<IMedium> pMedium; 4273 4261 hrc = pMediumAtt->COMGETTER(Medium)(pMedium.asOutParam()); H(); … … 4319 4307 { 4320 4308 hrc = pBwGroup->COMGETTER(Name)(strBwGroup.asOutParam()); H(); 4309 } 4310 4311 /* 4312 * Insert the SCSI driver for hotplug events on the SCSI/USB based storage controllers 4313 * or for SATA if the new device is a CD/DVD drive. 4314 */ 4315 if ( (fHotplug || !fAttachDetach) 4316 && ( (enmBus == StorageBus_SCSI || enmBus == StorageBus_SAS || enmBus == StorageBus_USB) 4317 || (enmBus == StorageBus_SATA && lType == DeviceType_DVD && !fPassthrough))) 4318 { 4319 InsertConfigString(pLunL0, "Driver", "SCSI"); 4320 InsertConfigNode(pLunL0, "AttachedDriver", &pLunL0); 4321 4321 } 4322 4322
Note:
See TracChangeset
for help on using the changeset viewer.