VirtualBox

Changeset 24975 in vbox for trunk/src


Ignore:
Timestamp:
Nov 25, 2009 10:30:34 PM (15 years ago)
Author:
vboxsync
Message:

VMDK: Async I/O not supported for hosted sparse files. Return VERR_NOT_SUPPORTED. Fixes assertions in debug mode

File:
1 edited

Legend:

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

    r24916 r24975  
    29222922    if (RT_LE2H_U32(u32Magic) == VMDK_SPARSE_MAGICNUMBER)
    29232923    {
     2924        /* Async I/IO is not supported with these files yet. So fail if opened in async I/O mode. */
     2925        if (uOpenFlags & VD_OPEN_FLAGS_ASYNC_IO)
     2926        {
     2927            rc = VERR_NOT_SUPPORTED;
     2928            goto out;
     2929        }
     2930
    29242931        /* It's a hosted single-extent image. */
    29252932        rc = vmdkCreateExtents(pImage, 1);
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