VirtualBox

Changeset 8529 in vbox for trunk/src/VBox


Ignore:
Timestamp:
May 2, 2008 8:41:57 AM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
30433
Message:

Unlock media on VM reset.

File:
1 edited

Legend:

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

    r8374 r8529  
    695695}
    696696
     697/**
     698 * Reset notification.
     699 *
     700 * @returns VBox status.
     701 * @param   pDevIns     The driver instance data.
     702 */
     703static DECLCALLBACK(void)  drvblockReset(PPDMDRVINS pDrvIns)
     704{
     705    PDRVBLOCK pData = PDMINS2DATA(pDrvIns, PDRVBLOCK);
     706
     707    pData->fLocked = false;
     708}
    697709
    698710/**
     
    979991    NULL,
    980992    /* pfnReset */
    981     NULL,
     993    drvblockReset,
    982994    /* pfnSuspend */
    983995    NULL,
     
    987999    drvblockDetach
    9881000};
    989 
    990 
    991 
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