VirtualBox

Ignore:
Timestamp:
Nov 27, 2019 3:05:00 PM (5 years ago)
Author:
vboxsync
Message:

VSCSI/Mmc: Fail the request early if the properties for a given LUN could not be queried

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Storage/VSCSI/VSCSILunMmc.cpp

    r80589 r82244  
    12571257                                                               NULL, NULL, &cbSectorRegion,
    12581258                                                               &enmDataForm);
    1259                 AssertRC(rc);
     1259                if (RT_FAILURE(rc))
     1260                {
     1261                    rcReq = vscsiLunReqSenseErrorSet(pVScsiLun, pVScsiReq, SCSI_SENSE_ILLEGAL_REQUEST,
     1262                                                     SCSI_ASC_LOGICAL_BLOCK_OOR, 0x00);
     1263                    break;
     1264                }
    12601265
    12611266                if (enmDataForm == VDREGIONDATAFORM_CDDA)
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