VirtualBox

Changeset 23311 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
Sep 24, 2009 7:55:52 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
52808
Message:

iSCSI: Repeat MODE_SENSE_6 during iscsiOpenImage if a check condition is returned

File:
1 edited

Legend:

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

    r23223 r23311  
    25432543    sr.pvSense = sense;
    25442544
    2545     rc = iscsiCommand(pImage, &sr);
     2545    for (unsigned i = 0; i < 10; i++)
     2546    {
     2547        rc = iscsiCommand(pImage, &sr);
     2548        if (    (RT_SUCCESS(rc) && !sr.cbSense)
     2549            ||  RT_FAILURE(rc))
     2550            break;
     2551        rc = VERR_INVALID_STATE;
     2552    }
    25462553    if (RT_SUCCESS(rc))
    25472554    {
Note: See TracChangeset for help on using the changeset viewer.

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