VirtualBox

Changeset 23417 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Sep 29, 2009 4:17:21 PM (15 years ago)
Author:
vboxsync
Message:

ATA/AHCI: report medium changes. for AHCI this is not in the active code

Location:
trunk/src/VBox/Devices/Storage
Files:
2 edited

Legend:

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

    r23020 r23417  
    27452745        return;
    27462746
     2747    LogRel(("ATA: LUN#%d: CD/DVD, total number of sectors %Ld, passthrough unchanged\n", pIf->iLUN, pIf->cTotalSectors));
     2748
    27472749    if (pIf->fATAPI)
    27482750        pIf->cTotalSectors = pIf->pDrvBlock->pfnGetSize(pIf->pDrvBlock) / 2048;
  • trunk/src/VBox/Devices/Storage/DevATA.cpp

    r23149 r23417  
    34023402        pIf->cTotalSectors = pIf->pDrvBlock->pfnGetSize(pIf->pDrvBlock) / 512;
    34033403
     3404    LogRel(("PIIX3 ATA: LUN#%d: CD/DVD, total number of sectors %Ld, passthrough unchanged\n", pIf->iLUN, pIf->cTotalSectors));
     3405
    34043406    /* Report media changed in TEST UNIT and other (probably incorrect) places. */
    34053407    if (pIf->cNotifiedMediaChange < 2)
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