VirtualBox

Changeset 23149 in vbox for trunk/src


Ignore:
Timestamp:
Sep 18, 2009 10:31:42 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
52563
Message:

ATA,AHCI: Assertion is to is strict. VERR_PDM_MEDIA_LOCKED is expected if the pfnUnmount is called while the medium is still locked. Will be handled by the device emulation correctly

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

Legend:

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

    r23066 r23149  
    36623662                            rc = VMR3ReqCallWait(PDMDevHlpGetVM(pDevIns), VMCPUID_ANY,
    36633663                                                 (PFNRT)pAhciPort->pDrvMount->pfnUnmount, 2, pAhciPort->pDrvMount, false);
    3664                             AssertReleaseRC(rc);
     3664                            Assert(RT_SUCCESS(rc) || (rc == VERR_PDM_MEDIA_LOCKED));
    36653665                        }
    36663666                        break;
  • trunk/src/VBox/Devices/Storage/DevATA.cpp

    r23012 r23149  
    28932893                        rc = VMR3ReqCallWait(PDMDevHlpGetVM(pDevIns), VMCPUID_ANY,
    28942894                                             (PFNRT)s->pDrvMount->pfnUnmount, 2, s->pDrvMount, false);
    2895                         AssertReleaseRC(rc);
     2895                        Assert(RT_SUCCESS(rc) || (rc == VERR_PDM_MEDIA_LOCKED));
    28962896                        {
    28972897                            STAM_PROFILE_START(&pCtl->StatLockWait, a);
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