VirtualBox

Changeset 42769 in vbox for trunk/src/VBox/Devices/Storage


Ignore:
Timestamp:
Aug 11, 2012 12:03:55 PM (12 years ago)
Author:
vboxsync
Message:

DevATA: Report fewer errors on media change.

File:
1 edited

Legend:

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

    r42568 r42769  
    39213921    /* Report media changed in TEST UNIT and other (probably incorrect) places. */
    39223922    if (pIf->cNotifiedMediaChange < 2)
    3923         pIf->cNotifiedMediaChange = 2;
     3923        pIf->cNotifiedMediaChange = 1;
    39243924    ataMediumInserted(pIf);
    39253925    ataMediumTypeSet(pIf, ATA_MEDIA_TYPE_UNKNOWN);
     
    39423942     * present and 2 in which it is changed.
    39433943     */
    3944     pIf->cNotifiedMediaChange = 4;
     3944    pIf->cNotifiedMediaChange = 1;
    39453945    ataMediumRemoved(pIf);
    39463946    ataMediumTypeSet(pIf, ATA_MEDIA_NO_DISC);
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