Changeset 42398 in vbox for trunk/src/VBox
- Timestamp:
- Jul 25, 2012 3:26:56 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Storage/ISCSI.cpp
r42192 r42398 1566 1566 goto restart; 1567 1567 case ISCSI_LOGIN_STATUS_CLASS_INITIATOR_ERROR: 1568 { 1569 const char *pszDetail = NULL; 1570 1571 switch ((RT_N2H_U32(aResBHS[9]) >> 16) & 0xff) 1572 { 1573 case 0x00: 1574 pszDetail = "Miscelleanous iSCSI intiaitor error"; 1575 break; 1576 case 0x01: 1577 pszDetail = "Authentication failure"; 1578 break; 1579 case 0x02: 1580 pszDetail = "Authorization failure"; 1581 break; 1582 case 0x03: 1583 pszDetail = "Not found"; 1584 break; 1585 case 0x04: 1586 pszDetail = "Target removed"; 1587 break; 1588 case 0x05: 1589 pszDetail = "Unsupported version"; 1590 break; 1591 case 0x06: 1592 pszDetail = "Too many connections"; 1593 break; 1594 case 0x07: 1595 pszDetail = "Missing parameter"; 1596 break; 1597 case 0x08: 1598 pszDetail = "Can't include in session"; 1599 break; 1600 case 0x09: 1601 pszDetail = "Session type not supported"; 1602 break; 1603 case 0x0a: 1604 pszDetail = "Session does not exist"; 1605 break; 1606 case 0x0b: 1607 pszDetail = "Invalid request type during login"; 1608 break; 1609 default: 1610 pszDetail = "Unknown status detail"; 1611 } 1612 LogRel(("iSCSI: login to target failed with: %s\n", pszDetail)); 1568 1613 iscsiTransportClose(pImage); 1569 1614 rc = VERR_IO_GEN_FAILURE; 1570 1615 goto out; 1616 } 1571 1617 case ISCSI_LOGIN_STATUS_CLASS_TARGET_ERROR: 1572 1618 iscsiTransportClose(pImage);
Note:
See TracChangeset
for help on using the changeset viewer.