VirtualBox

Ignore:
Timestamp:
Sep 9, 2011 11:33:13 AM (13 years ago)
Author:
vboxsync
Message:

VSCSI+Main: Fix reporting non rotational medium status + set the CFGM key for SCSI devices

File:
1 edited

Legend:

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

    r38694 r38702  
    147147
    148148        rc = vscsiVpdPagePoolAllocNewPage(&pVScsiLunSbc->VpdPagePool, VSCSI_VPD_SUPPORTED_PAGES_NUMBER,
    149                                           VSCSI_VPD_SUPPORTED_PAGES_SIZE + cVpdPages - 1, (uint8_t **)&pVpdPages);
     149                                          VSCSI_VPD_SUPPORTED_PAGES_SIZE + cVpdPages, (uint8_t **)&pVpdPages);
    150150        if (RT_SUCCESS(rc))
    151151        {
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